REST Paths
The following REST paths are available for this service.
All Verbs /api/xml/reply/Query
All Verbs /api/json/reply/Query
All Verbs /xml/reply/Query
All Verbs /json/reply/Query
To override the Content-type in your clients HTTP Accept Header, append ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
HTTP + JSON
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/syncreply/Query HTTP/1.1
Host: gw.ekomesaj.com.tr
Content-Type: application/json
Content-Length: length
{"Credential":{"Username":"String","Password":"String"},"MessageId":0,"MSISDN":"String","PageIndex":0,"PageSize":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Response":{"ReportDetail":{"TotalCount":0,"List":[{"Id":0,"MessageId":0,"Network":0,"MSISDN":"String","Cost":0,"Submitted":"0001-01-01T00:00:00.0000000","LastUpdated":"0001-01-01T00:00:00.0000000","State":"String","Sequence":0,"ErrorCode":0,"Payload":"String","Xser":"String"}]},"Status":{"Code":0,"Description":"String"}}}