Add 1 or more RoutesAsk AIpost https://saas.quadminds.com/api/v2/routesEndpoint to add RoutesBody Params objectcodestringrequiredlength ≤ 64Route codestartDatedate-timeRoute start datedatedaterequiredRoute scheduled datestatusstringenumrequiredRoute stateoverduefinishedextendedpendingclosedongoingAllowed:overduefinishedextendedpendingclosedongoingdeviceIdnumberRoute assigned vehicletotalAmountnumberRoute total amountdriverIdnumberRoute driver idcompanionIdnumberRoute companion idsecondaryCodestringlength ≤ 16Route secondary codewarehouseDepartureDatedate-timeWarehouse departure datewarehouseReturnDatedate-timeWarehouse return datecarrierstringlength ≤ 255Route carrierscheduledStartDatedate-timeRoute scheduled daterecalculatedAtdate-timeRoute recalculated dateoptimizedbooleanRoute is optimizedtruefalseassignedDeviceIMEInumberRoute assigned device IMEIroutePredictionobjectroutePrediction objectADD objectResponses 200Route/s added On Error, meta object will contain an error array with these possible values Error codes: CodeDescriptionField2010Activity type not found or not allowed for this user2021Poi code not found or not allowed for this user2022Order code not found or not allowed for this user2040Driver id not found or not allowed for this user2041Companion id not found or not allowed for this user2042Device id not found or not allowed for this user2043Invalid status2044Driver's id and companion's id can't be equals 403Not authorized accessUpdated 10 months ago