Argos API Write Async

I have been successful in implementing nearly all of the API calls (including live writes). I am struggling with the WriteSystemValuesAsyncStart command. The documentation has a conflict between the URL example and the script examples. The URL does not show the &id section, but the script does. I assume the script is correct?

Here is some debug from my code that fails:[accesskey]&id=IPS5_LIFEGUARD_TIDE
“Content-type” : “application/json”

I don’t get any response because the system is rejecting the call.

Can you confirm the syntax for this call?

Hello @ToddMalone,

Is not required it is only needed in the body. I tested with and with out the ID along with incorrect ID’s and i get a valid response each time. Here is a and example via Postman to a demo device to verify. With postman installed you can import them by pasting the link in the section shown below.

What is the http error response you are getting? I am thinking you don’t need the square brackets “[” & “]” surrounding your json data.

PUT /operation/v1/rest/json/system/003011FAC6DA/live/async?accesskey=BB31204017D1BB0AE95F1BC6185AF13B& id=112915.0.220265 HTTP/1.1
Content-Type: application/json
User-Agent: PostmanRuntime/7.19.0
Accept: /
Cache-Control: no-cache
Postman-Token: 4dd01a40-7ad6-404d-912b-f1dd156340ba,b82cea7f-e241-45d0-96a7-e86f3cb75df1
Accept-Encoding: gzip, deflate
Content-Length: 43
Connection: keep-alive
cache-control: no-cache

“id”: “112915.0.220265”,
“value”: “0”

Topic closed due to inactivity.