queryType: getStopDurationData

This API call can help the user decide what minimum stop threshold to set when chaining trips together into journeys.

The getStaticStopDurationData queryType is passed to the API to get statistics about the average stop duration between all trips.

Parameters

These parameters should be passed to the functionParameters object regardless of which method you choose from here.

ParameterDescriptionTypeDefined Value SetValue Req'd
queryTypeMust equal getStaticStopDurationData.STRINGgetStaticStopDurationDataY

Responses

CodeTypeDescription
200JSONThe requested data.
401JSONOccurs for various unauthorized tasks e.g. if you didn’t provide credentials in your parameters.
500JSONOccurs if an internal server error occurs. Contact altitudesupport@geotab.com if this occurs.

Response Schema

AttributeDescriptionData TypeDefined Value Set
PercentileThe percentile value.INTEGER[0:100]
InterTripStopDurationThe inter-trip stop duration for the percentile.FLOAT-

Sample parameters

{
"queryType": "getStopDurationData"
}