POST /api/v2/ticket_fields/{ticket_field_id}/options
Creates or updates an option for the given drop-down ticket field.
To update an option, include the id of the option in the custom_field_option
object. Example:
{"custom_field_option": {"id": 10002, "name": "Pineapples", ... }
If an option exists for the given ID, the option will be updated. Otherwise, a new option will be created.
Response
Returns one of the following status codes:
- 200 with
Location: /api/v2/ticket_fields/{ticket_field_id}/options.json
if the ticket field option already exists in the database - 201 with
Location: /api/v2/ticket_fields/{ticket_field_id}/options.json
if the ticket field option is new
Allowed For
- Admins
Rate Limit
You can make 100 requests every 1 minute using this endpoint. The rate limiting mechanism behaves as described in Monitoring your request activity in the API introduction.
Field Option Limits
- 2000 options per ticket field
Servers
- https://{subdomain}.{domain}.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
ticket_field_id |
Integer | Yes |
The ID of the ticket field |
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.