GET api/InstantSMS/{id}
Returns the status of one or more SMS.
URL Request: http://login.sendservice.eu/MultiChannelAPI/Api/instantSMS/{id}
or filtered by status
URL Request: http://login.sendservice.eu/MultiChannelAPI/Api/instantSMS/{id}/{Status}
Url Parameters
Parameter | Description | Required |
---|---|---|
ID | It is the ID of your SMS request | yes |
Status | The status of SMS you want filter in your request | no |
Response Parameters
Parameter | Description | Object / Right format |
---|---|---|
user | It represents required object for the authorization | "User": { "username": "your username","password": "your password" } |
ID | It represents the ID of your single SMS. | Integer |
Price | It represents the price of your SMS. | Decimal |
Status | The status of your SMS. | Integer |
DateStartToSend | It represents date when you want to schedule your SMS | aaaa-MM-ggThh:mm:ss.SSS+UTC |
Number | Number of the SMS reciever | String (you must add prefix f.e. 0039..) |
Text | Text of your SMS | String |
SmsProviderCode | Type of the SMS provider | Insert "high" as provider code |
SmsSender | It represents the sender of your SMS | String (Max 11 characters) |
Firstname | Contact Firstname | String max 128 characters |
LastName | Contact Lastname | String max 128 characters |
CodeRequest | Unique Identification code for your request | better to send a GUID |
ListSMS | An array with SMS which have same parameters of one Sms | "ListSms": |
Example Response Application/json
Example Application/json, Text/json
{ "SmsProviderCode": "", "ListSms": [ { "Id": 155986, "SMSText": "SMS di prova ciao", "DateSent": "2018-03-30T10:36:36+02:00", "Price": 1.35, "Number": "+393....", "SmsProviderCode": "high", "Status": 1, "SMSSender": "SENDService", "DateStartToSend": "2018-03-30T10:36:15+02:00", "DateCreated": "2018-03-30T10:36:15+02:00", "DateModify": "2018-03-30T10:36:36+02:00", "CodeRequest": "d5aa728e-e6fd-4505-a23c-ba251b0c1d3f" }, { "Id": 155987, "SMSText": "Your SMS Text", "DateSent": "2018-03-30T10:36:37+02:00", "Price": 1.35, "Number": "+39....", "SmsProviderCode": "high", "Status": 1, "SMSSender": "SENDService", "DateStartToSend": "2018-03-30T10:36:15+02:00", "DateCreated": "2018-03-30T10:36:15+02:00", "DateModify": "2018-03-30T10:36:37+02:00", "CodeRequest": "d5aa728e-e6fd-4505-a23c-ba251b0c1d3f" } ] }