Push data
It is possible to use data from an external survey system.
Push survey data for a ticket
POST
https://account.omnidesk.com/api/v2/survey/ticketSurvey
Either ticketID or a randomTicketID needs to be specified.
Request Body
surveyServer
string
myserver.prod.brand.com
fields[0]['value']
string
Value of a survey field
fields[0]['id']
integer
ID of a survey field
grade
integer
ticketRandomID
string
ticketID
integer
Sample CURL:
curl --request POST --url https://{{accountName}}.omnidesk.com/api/v2/survey/ticketSurvey --header 'apikey: ' {{apiKey}} --header 'content-type: multipart/form-data; boundary=---011000010111000001101001' --form surveyServer=test.test.com --form 'fields[0][value]=great support from employee' --form 'fields[0][id]=1' --form 'fields[1][value]=feedback to company' --form 'fields[1][id]=2' --form grade=9 --form ticketID=937137
Last updated