GET SendSimpleSMS?Userkey={Userkey}&Password={Password}&MSISDN={MSISDN}&Operation={Operation}&MessageData={MessageData}&Originator={Originator}&LifeTime={LifeTime}&DeferredDeliveryTime={DeferredDeliveryTime}&TransactionReferenceNumber={TransactionReferenceNumber}

Sends out one SMS with the used settings. For more advanced functionalities use the operation 'ASPSMSSendSMS'

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Userkey

Userkey of the account

string

Default value is

Password

Password of the account

string

Default value is

MSISDN

MSISDN to which the SMS is sent.

string

Default value is

Operation

Operation which should be invoked. Example: SendTextSMS

string

Default value is

MessageData

MessageBody of the SMS

string

Default value is

Originator

Originator of the SMS. Originator can be either numeric or alphanumeric (11 chars)

string

Default value is

LifeTime

Validityperiod in minutes

integer

Default value is 0

DeferredDeliveryTime

If empty, SMS will be sent immediately. If specified, SMS will be sent on particular Date/Time. Example: 06/30/2019 18:32:00

date

None.

TransactionReferenceNumber

TransactionReferenceNumber, if specified with this parameter can be queried about the delivery result of the SMS

string

None.

Body Parameters

None.

Response Information

Resource Description

ServerResult
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorDescription": "sample string 2"
}

application/xml, text/xml

Sample:
<ServerResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASPSMSWebAPI.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorDescription>sample string 2</ErrorDescription>
</ServerResult>