Definition

POST http://app.bsg.hk/xml/stat

Required parameters

Parameter Description
login value username
password value SMPP/API-password
id_sms An unique random ID which is created on the BSG platform. Required

Example request

<?xml version = "1.0" encoding = "utf-8"?>
<request>
<get_state>
<id_sms>202</id_sms>
<id_sms>203</id_sms>
<id_sms>204</id_sms>
</get_state>
<security>
<login value = "login"/>
<password value = "password"/>
</security>
</request>

Returns

Returns an XML document with message state if the request was successful. If the request failed, an error will be returned.

Parameter Description
raw_value Message status according to SMPP 3.4 specification
id_sms An unique random ID which is created on the BSG platform.
time Status time. For some values may be empty.

Example response

<?xml version = "1.0" encoding = "utf-8"?>
<response>
<state raw_value = "0" id_sms = "202" time = "">partly_deliver</state>
<state raw_value = "0" id_sms = "203" time = "">partly_deliver</state>
</response>
Menu