This service, is optional. You do not have to use this service.
This service should be used if you would like to define the pre-assigned locations of vehicles. This means that, if your vehicles serve to only specific customer locations, then you can pre-assign the vehicles to those locations.
Note that, if you pre-assign the vehicles to locations, then the vehicles will serve to those locations.
Data: Returned data
Message: Output message
ReturnCode: Return code of the output. If "Success" is true, then check this value.
Success: If unpected errors, or exceptions occur, this will be false.
success: Same as Success
{ "apiKey": "your API key here", "computationTicketID": "your computation ticket here", "vehicleLocationAssignments": [ { VehicleId: "1", LocationIds: ["2", "3", "4"] }, { VehicleId: "2", LocationIds: ["5", "6", "7"] } ] } |
Content-Type: application/json |
{ "Data" : null ,
"Message" : null ,
"ReturnCode" : 0,
"Success" : true ,
"success" : true
} |