| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Credential | query | Credential | No | |
| MessageId | query | long | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Username | form | string | No | |
| Password | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Response | form | GetSettingsReturnResponse | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Status | form | Status | No | |
| Settings | form | Settings | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Code | form | int | No | |
| Description | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Balance | form | Balance | No | |
| Senders | form | List<Sender> | No | |
| Keywords | form | List<Keyword> | No | |
| OperatorSettings | form | OperatorSettings | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Limit | form | int | No | |
| Main | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Value | form | string | No | |
| Default | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServiceNumber | form | string | No | |
| Value | form | string | No | |
| Timestamp | form | DateTime | No | |
| Validity | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Account | form | Account | No | |
| MSISDN | form | string | No | |
| VariantId | form | string | No | |
| ServiceId | form | string | No | |
| UnitPrice | form | decimal | No |
| 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
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}}}}