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

ParameterDescriptionRequired
ID

It is the ID of your SMS request

yes
StatusIt is the status for filter your requestyes

Response Parameters

Parameter
Description
Object / Right format

user

It represents required object for the authorization  

"User": {

"username": "your username",
"password": "your password"
}
IDIt represents the ID of your single SMS.Integer
PriceIt represents the price of your SMS.Decimal
StatusThe 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 SMSString

SmsProviderCode

Type of the SMS provider Insert "high" as provider code
SmsSenderIt represents the sender of your SMSString (Max 11 characters)
FirstnameContact FirstnameString max 128 characters
LastNameContact LastnameString max 128 characters
CodeRequest

Unique Identification code for your request

better to send a GUID
ListSMSAn array with SMS which have same parameters of one Sms

"ListSms":
[ { "SMSText": "Hello, this is your SMS text!",
"Number": "0039.......",
"SmsProviderCode": "high",
"SMSSender": "Sendername",
"DateStartToSend": "2018-03-22T15:39:06.0554209+01:00",
"CodeRequest": ""
}

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"
        }
    ]
}