Update route by idAsk AIpatch https://saas.quadminds.com/api/v2/routes/{id}Update route by idPath ParamsidintegerrequiredBody ParamsRoute properties that will be updatedcodestringlength ≤ 64Route codestartDatedate-timeRoute start datedatedateRoute scheduled datestatusstringenumRoute 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 objectResponses 200Updated route 400On Error, response will contain an error and message with these posible 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 access 404Not foundUpdated 11 months ago