Table of Contents [Hide/Show]
Gateway connect information Endpoint URL SSL CertificatesPolling Services Overview AuthenticationREST methods Poll AckExample requests Polling MO with no ack required Polling MO with ack required Polling DR with no ack required Polling DR with ack required Other Example error response
POST /api/output/rest/{payloadtype}/gateway/{userid}?ackrequired=true|false
PUT /api/output/rest/{payloadtype}/gateway/{userid}/ack/{reference}
POST https://poll.pswin.com/api/output/rest/mo/gateway/myuser?ackrequired=false Authorization: Basic kja934msf99w3==
200 OK Content-Type: application/json { "sender": "4712345678", "receiver": "1234", "text": "Some text", "operatorTimestamp": "2017-11-08T13:37:00Z", "reference": "7e5ac56a-4c79-6e8a-6431-24ac84f49fe2" }
POST https://poll.pswin.com/api/output/rest/mo/gateway/myuser?ackrequired=true Authorization: Basic kja934msf99w3==
PUT http://poll.pswin.com/api/output/rest/mo/gateway/myuser/ack/7e5ac56a-4c79-6e8a-6431-24ac84f49fe2 Authorization: Basic kja934msf99w3==
204 No Content Content-Type: text/html
POST https://poll.pswin.com/api/output/rest/dr/gateway/myuser?ackrequired=false AUTHORIZATION: BASIC kja934msf99w3==
200 OK Content-Type: application/json { "receiver": "4712345678", "state": "DELIVRD", "operatorTimestamp": "2017-11-08T13:37:00Z", "reference": "7e5ac56a-4c79-6e8a-6431-24ac84f49fe2" }
POST https://poll.pswin.com/api/output/rest/dr/gateway/myuser?ackrequired=true Authorization: Basic kja934msf99w3==
PUT http://poll.pswin.com/api/output/rest/dr/gateway/myuser/ack/7e5ac56a-4c79-6e8a-6431-24ac84f49fe2 Authorization: Basic kja934msf99w3==
404 Not Found Content-Type: application/json { "statusCode": 404, "message": "The resource you have requested cannot be found.", "details": "Error details are currently disabled." }