Back | Webservices | Home

CountryList

Description

Returns a list of countries.

Request Parameters

Name Description

soap:header

Username and password

Type: UserCredentials

Children: Userid, Password

This operation does not have any request parameters.

Response Elements

Name Description

CountryListResult

Country element.

Type: List Country

Example using SOAP

Example Request

The following is a sample SOAP 1.2 request and response.

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <UserCredentials xmlns="http://vidzapper.net/Webservice/">
      <Userid>string</Userid>
      <Password>string</Password>
    </UserCredentials>
  </soap12:Header>
  <soap12:Body>
    <CountryList xmlns="http://vidzapper.net/Webservice/" />
  </soap12:Body>
</soap12:Envelope>

Example Response

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CountryListResponse xmlns="http://vidzapper.net/Webservice/">
      <CountryListResult>
        <Country>
          <ID>int</ID>
          <Name>string</Name>
          <ISO2>string</ISO2>
          <ISO3>string</ISO3>
          <CurrencyCode>string</CurrencyCode>
          <Error>
            <Status>string</Status>
            <Message>string</Message>
          </Error>
        </Country>
        <Country>
          <ID>int</ID>
          <Name>string</Name>
          <ISO2>string</ISO2>
          <ISO3>string</ISO3>
          <CurrencyCode>string</CurrencyCode>
          <Error>
            <Status>string</Status>
            <Message>string</Message>
          </Error>
        </Country>
      </CountryListResult>
    </CountryListResponse>
  </soap12:Body>
</soap12:Envelope>