Get the type of fields from the API

 Hi all,

I retrieved all the ticket fields thanks to the following call :


but we don't get the type of each field.

When creating a new ticket by passing these fields, we get the following error message:

"Value set is of type String.It should be a/an Integer"

Can we retrieve this information ?



1 Comment

Hello Hugo,

The API response bears the type of each ticket field associated with the variable type.The system fields like agent, source, priority will have the values as default_source, default_priority and the custom ticket fields will be mentioned as custom_dropdown where dropdown denotes the type of the field.

You can find the type for the default fields here.


Login or Signup to post a comment