GreenBox-NoBG-O

دانلود رایگان

EN

Pagination

Some API methods allows bulk fetches. These list API methods share a common JSON structure with resource name array and meta pagination description. Query parameters page, pageSize are available to browse the list.
  • Minimum per_page: 1
  • Maximum per_page: 100
  • Default per_page: 100
  • Default current_page: 1
Example:
GET https://api.forbix.ir/openapi/v1/accounting/coa/list&PER_PAGE=20&CURRENT_PAGE=1
per_page 20
current_page 1
				
					{
  "transactions": [{...}],
  "meta": {
    "current_page": 1,
    "next_page": 2,
    "prev_page": null,
    "total_pages": 3,
    "total_count": 210,
    "per_page": 100
  }
}