Reference for http://api.esms.vn/MainService.svc/xml/GetSmsSentData/
Url: http://api.esms.vn/MainService.svc/xml/GetSmsSentData/
HTTP Method: POST
Message direction | Format | Body |
---|---|---|
Request | Unknown | The Request body is a byte stream. |
Response | Xml | Example,Schema |
The following is an example response Xml body:
<SmsSentResult> <CodeResult>String content</CodeResult> <ErrorMessage>String content</ErrorMessage> <SentData> <SmsSentData> <SentTime>1999-05-31T11:20:00</SentTime> <Phone>String content</Phone> <Content>String content</Content> <SmsType>2147483647</SmsType> <SentStatus>true</SentStatus> <SellPrice>12678967.543233</SellPrice> <SmsId>9223372036854775807</SmsId> </SmsSentData> <SmsSentData> <SentTime>1999-05-31T11:20:00</SentTime> <Phone>String content</Phone> <Content>String content</Content> <SmsType>2147483647</SmsType> <SentStatus>true</SentStatus> <SellPrice>12678967.543233</SellPrice> <SmsId>9223372036854775807</SmsId> </SmsSentData> </SentData> </SmsSentResult>
The following is the response Xml Schema:
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="SmsSentResult" nillable="true" type="SmsSentResult" /> <xs:complexType name="SmsSentResult"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="CodeResult" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="SentData" type="ArrayOfSmsSentData" /> </xs:sequence> </xs:complexType> <xs:complexType name="ArrayOfSmsSentData"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="SmsSentData" nillable="true" type="SmsSentData" /> </xs:sequence> </xs:complexType> <xs:complexType name="SmsSentData"> <xs:sequence> <xs:element minOccurs="1" maxOccurs="1" name="SentTime" nillable="true" type="xs:dateTime" /> <xs:element minOccurs="0" maxOccurs="1" name="Phone" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Content" type="xs:string" /> <xs:element minOccurs="1" maxOccurs="1" name="SmsType" type="xs:int" /> <xs:element minOccurs="1" maxOccurs="1" name="SentStatus" type="xs:boolean" /> <xs:element minOccurs="1" maxOccurs="1" name="SellPrice" nillable="true" type="xs:decimal" /> <xs:element minOccurs="1" maxOccurs="1" name="SmsId" type="xs:long" /> </xs:sequence> </xs:complexType> </xs:schema>