Api

<back to all web services

GetSettings

GetSettings Parameters:
NameParameterData TypeRequiredDescription
CredentialqueryCredentialNo
MessageIdquerylongNo
Credential Parameters:
NameParameterData TypeRequiredDescription
UsernameformstringNo
PasswordformstringNo
GetSettingsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformGetSettingsReturnResponseNo
GetSettingsReturnResponse Parameters:
NameParameterData TypeRequiredDescription
StatusformStatusNo
SettingsformSettingsNo
Status Parameters:
NameParameterData TypeRequiredDescription
CodeformintNo
DescriptionformstringNo
Settings Parameters:
NameParameterData TypeRequiredDescription
BalanceformBalanceNo
SendersformList<Sender>No
KeywordsformList<Keyword>No
OperatorSettingsformOperatorSettingsNo
Balance Parameters:
NameParameterData TypeRequiredDescription
LimitformintNo
MainformintNo
Sender Parameters:
NameParameterData TypeRequiredDescription
ValueformstringNo
DefaultformboolNo
Keyword Parameters:
NameParameterData TypeRequiredDescription
ServiceNumberformstringNo
ValueformstringNo
TimestampformDateTimeNo
ValidityformintNo
OperatorSettings Parameters:
NameParameterData TypeRequiredDescription
AccountformAccountNo
MSISDNformstringNo
VariantIdformstringNo
ServiceIdformstringNo
UnitPriceformdecimalNo
Account Enum:
Postpaid
Prepaid

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?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/reply/GetSettings HTTP/1.1 
Host: gw.mobilisim.com 
Accept: application/json
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}}}}