<?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://api.resrobot.se/v2.1/">
    <resource path="location.nearbystops">
      <method name="GET">
        <request>
          <param name="accessId" required="true" style="query" type="xsd:string">
            <doc><![CDATA[Access ID for identifying the requesting client. String not longer than 128.]]></doc>
          </param>
          <param name="aid" required="false" style="query" type="xsd:string">
            <doc><![CDATA[Access ID that overrides the security value from the configuration. String not longer than 64.]]></doc>
          </param>
          <param name="requestId" required="false" style="query" type="xsd:string">
            <doc><![CDATA[Request ID for identifying the request. String not longer than 2048.]]></doc>
          </param>
          <param name="format" required="false" style="query" type="xsd:string">
            <doc><![CDATA[Requested response format. If not set, the Accept-Header is used. If both are missing application/xml is used]]></doc>
          </param>
          <param name="jsonpCallback" required="false" style="query" type="xsd:string">
            <doc><![CDATA[Requests the JSON response data is wrapped into a JavaScript function with that name. String not longer than 1024.]]></doc>
          </param>
          <param default="sv" name="lang" required="false" style="query" type="xsd:string">
            <doc><![CDATA[The language of the journey planer. String not longer than 5.]]></doc>
          </param>
          <param name="originCoordLat" required="true" style="query" type="xsd:string">
            <doc><![CDATA[Latitude of centre coordinate.]]></doc>
          </param>
          <param name="originCoordLong" required="true" style="query" type="xsd:string">
            <doc><![CDATA[Longitude of centre coordinate.]]></doc>
          </param>
          <param default="1000" name="r" required="false" style="query" type="xsd:int">
            <doc><![CDATA[Search radius in meter around the given coordinate. Minimum of 1.]]></doc>
          </param>
          <param default="10" name="maxNo" required="false" style="query" type="xsd:int">
            <doc><![CDATA[Maximum number of returned stops. Minimum of 0. Range: 1-1000]]></doc>
          </param>
          <param default="S" name="type" required="false" style="query" type="xsd:string">
            <doc><![CDATA[Type filter for location types.]]></doc>
          </param>
          <param name="locationSelectionMode" required="false" style="query" type="xsd:string">
            <doc><![CDATA[Selection mode for locations.]]></doc>
          </param>
          <param name="products" required="false" style="query" type="xsd:int">
            <doc><![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>
          </param>
          <param name="meta" required="false" style="query" type="xsd:string">
            <doc><![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>
          </param>
          <param name="sattributes" required="false" style="query" type="xsd:string">
            <doc><![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>
          </param>
          <param name="sinfotexts" required="false" style="query" type="xsd:string">
            <doc><![CDATA[Filter locations by one or more station infotext codes and values. Multiple attribute codes are separated by comma the value by pipe |. String not longer than 1024.]]></doc>
          </param>
          <param name="poolId" required="false" style="query" type="xsd:string">
            <doc><![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>
          </param>
          <param name="date" required="false" style="query" type="xsd:string">
            <doc><![CDATA[Incorporate date. Represented in the format YYYY-MM-DD.]]></doc>
          </param>
          <param name="time" required="false" style="query" type="xsd:string">
            <doc><![CDATA[Incorporate time. Represented in the format hh:mm[:ss] in 24h nomenclature. Seconds will be ignored for requests.]]></doc>
          </param>
          <param name="zoom" required="false" style="query" type="xsd:int">
            <doc><![CDATA[Retrieve stops most relevant to this map zoom level. Range: 0-21]]></doc>
          </param>
          <param name="poiCategories" required="false" style="query" type="xsd:string">
            <doc><![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>
          </param>
        </request>
        <response>
          <representation xmlns:proxy="http://hacon.de/hafas/proxy/hafas-proxy" element="proxy:LocationList"/>
        </response>
      </method>
    </resource>
  </resources>
</application>
