GET All Journal Cats
Production
https://{{subdomain}}.daftra.com/api2
Production
https://{{subdomain}}.daftra.com/api2
GET
https://{{subdomain}}.daftra.com/api2
Journal Cats
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://.daftra.com/api2/journal_cats' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
"code": 200,
"result": "successful",
"data": [
{
"JournalCat": {
"id": 0,
"code": "11101",
"name": "string",
"is_recalculated": true,
"last_transaction_update": "2018-05-10 00:42:00",
"entity_type": "client",
"entity_id": "string",
"journal_cat_id": "11101",
"parent_cat_ids": "17,18",
"type": "0",
"staff_id": 0,
"total_debit": 0,
"total_credit": 0,
"disabled": true,
"color": "",
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06"
}
}
],
"pagination": {
"prev": "/api2/clients/?page=1",
"next": "/api2/clients/?page=3",
"page": 2,
"page_count": 5,
"total_results": 98
}
}
Request
Path Params
format
stringÂ
required
Query Params
limit
integerÂ
optional
>= 1<= 1000
Default:
20
page
integerÂ
optional
>= 1
Default:
1
Header Params
Accept
stringÂ
optional
Default:
application/json
Content-Type
stringÂ
optional
Default:
application/json
Authorization
stringÂ
optional
Default:
Bearer {{access_token}}
apikey
stringÂ
deprecated
Default:
{{apikey}}