Web Service Documentation / Categories / Property Services / Get International Weather Station List

Get International Weather Station List

Updated on August 27, 2018

Description

This web service returns a list of international weather stations for a specified country code. The country code follows the International Organization for Standardization (ISO 3166).

Version

18.0

HTTP Method

GET

Resource URL

/property/internationalWeatherStation/list?page=(page)&country=(country)

Header

Field Name Value Comments
Authorization Basic credentials

Authorization Required

Yes

Parameters

Parameter Name Description
country Optional. You can include the country code (ISO 3166) to filter by country. If omitted, a paginated list of all international weather stations is returned.
page Optional. Indicates the page number set of results to retrieve. This is typically omitted on the initial call and is provided if the results are paginated.

XML Schemas

Request/Response Schema Name
Request None
Response internationalWeatherStation.xsd

Example Request

The following example retrieves a list of international weather stations for Japan.

GET  /property/internationalWeatherStation/list?country=JP

Example Response

The following example returns a list of international weather stations specific to Japan's country code.

<?xml version="1.0" encoding="UTF-8"?>
<internationalWeatherStationList>
    <station id="474010" country="JP" countryName="Japan" stationName="WAKKANAI"/>
    <station id="474070" country="JP" countryName="Japan" stationName="ASAHIKAWA"/>
    <station id="476750" country="JP" countryName="Japan" stationName="OSHIMA"/>
    <links>
        <link httpMethod="get" link="/property/internationalWeatherStation/list?page=2&country=JP" linkDescription="next page"/>
    </links>
</internationalWeatherStationList>
TEST