REST Paths
The following REST paths are available for this service.
All Verbs /api/xml/reply/SubmitOtp
All Verbs /api/json/reply/SubmitOtp
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/SubmitOtp HTTP/1.1
Host: gw.ekomesaj.com.tr
Content-Type: application/json
Content-Length: length
{"Credential":{"Username":"String","Password":"String"},"DataCoding":"String","Commercial":false,"RecipientType":0,"SkipAhs":false,"Header":{"From":"String","Route":0},"Message":"String","To":"String","CustomId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Response":{"MessageId":0,"Status":{"Code":0,"Description":"String"}}}