Unable to set ticket_form_id via REST API

Respondida

8 Comentários

  • Admin
    Community Moderator

    Hi @...,

     ticket_form_id should be part of the request object rather than the comment object.

    Please try with this restructured code.

    {
    "request": {
    "subject": "[subject]",
    "comment": {
    "body": "comment"
    },
    "ticket_form_id": [int_ticket_form_id]
    }
    }

     

     

    Hope this helps!!!

    -sushant

    0
  • Cancelled Mohamed T. Ibrahim

    Hey @...  I followed the structure you suggested but still not set.

    0
  • Admin
    Community Moderator

    @...

    Can you confirm if the form is enabled for end-users?

    0
  • Cancelled Mohamed T. Ibrahim

    @...

    Yes it's enabled for end user 

    0
  • Admin
    Community Moderator

    @...

    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

    // not working - request error
    "ticket_form_id": [int_ticket_form_id]

    I not sure if mine is an enterprise acc. but the company gave me admin access to gcash1590118273.zendesk.com sandbox acc. 

    // not working - request success but not set
    "ticket_form_id": int_ticket_form_id
    0
  • Nara
    Hi Ryan, similar to the previous comment, please ensure you are sending the ticket_form_id within the request body, rather than the comment body. For reference, an example of a request with the ticket_form_id can be found on the Request API Doc page here.
     
    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

Por favor, entrar para comentar.

Powered by Zendesk