SMS Api

<back to all web services

SubmitMultiForReport

HTTP + JSON

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

POST /json/syncreply/SubmitMultiForReport HTTP/1.1 
Host: barabut.com 
Content-Type: application/json
Content-Length: length

{"Credential":{"Username":"String","Password":"String"},"Header":{"From":"String","ValidityPeriod":0},"Envelopes":[{"Message":"String","To":"String"}],"DataCoding":"Default"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Response":{"MessageId":0,"Status":{"Code":0,"Description":"String"},"ReportDetail":{"List":[{"Id":0,"Network":0,"MSISDN":"String","Cost":0,"Submitted":"0001-01-01T00:00:00.0000000","LastUpdated":"0001-01-01T00:00:00.0000000","State":"Scheduled","Sequence":0,"ErrorCode":0,"Payload":"String","Xser":"String"}]}}}