The url to access the route api is
https://<PABX HOST>/servicemanager/rest/RouteAPI/updateRoute
Arguments are:
enabled (true/false)
title
description
brand
did
apiKey
enabled takes true/false
title, description and brand take any text (URL encoded of course)
A route will be matched on the 'did', if there is exactly 1 route for the 'did' the update will take place and you will receive 'OK'.
if there are 0 or more than 1 routes no update will occur and you will recieve a message like
Can not perform the requested operation, there are 0 routes for DID 410
a valid call to the route API looks like this....
https://127.0.0.1/servicemanager/rest/RouteAPI/updateRoute?enabled=false&title=abc123& apiKey=f863246a-973e-11e6-8784-08002718f5b5&description=abc123&brand=abc123&did=410