Api

<back to all web services

Submit

Submit metodu birden fazla numaraya aynı içerikli kısa mesaj gönderimi için kullanılmaktadır.

REST Paths

The following REST paths are available for this service.

All Verbs /api/xml/reply/Submit
All Verbs /api/json/reply/Submit
All Verbs /xml/reply/Submit
All Verbs /json/reply/Submit

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/Submit HTTP/1.1 
Host: gw.barabut.com 
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"}}}