Reference for http://api.esms.vn/MainService.svc/xml/SummaryMultipleSMSBrandname/
Url: http://api.esms.vn/MainService.svc/xml/SummaryMultipleSMSBrandname/
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:
<SummarySmsResultModel> <CodeResult>String content</CodeResult> <ErrorMessage>String content</ErrorMessage> <SendStatus>String content</SendStatus> <TotalReceiver>2147483647</TotalReceiver> <TotalPrice>12678967.543233</TotalPrice> <PhoneNumberList> <PhoneNumberResult> <PhoneNumber>String content</PhoneNumber> <NetworkType>NotFound</NetworkType> <NetworkName>String content</NetworkName> </PhoneNumberResult> <PhoneNumberResult> <PhoneNumber>String content</PhoneNumber> <NetworkType>NotFound</NetworkType> <NetworkName>String content</NetworkName> </PhoneNumberResult> </PhoneNumberList> </SummarySmsResultModel>
The following is the response Xml Schema:
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="SummarySmsResultModel" nillable="true" type="SummarySmsResultModel" /> <xs:complexType name="SummarySmsResultModel"> <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="SendStatus" type="xs:string" /> <xs:element minOccurs="1" maxOccurs="1" name="TotalReceiver" type="xs:int" /> <xs:element minOccurs="1" maxOccurs="1" name="TotalPrice" type="xs:decimal" /> <xs:element minOccurs="0" maxOccurs="1" name="PhoneNumberList" type="ArrayOfPhoneNumberResult" /> </xs:sequence> </xs:complexType> <xs:complexType name="ArrayOfPhoneNumberResult"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="PhoneNumberResult" nillable="true" type="PhoneNumberResult" /> </xs:sequence> </xs:complexType> <xs:complexType name="PhoneNumberResult"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="PhoneNumber" type="xs:string" /> <xs:element minOccurs="1" maxOccurs="1" name="NetworkType" type="EnumNetwork" /> <xs:element minOccurs="0" maxOccurs="1" name="NetworkName" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:simpleType name="EnumNetwork"> <xs:restriction base="xs:string"> <xs:enumeration value="NotFound" /> <xs:enumeration value="Viettel" /> <xs:enumeration value="Mobifone" /> <xs:enumeration value="Vinaphone" /> <xs:enumeration value="Vietnamobile" /> <xs:enumeration value="Gtel" /> <xs:enumeration value="Itel" /> <xs:enumeration value="Reddi" /> <xs:enumeration value="Global" /> </xs:restriction> </xs:simpleType> </xs:schema>