DeliveryReport is one of the types in the
PSWinCom SMS Gateway SOAP API.
When one has requested a Delivery Report for a message by setting
the RequestReceipt parameter, you will receive a delivery report for
each message. See the descriptions of the
receive SOAP methods for more details.
Properties
The DeliveryReport object has the following attributes:
Attribute | Description |
ReceiverNumber | The number which the message was sent to. |
State | Final state as assigned by the GSM Network or
Gateway. |
DeliveryTime | The actual time (in local timezone of the SMSC
used) when the message was delivered. Only
present for positive delivery reports (State is
DELIVRD). |
Reference | The unique reference value assigned to the
message that this delivery report corresponds to.
This value must be treated as a string with a
length of at least 36 characters. |
Delivery report states
A delivery report indicates the final state of each message, described
with a set of predefined states.
The different states are described on a separate page:
PSWinCom Gateway Delivery Report StatusesCode
C# notation of the DeliveryReport object:
public class DeliveryReport
{
public string State;
public string ReceiverNumber;
public string DeliveryTime;
public string Reference;
public DeliveryReport()
{
}
}
XML
<DeliveryReport>
<State>DELIVRD</State>
<ReceiverNumber>4792112233</ReceiverNumber>
<DeliveryTime>2006.11.30 13:53</DeliveryTime>
<Reference>65435452572</Reference>
</DeliveryReport>
See also