Retrieve Tracking Category
GET/accounting/tracking-categories/:id
Retrieve a Tracking Category with the given id.
Request
Path Parameters
id stringrequired
The ID of the tracking category.
Query Parameters
credentialId stringrequired
The ID of the credential.
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
trackingCategory
object
id string
remoteId string
trackingCategoryName string
trackingCategoryStatus string
trackingCategoryType string
parentCategoryId
companyId
remoteDeleted boolean
Default value: true
createdAt string
updatedAt string
{
"trackingCategory": {
"id": "00000000-0000-0000-0000-00000000",
"remoteId": "5000000000000243015",
"trackingCategoryName": "Test Class 1",
"trackingCategoryStatus": "ACTIVE",
"trackingCategoryType": "CLASS",
"parentCategoryId": {},
"companyId": {},
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:32.963Z",
"updatedAt": "2024-02-22T13:53:25.986Z"
}
}
{
"trackingCategory": {
"id": "00000000-0000-0000-0000-00000000",
"remoteId": "5000000000000243015",
"trackingCategoryName": "Test Class 1",
"trackingCategoryStatus": "ACTIVE",
"trackingCategoryType": "CLASS",
"parentCategoryId": null,
"companyId": null,
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:32.963Z",
"updatedAt": "2024-02-22T13:53:25.986Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...