Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "routesCalculationProblem": {
- "sites" : [
- {
- "id" : "joao",
- "coordinates": {
- "latitude": -30.031152,
- "longitude": -51.233390
- },
- "logisticConstraints": {
- "id": "DEFAULT"
- },
- "isDepot": false
- },
- {
- "id": "maria",
- "coordinates": {
- "latitude": -30.0355884,
- "longitude": -51.2249722
- },
- "logisticConstraints": {
- "id": "DEFAULT"
- },
- "isDepot": false
- },
- {
- "id": "P1Pickup",
- "coordinates": {
- "latitude": -30.031558,
- "longitude": -51.234261
- },
- "logisticConstraints": {
- "id": "P1Pickup"
- },
- "isDepot": true
- },
- {
- "id": "P1Delivery",
- "coordinates": {
- "latitude": -30.0360315,
- "longitude": -51.2312739
- },
- "logisticConstraints": {
- "id": "P1Delivery"
- },
- "isDepot": false
- }
- ],
- "operations": [
- {
- "id": "P1",
- "weight": 30,
- "volume": 30,
- "product": {
- "id": "DEFAULT"
- },
- "type": "DELIVERY",
- "priority": 0,
- "depotSite": {
- "id": "P1Pickup"
- },
- "customerSite": {
- "id": "P1Delivery"
- },
- "timeWindows": [
- {
- "start": "2017-06-26T11:30:00.000Z",
- "end": "2017-06-26T14:30:00.000Z"
- }
- ],
- "preAllocatedTruckId" : "maria",
- "noTimeWindowTransformer": {
- "coefficient": "0"
- }
- }
- ],
- "vehicleTypologies": [
- {
- "id": "vehicleTypology1",
- "maxWeight": 100,
- "maxVolume": 100,
- "size": 1
- }
- ],
- "vehicles": [
- {
- "id": "joao",
- "vehicleTypology": {
- "id": "vehicleTypology1"
- },
- "legislationProfile": {
- "id": "DEFAULT"
- },
- "availablesPeriods": [
- {
- "timeWindow": {
- "start": "2017-06-26T11:30:00.000Z",
- "end": "2017-06-27T11:30:00.000Z"
- },
- "departureSite": {
- "id": "joao"
- },
- "arrivalSite": {
- "id": "joao"
- },
- "maxRoutesNumber": 1
- }
- ]
- },
- {
- "id": "maria",
- "vehicleTypology": {
- "id": "vehicleTypology1"
- },
- "legislationProfile": {
- "id": "DEFAULT"
- },
- "availablesPeriods": [
- {
- "timeWindow": {
- "start": "2017-06-26T11:30:00.000Z",
- "end": "2017-06-27T11:30:00.000Z\"\n"
- },
- "departureSite": {
- "id": "maria"
- },
- "arrivalSite": {
- "id": "maria"
- },
- "maxRoutesNumber": 1
- }
- ]
- }
- ],
- "products": [
- {
- "id": "DEFAULT"
- }
- ],
- "legislationProfiles": [
- {
- "id": "DEFAULT"
- }
- ],
- "logisticConstraints": [
- {
- "id": "DEFAULT",
- "unloadingFixedTimeSite": 0
- },
- {
- "id": "P1Pickup",
- "loadingFixedTimeSite": 420
- },
- {
- "id": "P1Delivery",
- "unloadingFixedTimeSite": 420
- }
- ]
- },
- "routesCalculationParameters": {
- "optimizationProfile": {
- "id": "T46GoHusky"
- },
- "tripsProfile": {
- "id": "ShortestGoHusky"
- },
- "calculationStartDate": "2017-06-26T11:30:00.000Z"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement