Allows you to retrieve tracking categories and options

GET {{baseUrl}}/TrackingCategories?where=<string>&order=<string>&includeArchived=<boolean>

Request Params

KeyDatatypeRequiredDescription
wherestringFilter by an any element
orderstringOrder by an any element
includeArchivedstringe.g. includeArchived=true - Categories and options with a status of ARCHIVED will be included in the response

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant

RESPONSES

status: OK

{&quot;Id&quot;:&quot;cec55068-8061-48e5-ac83-c77e7c54cf3d&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1555085855047)/&quot;,&quot;TrackingCategories&quot;:[{&quot;Name&quot;:&quot;BarFoo&quot;,&quot;Status&quot;:&quot;ACTIVE&quot;,&quot;TrackingCategoryID&quot;:&quot;22f10184-0deb-44ae-a312-b1f6ea70e51f&quot;,&quot;Options&quot;:[]},{&quot;Name&quot;:&quot;HelloWorld&quot;,&quot;Status&quot;:&quot;ACTIVE&quot;,&quot;TrackingCategoryID&quot;:&quot;0c9fce3e-a111-4d99-803a-62cf3f40e633&quot;,&quot;Options&quot;:[]}]}