Hi everyone!
I saw a video on Merakis YouTube channel about creating action batches using Postman. I tried following their guide but keep getting an error when putting more than one "operation" in the code. It can run one at a time but cannot do multiple. For example, this one works fine;
{ "confirmed": true, "synchronous": false, "actions": [ { "resource": "/networks/L_ABCDEFGHIJKLM/devices/", "operation": "claim", "body": { "serial": "ABCD-EFGH-IJKL" } } ] }
but this one below does not;
{ "confirmed": true, "synchronous": false, "actions": [ { "resource": "/networks/L_ABCDEFGHIJKLM/devices/", "operation": "claim", "body": { "serial": "ABCD-EFGH-IJKL" } }, { "resource": "/networks/L_ABCDEFGHIJKLM/devices/", "operation": "claim", "body": { "serial": "ABCD-EFGH-IJK2" } } ] }
Any ideas why? Also I should mention I'm a beginner. Thanks for any help in advance!
No comments:
Post a Comment