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.
Isoline
Show the distance a vehicle is able to go from a certain location
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.
Arguments
input • IsolineInput
• Required
Isoline input
Response
A response can either contain a data
or an
errors
object. The response header will always return
200
as a status code.
Data object
When successful, a data
object will be returned with the
requested fields. If there are no fields present the
data
object will return the operation name with the
appropriate return type. If the operation was a query, this output
will be an object of the schema’s query root type; if the operation
was a mutation, this output will be an object of the schema’s mutation
root type.
Error object
If unsuccessful, an errors
object will be returned with
more details in the extensions
object. The error object
can contain any of the following objects.
ISOLINE_INVALID_NUMBER_OF_POLYGONS
Field polygon_count should be a value between 1 and 20
ISOLINE_LIMIT_EXCEEDED
Isoline query limit exceeded