GET api/InstantSMS/{id}/{status}
Returns your SMS request, 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 | It is the status for filter your request | yes |
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 Application/json, Text/json
{ "SmsProviderCode": "", "ListSms": [ { "Id": 155986, "SMSText": "SMS Sent1, "DateSent": "2018-03-30T10:36:36+01:00", "Price": 1.35, "Number": "+39....", "SmsProviderCode": "high", "Status": 1, "SMSSender": "cpne", "DateStartToSend": "2018-03-30T10:36:15+01:00", "DateCreated": "2018-03-30T10:36:15+01:00", "DateModify": "2018-03-30T10:36:36+01:00", "CodeRequest": "d5aa728e-e6fd-4505-a23c-ba251b0c1d3f" }, { "Id": 155987, "SMSText": "SMS Sent2", "DateSent": "2018-03-30T10:36:37+01:00", "Price": 1.35, "Number": "+39.....", "SmsProviderCode": "high", "Status": 1, "SMSSender": "cpne", "DateStartToSend": "2018-03-30T10:36:15+01:00", "DateCreated": "2018-03-30T10:36:15+01:00", "DateModify": "2018-03-30T10:36:37+01:00", "CodeRequest": "d5aa728e-e6fd-4505-a23c-ba251b0c1d3f" } ] }