Forum Discussion

Ben211's avatar
Ben211
New Member
8 years ago

How do you update additional-values with an API(v1) "PUT"

I have an additional value of Derived-Priority-Score

That is of type Integer.

Using the v1 API I have tried an update...:
BODY = "{ ""incident"":{ ""notify_watchlisted"":0, ""notify_customer"":0, ""additional_values"":[ {""Derived_Priority_Score"":999} ] } }"


However this does not seem to be the correct syntax and there is no guideline in the GTA-API documentation.

  • I have managed to get it working with the following syntax: (written in VBS so "" relates to " when sent)

    BODY = "{ ""incident"":{ ""priority_id"":1249847371927527504, ""additional_values"":{""Derived Priority Score"":999} } }"