Methods

[ Jump to Models ]

Table of Contents

 

MapRoute

TimeDistance

TrafficAPI

MapRoute

Up
get /rs/v1/Country/list
A list of available countries. (rsV1CountryListGet)
 

Return type

array[Country]

Example data

Content-Type: application/json
[ {
  "bBox" : {
    "minY" : 52.321274,
    "minX" : 4.772248,
    "maxY" : 52.439472,
    "maxX" : 5.013947
  },
  "iso2" : "iso2",
  "lang" : {
    "key" : "lang"
  },
  "value" : "value",
  "iso3" : "iso3"
}, {
  "bBox" : {
    "minY" : 52.321274,
    "minX" : 4.772248,
    "maxY" : 52.439472,
    "maxX" : 5.013947
  },
  "iso2" : "iso2",
  "lang" : {
    "key" : "lang"
  },
  "value" : "value",
  "iso3" : "iso3"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK

Up
post /rs/v1/Locate/searchByAddress
Search for locations using structured address input. (rsV1LocateSearchByAddressPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

LocateSearchByAddress LocateSearchByAddress (optional)
Body Parameter

Return type

array[Location]

Example data

Content-Type: application/json
[ {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
}, {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK

Up
post /rs/v1/Locate/searchByPosition
Search for addresses using structured coordinate input. (rsV1LocateSearchByPositionPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

LocateSearchByPosition LocateSearchByPosition (optional)
Body Parameter

Return type

array[Location]

Example data

Content-Type: application/json
[ {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
}, {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK

Up
post /rs/v1/Locate/searchByText
Search for locations using a free-form text input. (rsV1LocateSearchByTextPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

LocateSearchByText LocateSearchByText (optional)
Body Parameter

Return type

array[Location]

Example data

Content-Type: application/json
[ {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
}, {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK

Up
post /rs/v1/Map/renderMapByBounds
The required map is described by its bounds.. (rsV1MapRenderMapByBoundsPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

MapRequestByBounds MapRequestByBounds (optional)
Body Parameter

Return type

Example data

Content-Type: application/json
{
  "image" : "image",
  "bounds" : {
    "minY" : 52.321274,
    "minX" : 4.772248,
    "maxY" : 52.439472,
    "maxX" : 5.013947
  },
  "zoom" : 0.8008281904610115
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK MapResponse

Up
post /rs/v1/Map/renderMapByCenter
The required map is described by its center coordinate and its zooming. (rsV1MapRenderMapByCenterPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

MapRequestByCenter MapRequestByCenter (optional)
Body Parameter

Return type

Example data

Content-Type: application/json
{
  "image" : "image",
  "bounds" : {
    "minY" : 52.321274,
    "minX" : 4.772248,
    "maxY" : 52.439472,
    "maxX" : 5.013947
  },
  "zoom" : 0.8008281904610115
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK MapResponse

Up
post /rs/v1/Route/calculateRouteDescription
Calculates and returns basic route information, descriptions and polyline. (rsV1RouteCalculateRouteDescriptionPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

RouteRequest RouteRequest (optional)
Body Parameter

Return type

Example data

Content-Type: application/json
{
  "travelTime" : 6.027456183070403,
  "distance" : 0.8008281904610115,
  "trafficDelay" : 1.4658129805029452,
  "waypoints" : [ {
    "country" : "NL",
    "score" : 100,
    "coordinate" : {
      "x" : 4.892479,
      "y" : 52.373127
    },
    "province" : "Noord-Holland",
    "city" : "Amsterdam",
    "street" : "Dam",
    "district" : "Amsterdam-Centrum",
    "postcode" : "1012JS",
    "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
    "houseNr" : ""
  }, {
    "country" : "NL",
    "score" : 100,
    "coordinate" : {
      "x" : 4.892479,
      "y" : 52.373127
    },
    "province" : "Noord-Holland",
    "city" : "Amsterdam",
    "street" : "Dam",
    "district" : "Amsterdam-Centrum",
    "postcode" : "1012JS",
    "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
    "houseNr" : ""
  } ],
  "descriptions" : [ {
    "country" : "country",
    "networkClass" : 2,
    "coordinate" : {
      "x" : 4.892479,
      "y" : 52.373127
    },
    "directions" : "directions",
    "roadNumber" : "roadNumber",
    "accDistance" : 5.962133916683182,
    "accTime" : 5.637376656633329,
    "description" : "description",
    "maneuverType" : "START",
    "roadName" : "roadName"
  }, {
    "country" : "country",
    "networkClass" : 2,
    "coordinate" : {
      "x" : 4.892479,
      "y" : 52.373127
    },
    "directions" : "directions",
    "roadNumber" : "roadNumber",
    "accDistance" : 5.962133916683182,
    "accTime" : 5.637376656633329,
    "description" : "description",
    "maneuverType" : "START",
    "roadName" : "roadName"
  } ],
  "polyline" : [ {
    "x" : 4.892479,
    "y" : 52.373127
  }, {
    "x" : 4.892479,
    "y" : 52.373127
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK CalculateRouteDescriptionResponse

TimeDistance

Up
get /rs/v1/Country/list
A list of available countries. (rsV1CountryListGet)
 

Return type

array[Country]

Example data

Content-Type: application/json
[ {
  "bBox" : {
    "minY" : 52.321274,
    "minX" : 4.772248,
    "maxY" : 52.439472,
    "maxX" : 5.013947
  },
  "iso2" : "iso2",
  "lang" : {
    "key" : "lang"
  },
  "value" : "value",
  "iso3" : "iso3"
}, {
  "bBox" : {
    "minY" : 52.321274,
    "minX" : 4.772248,
    "maxY" : 52.439472,
    "maxX" : 5.013947
  },
  "iso2" : "iso2",
  "lang" : {
    "key" : "lang"
  },
  "value" : "value",
  "iso3" : "iso3"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK

Up
post /rs/v1/Locate/searchByAddress
Search for locations using structured address input. (rsV1LocateSearchByAddressPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

LocateSearchByAddress LocateSearchByAddress (optional)
Body Parameter

Return type

array[Location]

Example data

Content-Type: application/json
[ {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
}, {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK

Up
post /rs/v1/Locate/searchByText
Search for locations using a free-form text input. (rsV1LocateSearchByTextPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

LocateSearchByText LocateSearchByText (optional)
Body Parameter

Return type

array[Location]

Example data

Content-Type: application/json
[ {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
}, {
  "country" : "NL",
  "score" : 100,
  "coordinate" : {
    "x" : 4.892479,
    "y" : 52.373127
  },
  "province" : "Noord-Holland",
  "city" : "Amsterdam",
  "street" : "Dam",
  "district" : "Amsterdam-Centrum",
  "postcode" : "1012JS",
  "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
  "houseNr" : ""
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK

Up
post /rs/v1/Route/calculateRouteInfo
Calculates and returns basic route information and polyline. (rsV1RouteCalculateRouteInfoPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

RouteRequest RouteRequest (optional)
Body Parameter

Return type

Example data

Content-Type: application/json
{
  "travelTime" : 6.027456183070403,
  "distance" : 0.8008281904610115,
  "trafficDelay" : 1.4658129805029452,
  "waypoints" : [ {
    "country" : "NL",
    "score" : 100,
    "coordinate" : {
      "x" : 4.892479,
      "y" : 52.373127
    },
    "province" : "Noord-Holland",
    "city" : "Amsterdam",
    "street" : "Dam",
    "district" : "Amsterdam-Centrum",
    "postcode" : "1012JS",
    "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
    "houseNr" : ""
  }, {
    "country" : "NL",
    "score" : 100,
    "coordinate" : {
      "x" : 4.892479,
      "y" : 52.373127
    },
    "province" : "Noord-Holland",
    "city" : "Amsterdam",
    "street" : "Dam",
    "district" : "Amsterdam-Centrum",
    "postcode" : "1012JS",
    "description" : "Dam, 1012JS Amsterdam-Centrum Amsterdam",
    "houseNr" : ""
  } ],
  "polyline" : [ {
    "x" : 4.892479,
    "y" : 52.373127
  }, {
    "x" : 4.892479,
    "y" : 52.373127
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

OK CalculateRouteInfoResponse

TrafficAPI

Up
post /rs/v1/Traffic/features
A GeoJson feature collection with the current (dutch) traffic situation. Includes congestions and major roadworks (rsV1TrafficFeaturesPost)
 

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

TrafficOptions TrafficOptions (optional)
Body Parameter

Responses

200

OK

Models

[ Jump to Methods ]

Table of Contents

  1. Address -
  2. BoundingBox -
  3. CalculateRouteDescriptionResponse -
  4. CalculateRouteInfoResponse -
  5. Coordinate -
  6. Country -
  7. ImageFormat -
  8. LocateOptions -
  9. LocateSearchByAddress -
  10. LocateSearchByPosition -
  11. LocateSearchByText -
  12. Location -
  13. ManeuverType -
  14. MapImageOptions -
  15. MapMapOptions -
  16. MapRequestByBounds -
  17. MapRequestByCenter -
  18. MapResponse -
  19. RouteDescription -
  20. RouteOptimization -
  21. RouteOptions -
  22. RouteRequest -
  23. TimeConsiderationType -
  24. TrafficOptions -
  25. VehicleType -

Address - Up

Represents the address of a geographical object. Where a string, such as a city or street name, is available in multiple languages, it is returned in the default language specified by the object's location, i.e. in which country it is located. Because addressing schemes vary strongly between countries, most fields are optional.
postcode (optional)
String The postal code of the address.
street (optional)
String The street name of the address
houseNr (optional)
String The HouseNr of the address
district (optional)
String The district of the address, i.e. the entity below city.
city (optional)
String The city of the address,
province (optional)
String The name of the principal country subdivision which the address belongs to
country (optional)
String Country code according to ISO 3166-1 alpha-2. Defaults to NL. The search will be restricted to this country. When empty, all countries contained in the geocoding data will be included in the search.

BoundingBox - Up

Boundaries are used for defining the minimal boundary rectangle of a geographical object. It contains the minimum and maximum values for x and y dimension.
minX (optional)
Double Minimum value for x dimension. The numerical value has to be less than or equal to maxX. format: double
maxY (optional)
Double Maximum value for x dimension. The numerical value has to be greater than or equal to minX. format: double
maxX (optional)
Double Minimum value for y dimension. The numerical value has to be less than or equal to maxY. format: double
minY (optional)
Double Maximum value for y dimension. The numerical value has to be greater than or equal to minY. format: double

CalculateRouteDescriptionResponse - Up

 
distance (optional)
Double The distance of the complete route. format: double
travelTime (optional)
Double The travel time for the complete route. format: double
trafficDelay (optional)
Double The total delay due to traffic incidents(traffic jams, construction sites etc.) on the route. format: double
waypoints (optional)
descriptions (optional)
array[RouteDescription] List of descriptions describing the route
polyline (optional)
array[Coordinate] List of coordinates of the polyline of the route

CalculateRouteInfoResponse - Up

 
distance (optional)
Double The distance of the complete route. format: double
travelTime (optional)
Double The travel time for the complete route. format: double
trafficDelay (optional)
Double The total delay due to traffic incidents(traffic jams, construction sites etc.) on the route. format: double
waypoints (optional)
polyline (optional)

Coordinate - Up

A coordinate is defined by its x and y values, specifying the geographical point in a two-dimensional coordinate system
x (optional)
Double The value in x-direction (west to east), longitude for WGS84. format: double
y (optional)
Double The value in y-direction (south to north), latitude for WGS84. format: double

Country - Up

 
value (optional)
iso2 (optional)
iso3 (optional)
lang (optional)
bBox (optional)

ImageFormat - Up

Defines values for ImageFormat.
 

LocateOptions - Up

 
language (optional)
String The language used for geographic names. Defaults to nl. This standard allows to use two-letter ISO 639-1 codes
numResults (optional)
Integer Limit the number of resulting locations (default 5) format: int32

LocateSearchByAddress - Up

 
address (optional)
options (optional)

LocateSearchByPosition - Up

 
coordinate (optional)
options (optional)

LocateSearchByText - Up

 
text (optional)
String The input address.
country (optional)
String Country code according to ISO 3166-1 alpha-2. Defaults to NL. The search will be restricted to this country. When empty, all countries contained in the geocoding data will be included in the search.
options (optional)

Location - Up

Represents a geographical object in terms of its position and its address.
postcode (optional)
String The postal code of the address.
street (optional)
String The street name of the address
houseNr (optional)
String The HouseNr of the address
district (optional)
String The district of the address, i.e. the entity below city.
city (optional)
String The city of the address,
province (optional)
String The name of the principal country subdivision which the address belongs to
country (optional)
String Country code according to ISO 3166-1 alpha-2. Defaults to NL. The search will be restricted to this country. When empty, all countries contained in the geocoding data will be included in the search.
coordinate (optional)
score (optional)
Integer Indicates the overall match quality for a geocoding request. 100 (percent) represents a perfect match between the input and the result. format: int32
description (optional)
String A single string representing the address, typically consisting of the street, house number, postal code, city, and country. The precise format may differ based on what is appropriate for the address.

ManeuverType - Up

Defines values for ManeuverType.
 

MapImageOptions - Up

 
width (optional)
Integer The height of the image in physical pixel. The maximum allowed value is 8192. format: int32
height (optional)
Integer The width of the image in physical pixel. The maximum allowed value is 8192. format: int32
imageFormat (optional)

MapMapOptions - Up

 
language (optional)
String The language of texts on the rendered map. Defaults to nl. This standard allows to use two-letter ISO 639-1 codes

MapRequestByBounds - Up

 
imageOptions (optional)
mapOptions (optional)
bounds (optional)

MapRequestByCenter - Up

 
imageOptions (optional)
mapOptions (optional)
center (optional)
zoom (optional)
Integer The geographical resolution at which to display the map, where zoom 0 corresponds to a map of the Earth fully zoomed out, and larger zoom levels zoom in at a higher resolution. Offering a map of the entire Earth as a single image would either require an immense map, or a small map with very low resolution. As a result, map images are broken up into map 'tiles' and 'zoom levels'. At low zoom levels, a small set of map tiles covers a wide area; at higher zoom levels, the tiles are of higher resolution and cover a smaller area. Fractional values are allowed. The zoom is currently restricted to the range 0..22. Range: 0 ≤ value. format: int32

MapResponse - Up

 
image (optional)
byte[] The image as a byte array. format: byte
bounds (optional)
zoom (optional)
Double The zoom level of the map image. format: double

RouteDescription - Up

 
accDistance (optional)
Double The distance of the route from the start up to this description. format: double
accTime (optional)
Double The travel time for the route from the start up to this event. format: double
description (optional)
String A descriptive text for the current maneuver.
directions (optional)
String The city names and road numbers on a signpost at the current location to follow for the current maneuver.
roadName (optional)
String The name of the current road
roadNumber (optional)
String The road number
networkClass (optional)
Integer Defines the network class of a road. The road segments are divided into eight network classes by importance of the roads they represent. The network class 0 represents the most important roads, for example highways, while road segments of network class 7 are the least important roads, for example pedestrian paths. Range: 0 ≤ value ≤ 7. format: int32
maneuverType (optional)
country (optional)
coordinate (optional)

RouteOptimization - Up

 
 

RouteOptions - Up

 
vehicle (optional)
optimization (optional)
language (optional)
String The language of texts such as maneuver or traffic-incident descriptions. Defaults to nl. This standard allows to use two-letter ISO 639-1 codes
avoidHighways (optional)
Boolean Force the routing algorithm to avoid freeways
avoidToll (optional)
Boolean Force the routing algorithm to avoid tollroads
avoidFerry (optional)
Boolean Force the routing algorithm to avoid ferries
avoidTrafficIncidents (optional)
Boolean Force the routing algorithm to avoid current traffic
referenceTime (optional)
Date format: date-time
timeConsiderationType (optional)
includePolyline (optional)
Boolean Include the polyline of the route. The polyline is a list of sequential coordinates of roadnodes

RouteRequest - Up

 
locations (optional)
array[Location] A list of sequential locations
options (optional)

TimeConsiderationType - Up

 
 

TrafficOptions - Up

 
countries (optional)
array[String] list of countries to include in the traffic information (currently only Dutch and Belgium traffic information is available)
language (optional)
String The language used for geographic names. Defaults to nl. This standard allows to use two-letter ISO 639-1 codes

VehicleType - Up