Api

<back to all web services

SendInstantSms

HTTP + JSON

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

POST /json/syncreply/SendInstantSms HTTP/1.1 
Host: api.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","ToMsisdns":[{"Msisdn":0,"Name":"String","Surname":"String","CustomField1":"String"}],"ToGroups":[0],"IsCreateFromTeplate":false,"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"}}