POST /TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}
Servers
- https://api.xero.com/api.xro/2.0
Path parameters
Name | Type | Required | Description |
---|---|---|---|
TrackingCategoryID |
String | Yes |
Unique identifier for a TrackingCategory |
TrackingOptionID |
String | Yes |
Unique identifier for a Tracking Option |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
xero-tenant-id |
String | Yes |
Xero identifier for Tenant |
Idempotency-Key |
String | No |
This allows you to safely retry requests without the risk of duplicate processing. 128 character max. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
TrackingCategoryID |
String | No |
Filter by a tracking category e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
Name |
String | No |
The name of the tracking option e.g. Marketing, East (max length = 100) |
Status |
String | No |
The status of a tracking option Possible values:
|
TrackingOptionID |
String | No |
The Xero identifier for a tracking option e.g. ae777a87-5ef3-4fa0-a4f0-d10e1f13073a |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.