<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://wadl.dev.java.net/2009/02 wadl.xsd">
  <resources base="https://cdt.hafas.de/opendata/apiserver/">
    <resource path="location.nearbystops">
      <method name="GET">
        <request>
          <param name="accessId" required="true" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Access ID for identifying the requesting client. String not longer than 128.]]></doc>
            <doc title="since"><![CDATA[1.0]]></doc>
          </param>
          <param name="aid" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Access ID that overrides the security value from the configuration. String not longer than 64.]]></doc>
            <doc title="since"><![CDATA[2.40]]></doc>
          </param>
          <param name="requestId" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Request ID for identifying the request. String not longer than 2048.]]></doc>
          </param>
          <param name="format" required="false" style="query" type="xsd:string">
            <option value="xml"/>
            <option value="json"/>
            <doc title="description"><![CDATA[Requested response format. If not set, the Accept-Header is used. If both are missing application/xml is used]]></doc>
          </param>
          <param default="de" name="lang" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[The language of the journey planer. String not longer than 25.]]></doc>
          </param>
          <param name="originCoordLat" required="true" style="query" type="xsd:double">
            <doc title="description"><![CDATA[Latitude of centre coordinate.]]></doc>
            <doc title="since"><![CDATA[1.0]]></doc>
          </param>
          <param name="originCoordLong" required="true" style="query" type="xsd:double">
            <doc title="description"><![CDATA[Longitude of centre coordinate.]]></doc>
            <doc title="since"><![CDATA[1.0]]></doc>
          </param>
          <param default="1000" name="r" required="false" style="query" type="xsd:int">
            <doc title="description"><![CDATA[Search radius in meter around the given coordinate. Minimum of 1.]]></doc>
            <doc title="since"><![CDATA[1.0]]></doc>
          </param>
          <param default="10" name="maxNo" required="false" style="query" type="xsd:int">
            <doc title="description"><![CDATA[Maximum number of returned stops. Minimum of 0. Range: 1-5000]]></doc>
            <doc title="since"><![CDATA[1.0]]></doc>
          </param>
          <param default="S" name="type" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Type filter for location types.]]></doc>
            <doc title="since"><![CDATA[1.0]]></doc>
          </param>
          <param name="locationSelectionMode" required="false" style="query" type="xsd:string">
            <option value="SLCT_A"/>
            <option value="SLCT_N"/>
            <doc title="description"><![CDATA[Selection mode for locations.]]></doc>
            <doc title="since"><![CDATA[1.20]]></doc>
          </param>
          <param name="products" required="false" style="query" type="xsd:int">
            <doc title="description"><![CDATA[Decimal value defining the product classes to be included in the search. It represents a bitmask combining bit number of a product as defined in the HAFAS raw data. Values are retrievable by <<service_datainfo,Data Information service>>. Minimum of 0.]]></doc>
            <doc title="since"><![CDATA[1.15]]></doc>
          </param>
          <param name="meta" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Filter by a predefined meta filter. If the rules of the predefined filter should not be negated, put ! in front of it. Multiple values are separated by comma if definded for POI filtering. String not longer than 512.]]></doc>
            <doc title="since"><![CDATA[1.0]]></doc>
          </param>
          <param name="sattributes" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Filter locations by one or more attribute codes. Multiple attribute codes are separated by comma. If the attribute should not be part of the be location data, negate it by putting ! in front of it. String not longer than 1024.]]></doc>
            <doc title="since"><![CDATA[1.0]]></doc>
          </param>
          <param name="sinfotexts" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Filter locations by one or more station infotext codes only. Multiple infotext codes are separated by comma. String not longer than 1024.]]></doc>
            <doc title="since"><![CDATA[1.0]]></doc>
          </param>
          <param name="poolId" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Filter locations by pool id (also known as Pool UIC code). Multiple values are separated by comma. To negate put ! in front of the value. String not longer than 8096.]]></doc>
            <doc title="since"><![CDATA[2.26]]></doc>
          </param>
          <param name="date" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Incorporate date. Represented in the format YYYY-MM-DD.]]></doc>
            <doc title="since"><![CDATA[2.39]]></doc>
          </param>
          <param name="time" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Incorporate time. Represented in the format hh:mm[:ss] in 24h nomenclature. Seconds will be ignored for requests.]]></doc>
            <doc title="since"><![CDATA[2.39]]></doc>
          </param>
          <param default="40320" name="duration" required="false" style="query" type="xsd:int">
            <doc title="description"><![CDATA[Time period to check availabilities of locations for. Applies only if such information is available. Minimum of 1. Range: 1-40320]]></doc>
            <doc title="since"><![CDATA[2.51]]></doc>
          </param>
          <param name="zoom" required="false" style="query" type="xsd:int">
            <doc title="description"><![CDATA[Retrieve stops most relevant to this map zoom level. Range: 0-21]]></doc>
            <doc title="since"><![CDATA[2.39]]></doc>
          </param>
          <param name="poiCategories" required="false" style="query" type="xsd:string">
            <doc title="description"><![CDATA[Filter locations by POI types. Multiple attribute codes are separated by comma. If the attribute should not be part of the be location data, negate it by putting ! in front of it. String not longer than 1024.]]></doc>
            <doc title="since"><![CDATA[2.42]]></doc>
          </param>
        </request>
        <response>
          <representation xmlns:proxy="http://hacon.de/hafas/proxy/hafas-proxy" element="proxy:LocationList"/>
        </response>
      </method>
    </resource>
  </resources>
</application>
