Start a new topic

API Update Ticket with Service Request

If I want to update a Service Request item. 

with the following



  "priority" : 1,

  "status" : 2



But when I run my code I get this....

Invoke-RestMethod : {"description":"Validation failed","errors":[{"field":"type","message":"It should be one of these values: 'Incident'","code":"invalid_value"}]}


I don't want to update the "type" field because it is already set to 
"type": "Service Request", if I change this to "type": "Incident",
It works but lose all information on the Item.
If I add "type": "Service Request" to the code it does not work.... 

Does someone know how to bypass the error.... Or another workaround?
@Fresh please update you're API....

Hi Sjoerd,

Looks you are using API V2 to update a Service Request and it fails as API V2 doesn't support Service items. We are enhancing the API V2 across all the modules and should be available in the nearest updates. You can make use of API V1 for Service items. 

Hope this sounds helpful. 


I just tried to update a Service Request like Sjoerd. I cannot use API V1 and V2 doesn't support this function still.

Is there any Update?


Login or Signup to post a comment
JS Bin