Reference for http://api.esms.vn/MainService.svc/xml/GetCustomerByGroup/{GROUPID}/{CURRENTPAGE}/{RECORDPERPAGE}/{PAGESIZE}/{APIKEY}/{SECRETKEY}
Url: http://api.esms.vn/MainService.svc/xml/GetCustomerByGroup/{GROUPID}/{CURRENTPAGE}/{RECORDPERPAGE}/{PAGESIZE}/{APIKEY}/{SECRETKEY}
HTTP Method: GET
Message direction | Format | Body |
---|---|---|
Request | N/A | The Request body is empty. |
Response | Xml | Example,Schema |
The following is an example response Xml body:
<GetCustomerByGroupResult> <CustomerList> <CustomerResultList> <CustomerID>2147483647</CustomerID> <Name>String content</Name> <Phone>String content</Phone> <Address>String content</Address> <Email>String content</Email> <Facebook>String content</Facebook> <IsActive>true</IsActive> <Gender>2147483647</Gender> <TotalRecord>2147483647</TotalRecord> <PageSize>2147483647</PageSize> <RecordPerPage>2147483647</RecordPerPage> </CustomerResultList> <CustomerResultList> <CustomerID>2147483647</CustomerID> <Name>String content</Name> <Phone>String content</Phone> <Address>String content</Address> <Email>String content</Email> <Facebook>String content</Facebook> <IsActive>true</IsActive> <Gender>2147483647</Gender> <TotalRecord>2147483647</TotalRecord> <PageSize>2147483647</PageSize> <RecordPerPage>2147483647</RecordPerPage> </CustomerResultList> </CustomerList> <CodeResult>String content</CodeResult> <ErrorMessage>String content</ErrorMessage> <TotalRecord>2147483647</TotalRecord> </GetCustomerByGroupResult>
The following is the response Xml Schema:
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="GetCustomerByGroupResult" nillable="true" type="GetCustomerByGroupResult" /> <xs:complexType name="GetCustomerByGroupResult"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="CustomerList" type="ArrayOfCustomerResultList" /> <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="1" maxOccurs="1" name="TotalRecord" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:complexType name="ArrayOfCustomerResultList"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="CustomerResultList" nillable="true" type="CustomerResultList" /> </xs:sequence> </xs:complexType> <xs:complexType name="CustomerResultList"> <xs:sequence> <xs:element minOccurs="1" maxOccurs="1" name="CustomerID" type="xs:int" /> <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Phone" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Address" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Email" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="Facebook" type="xs:string" /> <xs:element minOccurs="1" maxOccurs="1" name="IsActive" nillable="true" type="xs:boolean" /> <xs:element minOccurs="1" maxOccurs="1" name="Gender" nillable="true" type="xs:int" /> <xs:element minOccurs="1" maxOccurs="1" name="TotalRecord" type="xs:int" /> <xs:element minOccurs="1" maxOccurs="1" name="PageSize" type="xs:int" /> <xs:element minOccurs="1" maxOccurs="1" name="RecordPerPage" type="xs:int" /> </xs:sequence> </xs:complexType> </xs:schema>