The web service you develop must handle an HTTP POST request, which receives JSON strings and returns a plain-text result. The following is the information required to connect the service.
URL
Defined by the client
METHOD
POST
HEADERS
Content-Type: application/json
Authorization
The service must use basic authorization with a username and password, so that it receives the authorization header Authorization: Basic [string generated with the provided credentials]
BODY
{
"messageId":[String][required],
"statusDelivery":[string][required],
"sendDate":[Long][required],
"doneDate":[Long][optional]
}
Parameters
Description
messageId
Parameter that identifies the sent MT.
Required
statusDelivery
Parameter that indicates the delivery status of the MT. Possible values:
DELIVERED: successfully delivered.
REJECTED: rejected by the carrier.
UNKNOWN: rejected by the carrier, the error code is unknown.
Required
sendDate
Parameter that indicates the date and time the MT was sent.
Required
doneDate
Parameter returned by the carrier that indicates when the MT was sent to the device or, where applicable, when it was received on the device (DLR handset)