curl --location --globoff 'https://.daftra.com/api2/treasuries/12.json' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"code": 200,
"result": "successful",
"data": {
"Treasury": {
"id": 12,
"staff_id": 0,
"name": "Main Treasury",
"type": 1,
"type_name": null,
"type_account_number": null,
"active": 0,
"is_primary": 0,
"description": "",
"currency_code": "USD",
"metainfo": null,
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06"
}
}
}