Api

<back to all web services

SendSmsByMsisdn

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/syncreply/SendSmsByMsisdn HTTP/1.1 
Host: api2.ekomesaj.com 
Content-Type: application/json
Content-Length: length

{"Credential":{"Username":"String","Password":"String","ResellerID":0},"Sms":{"SmsCoding":"String","SenderName":"String","Route":0,"ValidityPeriod":0,"Commercial":false,"SkipAhs":false,"DataCoding":"Default","IsCreateFromTeplate":false,"To":[{"Msisdn":0,"Name":"String","Surname":"String","CustomField1":"String"}],"SmsTitle":"String","SmsContent":"String","RequestGuid":"String","CanSendSmsToDuplicateMsisdn":false,"SmsSendingType":"ByNumber","ApprovedKey":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"MessageID":0,"Status":{"Code":0,"Description":"String","Message":"String"}}