REQUEST_TYPE |
This variable will be set to MTSMS_CDR. |
TIMESTAMP |
The date and time the HTTP request was created in yyyy-mm-dd HH:mm:ss format. This time stamp is used for the API CDR records. |
MESSAGE_DATE |
This variable will contain the date and time of the SMS in yyyy-mm-dd HH:mm:ss format. |
TRANSACTIONID |
This variable will be set to a numerical value by our system. The ID is used to track the HTTP request through the Cloud9 system. |
CDR_ID |
This variable will contain a unique ID which has been assigned to the CDR. |
CARRIERID |
This variable will contain the carrier ID that has been assigned to you for use with our API. |
MCC |
This variable will contain (if the data is available) the MCC country code of where the subscriber is located. For example 234 for the UK. |
MNC |
This variable will contain (if the data is available) the MNC operator code (The network name that the subscriber is logged onto). For example 18 for the Wire9 Network. |
IMSI |
This variable will contain the IMSI of the subscriber who has made the outbound SMS request. |
MSISDN |
This variable will contain the MSISDN of the subscriber who has made the outbound SMS request. |
SMSC |
This variable will contain the SMSC address of where the SMS was routed though to reach the Cloud9 network. The SMSC number will be in full international format prefixed with a '+' (so for the UK you will see +44xxx) |
SRCGT |
This variable will contain the SRCGT address of where the SMS originated from. This variable can be the senders CLI or the senders SMSC CLI. The SRCGT number will be in full international format prefixed with a '+' (so for the UK you will see +44xxx) |
SMSFROM |
This variable will contain the senders MSISDN. The SMSFROM number will be in full international format prefixed with a '+' (so for the UK you will see +44xxx) |
ROUTE |
This variable will contain information on how the SMS was routed within the Cloud9 SMSC. The default for this variable is normal. |
ALLOW |
This variable if set to 0 (zero) will mean that the SMS was rejected and was not sent, if set to 1 (one) then the SMS was routed and sent successfully. |
RESELLER_CHARGE |
This variable will contain the reseller charge (your charge) in 0.00 format. The currency will be in your system default currency. |
CLIENT_CHARGE |
This variable will contain the client charge (your clients charge) in 0.00 format. The currency will be in your system default currency. |
USER_CHARGE |
This variable will contain the user charge (your users charge) in 0.00 format. The currency will be in your system default currency. |
IOT |
If the user is in an IOT chargeable country then this variable will be set to 1 else this variable will be set to 0 |
USER_BALANCE |
This variable will contain the users balance after charges have been deducted (your users charge) in 0.00 format. The currency will be in your system default currency. |
When a MOSMS_CDR request is sent to your server your server is required to respond like so:
If our server is unable to process the request or a system error occurs we will send back a formatted XML
error message like so stating what error occurred within the <Error_Message></Error_Message> tag: