10.11.2013 Views

Sendega API documentation.pdf - GetACoder

Sendega API documentation.pdf - GetACoder

Sendega API documentation.pdf - GetACoder

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DELIVERY REPORTS<br />

All messages are delivered with status codes from the various telecom operators. Delivery reports can be either posted<br />

automatically to an external URL, or requested.<br />

DLR ‐ POST<br />

The following parameters will be POSTED to an external URL. This URL must be added on our customer pages.<br />

Parameter Type Default value M/O* Max length Description<br />

msgid Integer ‐ M 5 Unique messageid<br />

recipient Integer M 16 Recipients MSISDN<br />

statusid Integer M 2 4=Delivered, 5=Not delivered<br />

registered String M 25 When message was registered at<br />

<strong>Sendega</strong>.com Format: YYYY‐MM‐DD<br />

HH:MM:SS.MII<br />

sentdate String M 25 When message was sent to operator<br />

Format: YYYY‐MM‐DD<br />

HH:MM:SS.MII<br />

statusUpdated String M 25 When message was updated with<br />

DLR from operator. Format: YYYY‐<br />

MM‐DD HH:MM:SS.MII<br />

revenue String M 10 Payout or cost value in NOK<br />

errorcode String M 250 Short errorcode from operator<br />

errordescription String M 1000 Long errodescription if error.<br />

mcc Integer M 5<br />

Mobile country code.<br />

mnc Integer M 5<br />

Mobile network code. (Operator)<br />

network String M 50 Mobile network name<br />

countrycode String M 5 Countrycode. Ex. Norway=47<br />

customermsgid Integer M<br />

* M = Mandatory, O = Optional<br />

All mcc and mnc codes are available as CSV documents at http://www.sendega.com<br />

DLR ‐ REQUEST<br />

Parameter Type Default value M/O* Max length Description<br />

CID Integer ‐ M 5 Customer ID for identification<br />

Password String ‐ M 20 Customer password for<br />

identification<br />

Msgid String ‐ M ‐ The unique <strong>Sendega</strong> msgid returned<br />

when sending message. Multiple<br />

msgid’s must be comma separated.<br />

Reporttype String XML O 3 Delivery reports can be returned as<br />

CSV or XML.<br />

* M = Mandatory, O = Optional<br />

12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!