This service is to run computation for optimization by specifying optimization parameters and the algorithm to be used.
Data: An integer that specifies how much time approximately the
optimization will work as seconds. You need to wait until that
much time seconds elapses, before getting the result via "Result" service.
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 ID here" ,
"computationParameters" : {
"userID" : 0,
"avoidRegions" : null ,
"currencyID" : 1,
"distanceUnitID" : 1,
"optimizationGoal" : 1,
"useCFDinAlg" : false ,
"splitDeliveryPickupVehicles" : false ,
"avoidHighways" : false ,
"avoidTolls" : false ,
"vehicleEndOfDayLocation" : 1,
"visitStationsOnce" : true ,
"partitionByLocations" : true ,
"allowDepotRevisitBySameVehicle" : false ,
"maxDistancePerRoute" : "0" ,
"maxContinuousRideTime" : {
"hour" : "0" ,
"minute" : "0"
},
"maxWorkTimeInDay" : {
"hour" : "0" ,
"minute" : "0"
},
"minPauseTime" : {
"hour" : "0" ,
"minute" : "0"
},
"maxNumberOfRoutes" : "0" ,
"maxRouteDuration" : {
"day" : "0" ,
"hour" : "0" ,
"minute" : "0"
},
"maxStopsPerRoute" : "0" ,
"availableHoursList" : {
"weeklyWorkingTime" : [
{
"P1" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
},
"P2" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
}
},
{
"P1" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
},
"P2" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
}
},
{
"P1" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
},
"P2" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
}
},
{
"P1" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
},
"P2" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
}
},
{
"P1" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
},
"P2" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
}
},
{
"P1" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
},
"P2" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
}
},
{
"P1" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
},
"P2" : {
"start" : {
"hour" : "00" ,
"minute" : "00"
},
"end" : {
"hour" : "00" ,
"minute" : "00"
}
}
}
],
"holidays" : [
]
}
},
"algorithmID" : 1
} |
Content-Type: application/json |
Method:
{
"Data" : 261,
"Message" : null ,
"ReturnCode" : 0,
"Success" : true ,
"success" : true
} |