SMS Api

<back to all web services

SubmitForReport

HTTP + JSON

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

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

{"Credential":{"Username":"String","Password":"String"},"DataCoding":"Default","Header":{"From":"String","ValidityPeriod":0},"Message":"String","To":["String"]}
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"}]}}}