Follow

Tip: Example using container/update web service

This is an example of a JSON formatted request to update a container (your serial numbers will be different):

#!/bin/sh

curl -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X \
POST -d '{
"username": "your_user_name_here",
"password": "your_password_here",
"containerDetail": {
"name": "container 3",
"serialNumber": 600008,
"type": "test",
"departmentName":null,
"comment": "created via api",
"commentVisible": false,
"actionProfileSerialNumber": -1,
"severityRule":null,
"rules":null,
"members":[
   {
        "serialNumber":1180009,
        "type":"test",
        "containerName":"",
        "deviceName":"malmo router",
        "testName":"System Uptime"
   }
 ],
"readOnly":false,
"useMessageEvents":false,
"smartNotify":false
}
}' https://traverse_server/api/json/admin/container/update

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.