Api

<back to all web services

GetSettings

REST Paths

The following REST paths are available for this service.

All Verbs /api/xml/reply/GetSettings
All Verbs /api/json/reply/GetSettings
All Verbs /xml/reply/GetSettings
All Verbs /json/reply/GetSettings

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/syncreply/GetSettings HTTP/1.1 
Host: gw.barabut.com 
Content-Type: application/json
Content-Length: length

{"Credential":{"Username":"String","Password":"String"},"MessageId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Response":{"Status":{"Code":0,"Description":"String"},"Settings":{"Balance":{"Limit":0,"Main":0},"Senders":[{"Value":"String","Default":false}],"Keywords":[{"ServiceNumber":"String","Value":"String","Timestamp":"0001-01-01T00:00:00.0000000","Validity":0}],"OperatorSettings":{"Account":"Postpaid","MSISDN":"String","VariantId":"String","ServiceId":"String","UnitPrice":0}}}}