delivery SMS JSON - PUSH
Description
Delivery status of sent SMS
Functionality
Sent SMS statuses are automatically sent to Callback URL as JSON object using HTTP POST.
One Request = One status
One Request = One status
Request
{
"id": 123,
"received": "2014-02-01 22:59:00",
"status": "delivered",
"operator": 23101,
"price": 0.03,
"parts": 1
}
{
"id": 123,
"received": "2014-02-01 22:59:00",
"status": "undeliverable",
"operator": 23101,
"price": null,
"parts": 1
}
{
"id": 123,
"received": "2014-02-01 22:59:00",
"status": "expired",
"operator": 23101,
"price": 0.06,
"parts": 2
}
Parameter | Type | Description |
---|---|---|
id |
int64 | unique ID of sent MT SMS |
received | timestamp | delivery report timestamp |
status | string(50) | delivered - message delivered, undeliverable - message not delivered, waiting - waiting for status, expired - message not delivered/expired |
operator | int32 | Operator code - 23101 Orange SK, 23102 Telekom SK, 23103 4rka SK, 23106 O2 SK, 23000 CZ, 0 others |
price | decimal | Message price (Message can be divided into several multipart SMSs). null, if price not configured. |
parts | int32 | Count of multipart SMSs. |
Response
Status is delivered if server responds with HTTP status 200.
Versions
Version | Date | Description |
---|---|---|
2.0 | 23.10.2014 | initial version |