Reference for http://api.esms.vn/MainService.svc/xml/GetListBrandname/{APIKEY}/{SECRETKEY}
Url: http://api.esms.vn/MainService.svc/xml/GetListBrandname/{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:
<BrandnameListModel> <ListBrandName> <listbrandname> <Brandname>String content</Brandname> <Type>2147483647</Type> </listbrandname> <listbrandname> <Brandname>String content</Brandname> <Type>2147483647</Type> </listbrandname> </ListBrandName> <ErrorMessage>String content</ErrorMessage> <CodeResponse>String content</CodeResponse> </BrandnameListModel>
The following is the response Xml Schema:
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="BrandnameListModel" nillable="true" type="BrandnameListModel" /> <xs:complexType name="BrandnameListModel"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="ListBrandName" type="ArrayOfListbrandname" /> <xs:element minOccurs="0" maxOccurs="1" name="ErrorMessage" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="CodeResponse" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:complexType name="ArrayOfListbrandname"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="listbrandname" nillable="true" type="listbrandname" /> </xs:sequence> </xs:complexType> <xs:complexType name="listbrandname"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="Brandname" type="xs:string" /> <xs:element minOccurs="1" maxOccurs="1" name="Type" type="xs:int" /> </xs:sequence> </xs:complexType> </xs:schema>