Allows you to retrieve tracking categories and options
GET {{baseUrl}}/TrackingCategories?where=<string>&order=<string>&includeArchived=<boolean>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
where | string | Filter by an any element | |
order | string | Order by an any element | |
includeArchived | string | e.g. includeArchived=true - Categories and options with a status of ARCHIVED will be included in the response |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant |
RESPONSES
status: OK
{"Id":"cec55068-8061-48e5-ac83-c77e7c54cf3d","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1555085855047)/","TrackingCategories":[{"Name":"BarFoo","Status":"ACTIVE","TrackingCategoryID":"22f10184-0deb-44ae-a312-b1f6ea70e51f","Options":[]},{"Name":"HelloWorld","Status":"ACTIVE","TrackingCategoryID":"0c9fce3e-a111-4d99-803a-62cf3f40e633","Options":[]}]}