Introduction

A Web Map Service (WMS) is a standard protocol developed by the Open Geospatial Consortium in 1999 for serving geo-referenced map images over the Internet. These images are typically produced by a map server from the data provided by a geographic information system (GIS) database.

Eco-Movement API WMS is a WMS service that returns PNG images in the result. Eco-Movement Maps API Details benefits the WMS service by retrieving the charging stations information for maps in the JSON format.

Authorization

Each HTTP request must add an 'Authorization' header. The following is a sample header:

Authorization: Token A9CFNWJJ1AUx7PEdLksyVO9pWLWWiswpQbZCGcOOqcL

The 'Token' literal indicates that the token based authentication mechanism was used. The parameter is a string of printable, non-whitespace ASCII characters. The token uniquely identifies a user.

This bearer token works on the Maps API details endpoints and Maps API WMS endpoint.

🚧

Caution

The bearer token should never be visible in the client side code (HTML or JavaScript) and must be hidden behind a proxy server.

Supported Methods

The supported methods in the request are:

MethodDescription
GETFetch objects or information.

Status Codes

The Maps API WMS uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success. Codes in the 4xx range indicate client errors (for example, a required parameter was omitted or a resource was missing). Codes in the 5xx range indicate a server error or an entry that cannot be processed.

Every error includes a human-readable message.