Edit Journal Cats
Production
https://{{subdomain}}.daftra.com/api2
Production
https://{{subdomain}}.daftra.com/api2
PUT
https://{{subdomain}}.daftra.com/api2
Journal Cats
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://.daftra.com/api2/journal_cats/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"JournalCat": {
"code": "11101",
"name": "string",
"is_recalculated": true,
"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": ""
}
}'
Response Response Example
200 - Example 1
{
"code": 200,
"result": "successful"
}
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}}
Body Params application/json