Update an exisiting branch
PUT/qsystem/rest/config/branches/:branchId
Update an exisiting branch
curl -u user:password -i -X PUT -H 'content-type:application/json'
-d '{"id":7,"name":"Branch 6","branchPrefix":"BRS",
"operationProfileId":1,"equipmentProfileId":50
"enabled":true, "description":"","timeZone":"Europe/Paris",
"agentId":"central",
"mobileEnabled":false,
"branchParameters":[
{"key":"label.latitude","value":"10"},
{"key":"label.longitude","value":"11.567"},
{"key":"label.reset.time","value":"23:00"},
{"key":"label.country","value":null},
{"key":"label.address3","value":null},
{"key":"label.postcode","value":null},
{"key":"label.city","value":null},
{"key":"label.address1","value":null},
{"key":"label.address2","value":null}]}'
http://orchestra-host:orchestra-port/qsystem/rest/config/branches/7
Request
Responses
- 204
A Branch