Reference for http://api.esms.vn/MainService.svc/xml/GetSmsSentData_V1/
Url: http://api.esms.vn/MainService.svc/xml/GetSmsSentData_V1/
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:
<SmsSentResultV1> <CodeResult>String content</CodeResult> <ErrorMessage>String content</ErrorMessage> <SentData> <SmsSentDataV1> <SentTime>String content</SentTime> <Phone>String content</Phone> <Content>String content</Content> <SmsType>2147483647</SmsType> <SentResult>true</SentResult> <SellPrice>12678967.543233</SellPrice> <SmsId>9223372036854775807</SmsId> <ReferenceId>String content</ReferenceId> <Campaign>String content</Campaign> <SendStatus>2147483647</SendStatus> <SentTimeDate>1999-05-31T11:20:00</SentTimeDate> </SmsSentDataV1> <SmsSentDataV1> <SentTime>String content</SentTime> <Phone>String content</Phone> <Content>String content</Content> <SmsType>2147483647</SmsType> <SentResult>true</SentResult> <SellPrice>12678967.543233</SellPrice> <SmsId>9223372036854775807</SmsId> <ReferenceId>String content</ReferenceId> <Campaign>String content</Campaign> <SendStatus>2147483647</SendStatus> <SentTimeDate>1999-05-31T11:20:00</SentTimeDate> </SmsSentDataV1> </SentData> <CountTotal>2147483647</CountTotal> </SmsSentResultV1>
The following is the response Xml Schema:
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="SmsSentResultV1" nillable="true" type="SmsSentResultV1" /> <xs:complexType name="SmsSentResultV1"> <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="ArrayOfSmsSentDataV1" /> <xs:element minOccurs="1" maxOccurs="1" name="CountTotal" nillable="true" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:complexType name="ArrayOfSmsSentDataV1"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="SmsSentDataV1" nillable="true" type="SmsSentDataV1" /> </xs:sequence> </xs:complexType> <xs:complexType name="SmsSentDataV1"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="SentTime" type="xs:string" /> <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="SentResult" 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:element minOccurs="0" maxOccurs="1" name="ReferenceId" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Campaign" type="xs:string" /> <xs:element minOccurs="1" maxOccurs="1" name="SendStatus" type="xs:int" /> <xs:element minOccurs="1" maxOccurs="1" name="SentTimeDate" nillable="true" type="xs:dateTime" /> </xs:sequence> </xs:complexType> </xs:schema>