Parameters

Required parameters

Parameter Data type Value Description
path string Path is a representation of sets of GPS positions using Google polyline encoding utility. This method is more compact than listing all GPS coordinates.

Example: "path": "c~ffH}okjBeAmJ"
key string The API key

Optional parameters

Parameter Data type Default Value Description
vehicle_type string car car
camper
van
truck
garbagetruck
pedestrian
Defines type of vehicle to be considered in costs calculation.
vehicle_data object null All values from vehicle parameters table. Link: sygic.com/developers/maps-api-services/routing-api/routing#camper
general_costs_data object null Structure described in table below.

General costs

Parameter Data type
empty_kms
loaded_kms
fuel_price_per_l
ad_blue_price_per_l
engine_oil_price_per_l
empty_truck_fuel_consumption_per_km
loaded_truck_fuel_consumption_per_km
ad_blue_consumption_per_km
engine_oil_consumption_per_km
truck_tires_per_km
trailer_tires_per_km
repair_and_maintenance_vehicle_per_year
driver_insurance_and_medical_per_year
truck_and_trailer_civil_insurance_per_year
collision_insurance_per_year
cmr_and3rd_parties_insurance_per_year
diems_per_day
journey_days
driver_base_salary
total_kms_per_year
number_of_trucks
average_speed
driving_time_mins
truck_purchase_price
trailer_purchase_price
residual_vehicle_value
vehicle_contract_length
road_tax_per_year
parking_per_month
labor_cost_per_month
night_heating_hours_per_month
night_heater_fuel_consumption_per_hour
telco_and_monitoring_per_month
office_rent_per_month
office_costs_per_month
truck_wash_per_month
int
int
decimal
decimal
decimal
decimal
decimal
decimal
decimal
decimal
decimal
int
int
decimal
decimal
decimal
decimal
int
decimal
decimal
decimal
decimal
int
int
int
int
int
decimal
decimal
decimal
int
decimal
decimal
decimal
decimal
decimal