Create an isoline

To get started with isolines, you will first need to fetch an isoline ID. This isoline ID can then be sent to subscribe to an isoline and retrieve the isoline data.

Mutation

To get an isoline ID, you will need to provide us with a vehicle ID, an origin location and a polygon count. If no polygon count is given 1 polygon will be generated. Additionally, you can provide us with the season. If no season is provided, current weather conditions will be used for the calculation.

    • If you want to request an isoline during a specific season you can use the season property in the isoline mutation. The season can be set to summer, winter and current. If no season is provided current weather conditions will apply.

    • You can set the number of polygons to be generated. You can go up to a hundred polygons for a more detailed isoline. By default the count is set to zero.

The isoline mutation is currently released as a beta product and thus experimental. Anything within the isoline product and roadmap may change, break, or disappear at any time.

Arguments

input non_null IsolineInput

Required

Isoline input

Response

If successful, the HTTP status code in the response header is 200 and the response body contains the attributes you requested.

If unsuccessful, the header status code is an error code and the response body contains an error response object. The error response object can be any of the ones below.

Errors and warnings

Error

ISOLINE_INVALID_NUMBER_OF_POLYGONS

Field polygon_count should be a value between 1 and 100

Error

ISOLINE_LIMIT_EXCEEDED

Isoline query limit exceeded