GET Single Journal
Production
https://{{subdomain}}.daftra.com/api2
Production
https://{{subdomain}}.daftra.com/api2
GET
https://{{subdomain}}.daftra.com/api2
Journals
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://.daftra.com/api2/journals/' \
--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": {
"Journal": {
"id": 0,
"number": "0700000AAAAA0001",
"staff_id": 0,
"date": "2018-05-10 00:42:00",
"name": "string",
"entity_type": "invoice",
"entity_id": "string",
"is_automatic": true,
"description": "string",
"total_debit": 0,
"total_credit": 0,
"currency_code": "USD",
"currency_credit": 0,
"currency_debit": 0,
"alter_description": "string",
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06",
"JournalTransaction": [
{
"id": 0,
"journal_id": "11101",
"debit": 0,
"credit": 0,
"currency_debit": 0,
"currency_credit": 0,
"currency_code": "USD",
"currency_rate": 0,
"subkey": "client",
"description": "string",
"journal_account_id": "string",
"alter_description": "string",
"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
id
stringÂ
required
format
stringÂ
required
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}}