Recent searches
No recent searches
Unable to set ticket_form_id via REST API
Answered
Posted Mar 23, 2021
Hey there, I am trying to create request via REST API; the request is created but the ticket_form_id is not set.
here's request example:
{"request": {"subject": "[subject]","comment": {"body": "comment", "ticket_form_id":[int_ticket_form_id]}}}
0
8
8 comments
Sushant A
Hi @...,
ticket_form_id should be part of the request object rather than the comment object.
Please try with this restructured code.
Hope this helps!!!
-sushant
0
Cancelled Mohamed T. Ibrahim
Hey @... I followed the structure you suggested but still not set.
0
Sushant A
@...
Can you confirm if the form is enabled for end-users?
0
Cancelled Mohamed T. Ibrahim
@...
Yes it's enabled for end user
0
Sushant A
@...
This is strange,
I am not sure what else preventing it.
0
Juraj Jarmek
Hi @...,
Please note that setting the ticket_form_id is only applicable for enterprise accounts, and I have checked your account and you are unfortunately not on Enterprise, that is why it is not working.
For more info:
Requests API.
Have a great day and stay safe!
1
Ryan Pagaduan
Hello everyone,
I have same issue here; I try to input below but I'm getting an error
I not sure if mine is an enterprise acc. but the company gave me admin access to gcash1590118273.zendesk.com sandbox acc.
0
Nara
If you are still having trouble, I would recommend reaching out to our support directly so that we can more specifically assist in your API request.
0