Reference for http://api.esms.vn/MainService.svc/xml/GetGroupList/{APIKEY}/{SECRETKEY}
Url: http://api.esms.vn/MainService.svc/xml/GetGroupList/{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:
<GroupListResult> <GroupsList> <Group> <GroupId>2147483647</GroupId> <GroupName>String content</GroupName> <DateCreated>1999-05-31T11:20:00</DateCreated> </Group> <Group> <GroupId>2147483647</GroupId> <GroupName>String content</GroupName> <DateCreated>1999-05-31T11:20:00</DateCreated> </Group> </GroupsList> <CodeResult>String content</CodeResult> <ErrorMessage>String content</ErrorMessage> <TotalRecord>2147483647</TotalRecord> </GroupListResult>
The following is the response Xml Schema:
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="GroupListResult" nillable="true" type="GroupListResult" /> <xs:complexType name="GroupListResult"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="GroupsList" type="ArrayOfGroup" /> <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="ArrayOfGroup"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="Group" nillable="true" type="Group" /> </xs:sequence> </xs:complexType> <xs:complexType name="Group"> <xs:sequence> <xs:element minOccurs="1" maxOccurs="1" name="GroupId" type="xs:int" /> <xs:element minOccurs="0" maxOccurs="1" name="GroupName" type="xs:string" /> <xs:element minOccurs="1" maxOccurs="1" name="DateCreated" type="xs:dateTime" /> </xs:sequence> </xs:complexType> </xs:schema>