Example Request
GET https://api.xure.co/v1/lookup/countries.eb HTTP/1.1
Accept: text/xml
Response Schema
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="CountryList">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Countries">
<xsd:annotation>
<xsd:documentation>A list of countries supported by the system</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Item" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>The name of the country</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Code" type="xsd:string">
<xsd:annotation>
<xsd:documentation>The three-letter ISO code assigned to the country</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Example Response
HTTP/1.1 200 OK
Content-Type: text/xml
<?xml version="1.0" encoding="utf-8"?>
<CountryList>
<Countries>
<Item>
<Name>xsd:string</Name>
<Code>xsd:string</Code>
</Item>...</Countries>
</CountryList>
Example Request
GET https://api.xure.co/v1/lookup/countries.eb HTTP/1.1
Accept: application/json
Example Response
HTTP/1.1 200 OK
Content-Type: application/json
{"Countries":[{"Name":String,
"Code":String},
...]}