UK SMS HTTP
Request parameters and examples
Mobile Operator Lookup request parameters
Parameter |
Description |
|||||
---|---|---|---|---|---|---|
msisdn |
Mobile phone number. No leading "+" is required. UK example: 447700900765 US example: 12515550123 Required: Yes |
|||||
note |
Note that will be stored in the billing record for the request. This is a text string of up to 160 characters in length. Required: No Default: No default |
|||||
response |
Specifies the format of the response from OpenMarket. Required: No Default: simple text |
|||||
|
||||||
subaccount |
Sub account that will be stored in the billing record. This is a text string of up to 10 characters in length. Required: No Default: No default |
Example requests
Sample request that returns a response in a simple text format
UK Example
https://operator.openmarket.com/operator/v1/operator?msisdn=447700900765
US Example
https://operator.openmarket.com/operator/v1/operator?msisdn=12515550123
Sample request that will retrun the response as XML
This request will also add subaccount text to the billing record for the request.
UK Example
https://operator.openmarket.com/operator/v1/operator?msisdn=447700900765&response=xml&subaccount=service+A
US Example
"https://operator.openmarket.com/operator/v1/operator?msisdn=12515550123&response=xml&subaccount=service+A