- Products
- Solutions
GET /hlr/{id}
Endpoint URL: https://api.affiliate-sms.com/hlr/{id}
Where {id} – ID of the entry received from the method /hlr/create
GET /hlr/reference/{reference}
Endpoint URL: https://api.affiliate-sms.com/hlr/{reference}
Where {reference} – the message external ID
In the response, a JSON will be received having approximately the following structure:
{
"id":"34298934543",
"reference":"1234567",
"msisdn":"380932990000",
"network":"unknown",
"status":"unknown",
"details":{"ported":"0","roaming":"0"},
"createdDatetime":"2015-08-04T06:50:19+00:00",
"statusDatetime":"2015-08-04T06:50:19+00:00"
}
Or, in case of error:
{
"error":"10",
"errorDescription":"HLR not found"
}