Software Update Setting

UPDATE PBX's Software

post
/rest/system/swupdate

Example:

Request:

curl -u username:password -D - http://192.168.1.194:8080/rest/system/swupdate -X POST -d "{ 'url':'http://vodia.com/downloads/pbx/version-58.1.xml' }" 

Response for all th requests:

Response Code Description
Success 200 OK
Invalid ID supplied 400 Only authenticated a Admins can access the data
Permission Denied 403 Forbidden
Not Found 404 The id of the User was not found or there are errors in the URL.