Our full API documentation can be found here for OTMS. It describes our endpoints and the way we accept data.
Events - like actions - model dynamic entities that couple various static entities at a certain moment in time. Events are used for either real-time updates, or updates on earlier provided data. Notice that in both event types these are updates on earlier provided data, whereas actions are usually used together with the entities they dynamically couple.
Goods are the items to be transported as part of a consignment. Goods can be divided into two sub-types of goods, depending on the use case and the level of detail. Goods either consists of items, describing the actual goods to be transported. Or a transport equipment, which is equipment used to carry the actual goods to be transported. Transport equipment is (usually) a means to an end, not something that needs to be transported on itself, such as pallets.
TransportEquipment are the items to be transported as part of a consignment. TransportEquipment can be divided into two sub-types of transportEquipment, depending on the use case and the level of detail. TransportEquipment either consists of items, describing the actual transportEquipment to be transported. Or a transport equipment, which is equipment used to carry the actual transportEquipment to be transported. Transport equipment is (usually) a means to an end, not something that needs to be transported on itself, such as pallets.
curl -i -X POST \ https://docs.transportial.com/_mock/apis/routing/calculate/route \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "locations": [ { "nonce": "string", "type": "warehouse", "name": "string", "unCode": "string", "geoReference": { "nonce": "string", "type": "addressGeoReference", "hash": "string", "name": "string", "street": "string", "houseNumber": "string", "houseNumberAddition": "string", "postCode": "string", "city": "string", "country": "string" }, "administrativeReference": { "name": "string", "street": "string", "houseNumber": "string", "houseNumberAddition": "string", "postalCode": "string", "city": "string", "country": "string" }, "contactPersons": [ { "nonce": "string", "firstName": "string", "lastName": "string", "position": "string", "email": "string", "phone": "string" } ], "hash": "string", "externalAttributes": { "property1": {}, "property2": {} }, "attributes": [ { "nonce": "string", "name": "string", "color": "string" } ], "remark": "string" } ], "vehicles": [ { "nonce": "string", "versionNumber": 0, "hasAgreedToPrice": true, "transportMode": "maritime", "loadCapacities": [ { "value": "string", "unit": "string" } ], "loadMeters": { "value": "string", "unit": "string" }, "actors": [ { "associationType": "inline" } ], "legalStatistics": { "lastInstantOfAVehicleOwnerLocation": "2019-08-24T14:15:22Z", "countryCabotageStatistics": { "property1": { "completedCabotageTrips": 0, "lastInstantOfCompletedCabotageTrip": "2019-08-24T14:15:22Z", "lastInstantOfInternationalTripWithCountryAsDestination": "2019-08-24T14:15:22Z" }, "property2": { "completedCabotageTrips": 0, "lastInstantOfCompletedCabotageTrip": "2019-08-24T14:15:22Z", "lastInstantOfInternationalTripWithCountryAsDestination": "2019-08-24T14:15:22Z" } }, "lastInstantOfInternationalTrip": "2019-08-24T14:15:22Z", "lastInternationalTripDestinationCountry": "string" }, "capacityContract": { "nonce": "string", "name": "string", "type": "permanentContract", "communicationMethod": "messageAutomation", "contract": { "nonce": "string", "title": "string", "description": "string", "deliveryTerms": "EXW", "contractor": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "relationType": "string", "alias": "string", "description": "string", "transportLicenseNumber": "string", "eori": "string", "scacCode": "string", "industry": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "abbreviated": "string", "enabled": true }, "website": "string", "coc": "string", "vat": "string", "verified": true, "documents": [ {} ], "logo": { "nonce": "string", "url": "string", "path": "string", "name": "string", "originalName": "string", "size": 0, "purpose": "string", "type": "IMAGE", "mimeType": "string", "extension": "string", "uploadedAt": "2019-08-24T14:15:22Z" }, "banners": [ {} ], "locations": [ { "contactDetails": [], "constraints": [], "pricingElements": [], "externalAttributes": {} } ], "identification": [ {} ], "contactDetails": [ {} ], "contactPersons": [ {} ], "administration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "primary": true, "business": {}, "currency": {}, "balance": {}, "numberFormat": "string", "numberLength": 0, "dueDays": 0, "invoiceNumberIndex": {}, "quoteNumberIndex": {}, "automaticallySendReminders": true, "invoiceTermsAndConditions": "string", "quoteTermsAndConditions": "string", "invoiceNumbering": 0, "quoteNumbering": 0 }, "pricingConfigurationCount": 0, "hasAgreedToPrice": true }, "contractorSignee": { "nonce": "string", "firstName": "string", "lastName": "string", "position": "string", "email": "string", "phone": "string" }, "client": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "relationType": "string", "alias": "string", "description": "string", "transportLicenseNumber": "string", "eori": "string", "scacCode": "string", "industry": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "abbreviated": "string", "enabled": true }, "website": "string", "coc": "string", "vat": "string", "verified": true, "documents": [ {} ], "logo": { "nonce": "string", "url": "string", "path": "string", "name": "string", "originalName": "string", "size": 0, "purpose": "string", "type": "IMAGE", "mimeType": "string", "extension": "string", "uploadedAt": "2019-08-24T14:15:22Z" }, "banners": [ {} ], "locations": [ { "contactDetails": [], "constraints": [], "pricingElements": [], "externalAttributes": {} } ], "identification": [ {} ], "contactDetails": [ {} ], "contactPersons": [ {} ], "administration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "primary": true, "business": {}, "currency": {}, "balance": {}, "numberFormat": "string", "numberLength": 0, "dueDays": 0, "invoiceNumberIndex": {}, "quoteNumberIndex": {}, "automaticallySendReminders": true, "invoiceTermsAndConditions": "string", "quoteTermsAndConditions": "string", "invoiceNumbering": 0, "quoteNumbering": 0 }, "pricingConfigurationCount": 0, "hasAgreedToPrice": true }, "clientSignee": { "nonce": "string", "firstName": "string", "lastName": "string", "position": "string", "email": "string", "phone": "string" } }, "business": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "relationType": "string", "alias": "string", "description": "string", "transportLicenseNumber": "string", "eori": "string", "scacCode": "string", "industry": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "abbreviated": "string", "enabled": true }, "website": "string", "coc": "string", "vat": "string", "verified": true, "documents": [ { "associationType": "inline", "entity": { "externalAttributes": {} } } ], "logo": { "nonce": "string", "url": "string", "path": "string", "name": "string", "originalName": "string", "size": 0, "purpose": "string", "type": "IMAGE", "mimeType": "string", "extension": "string", "uploadedAt": "2019-08-24T14:15:22Z" }, "banners": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "url": "string", "path": "string", "name": "string", "originalName": "string", "size": 0, "purpose": "string", "type": "IMAGE", "mimeType": "string", "extension": "string", "uploadedAt": "2019-08-24T14:15:22Z" } ], "locations": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "warehouse", "name": "string", "unCode": "string", "geoReference": {}, "administrativeReference": {}, "contactDetails": [ null ], "constraints": [ null ], "pricingElements": [ null ], "remark": "string", "hash": "string", "externalAttributes": { "property1": {}, "property2": {} } } ], "identification": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "url": "string", "path": "string", "name": "string", "originalName": "string", "size": 0, "purpose": "string", "type": "IMAGE", "mimeType": "string", "extension": "string", "uploadedAt": "2019-08-24T14:15:22Z" } ], "contactDetails": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "iban", "value": "string", "remarks": "string" } ], "contactPersons": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "firstName": "string", "lastName": "string", "position": "string", "email": "string", "phone": "string" } ], "administration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "primary": true, "business": {}, "currency": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "short": "string", "sign": "string", "decimalDelimiter": "string", "thousandDelimiter": "string", "enabled": true }, "balance": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "amount": 0.1, "currency": {}, "taxRate": { "identifiers": [] }, "inclusiveOfTax": true }, "numberFormat": "string", "numberLength": 0, "dueDays": 0, "invoiceNumberIndex": { "property1": 0, "property2": 0 }, "quoteNumberIndex": { "property1": 0, "property2": 0 }, "automaticallySendReminders": true, "invoiceTermsAndConditions": "string", "quoteTermsAndConditions": "string", "invoiceNumbering": 0, "quoteNumbering": 0 }, "pricingConfigurationCount": 0, "hasAgreedToPrice": true }, "administration": { "nonce": "string", "name": "string", "primary": true, "business": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "relationType": "string", "alias": "string", "description": "string", "transportLicenseNumber": "string", "eori": "string", "scacCode": "string", "industry": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "abbreviated": "string", "enabled": true }, "website": "string", "coc": "string", "vat": "string", "verified": true, "documents": [ {} ], "logo": { "nonce": "string", "url": "string", "path": "string", "name": "string", "originalName": "string", "size": 0, "purpose": "string", "type": "IMAGE", "mimeType": "string", "extension": "string", "uploadedAt": "2019-08-24T14:15:22Z" }, "banners": [ {} ], "locations": [ { "contactDetails": [], "constraints": [], "pricingElements": [], "externalAttributes": {} } ], "identification": [ {} ], "contactDetails": [ {} ], "contactPersons": [ {} ], "administration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "primary": true, "business": {}, "currency": {}, "balance": {}, "numberFormat": "string", "numberLength": 0, "dueDays": 0, "invoiceNumberIndex": {}, "quoteNumberIndex": {}, "automaticallySendReminders": true, "invoiceTermsAndConditions": "string", "quoteTermsAndConditions": "string", "invoiceNumbering": 0, "quoteNumbering": 0 }, "pricingConfigurationCount": 0, "hasAgreedToPrice": true }, "currency": { "nonce": "string", "name": "string", "short": "string", "sign": "string", "decimalDelimiter": "string", "thousandDelimiter": "string", "enabled": true }, "balance": { "nonce": "string", "amount": 0.1, "currency": { "nonce": "string", "name": "string", "short": "string", "sign": "string", "decimalDelimiter": "string", "thousandDelimiter": "string", "enabled": true }, "taxRate": { "nonce": "string", "creditCode": "string", "debitCode": "string", "identifiers": [ null ], "name": "string", "description": "string", "jurisdiction": "string", "percentage": 0.1, "inclusive": true, "active": true }, "inclusiveOfTax": true }, "numberFormat": "string", "numberLength": 0, "dueDays": 0, "invoiceNumberIndex": { "property1": 0, "property2": 0 }, "quoteNumberIndex": { "property1": 0, "property2": 0 }, "automaticallySendReminders": true, "invoiceTermsAndConditions": "string", "quoteTermsAndConditions": "string", "invoiceStandardDocuments": [ { "nonce": "string", "description": "string", "expiresAt": "2019-08-24T14:15:22Z", "fileName": "string", "mimeType": "string", "encoding": "string", "verified": true, "content": {}, "file": {}, "externalAttributes": { "property1": {}, "property2": {} }, "name": "string" } ], "quoteStandardDocuments": [ { "nonce": "string", "description": "string", "expiresAt": "2019-08-24T14:15:22Z", "fileName": "string", "mimeType": "string", "encoding": "string", "verified": true, "content": {}, "file": {}, "externalAttributes": { "property1": {}, "property2": {} }, "name": "string" } ], "invoiceNumbering": 0, "quoteNumbering": 0 }, "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "selfBilling": true, "currency": { "nonce": "string", "name": "string", "short": "string", "sign": "string", "decimalDelimiter": "string", "thousandDelimiter": "string", "enabled": true }, "triggerType": "endOfWeek", "pricingModules": [ { "nonce": "string", "type": "fixed", "name": "string", "sequenceNr": 0, "description": "string", "category": { "nonce": "string", "name": "string", "creditCode": "string", "debitCode": "string", "defaultValue": 0.1, "enabled": true }, "taxRates": [ { "filters": [] } ], "filters": [ { "filters": [] } ], "oncePerInvoice": true } ], "lastHandledSelfBilling": "2019-08-24T14:15:22Z", "signature": { "nonce": "string", "ip": "string", "userAgent": "string", "date": "2019-08-24T14:15:22Z", "file": { "nonce": "string", "url": "string", "path": "string", "name": "string", "originalName": "string", "size": 0, "purpose": "string", "type": "IMAGE", "mimeType": "string", "extension": "string", "uploadedAt": "2019-08-24T14:15:22Z" } }, "integration": { "nonce": "string", "type": "manual", "name": "string", "description": "string", "schedule": { "integrationSchedulerScheduleValue": 0, "integrationSchedulerScheduleType": "seconds", "milliseconds": 0 }, "dataSources": [ { "nonce": "string", "directionType": "in", "connectionType": "api", "requestMethod": "get", "dataType": "xml", "entityType": "action", "url": "string", "port": 0, "path": "string", "token": "string", "query": "string", "parameters": [ null ], "allowedIps": [ null ], "hasAuthentication": true, "credentials": { "externalAttributes": {}, "headers": {} }, "otm": true, "fields": [ null ], "filters": [ null ], "template": true } ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "integration": [ { "nonce": "string", "author": { "vehicleGroups": [] }, "name": "string", "text": "string" } ], "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ null ], "sequenceNr": 0 } ] }, "messageAutomation": { "nonce": "string", "name": "string", "description": "string", "automationConfig": { "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "schedule": { "integrationSchedulerScheduleValue": 0, "integrationSchedulerScheduleType": "seconds", "milliseconds": 0 }, "filters": [ { "filters": [] } ], "query": { "nonce": "string", "fields": [ null ], "entityType": "action", "joins": [ null ], "filters": [ null ], "groupBy": [ null ], "having": {}, "sortFields": [ null ], "sortDirection": "asc", "limit": 0, "offset": 0 }, "recipients": [ "string" ], "recipientSelector": "string", "toggleForAll": true, "channel": "email", "manualIntegration": { "nonce": "string", "type": "manual", "name": "string", "description": "string", "schedule": {}, "dataSources": [ null ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "sectorType": "boardComputer", "manualType": "transics", "enabledFunctions": [ null ], "url": "string", "port": 0, "credentials": { "externalAttributes": {}, "headers": {} }, "filters": [ null ], "integration": [ null ] }, "includeAttachments": true, "subject": "string", "currentTriggerPosition": 0, "localizedTexts": [ {} ], "defaultLanguageId": "string", "languageSelector": "string" }, "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "template": true, "templateCategory": "string", "type": "messageAutomation", "notes": [ { "nonce": "string", "author": { "vehicleGroups": [] }, "name": "string", "text": "string" } ] }, "consignments": [ { "nonce": "string", "versionNumber": 0, "hasAgreedToPrice": true, "name": "string", "consignmentNr": "string", "description": "string", "status": "draft", "highValueGoods": true, "goods": [ {} ], "consignment": {}, "originalPhysicalSender": { "nonce": "string", "type": "warehouse", "name": "string", "unCode": "string", "geoReference": {}, "administrativeReference": {}, "contactPersons": [ null ], "hash": "string", "externalAttributes": { "property1": {}, "property2": {} }, "attributes": [ null ], "remark": "string" }, "originalLegalSender": { "nonce": "string", "type": "warehouse", "name": "string", "unCode": "string", "geoReference": {}, "administrativeReference": {}, "contactPersons": [ null ], "hash": "string", "externalAttributes": { "property1": {}, "property2": {} }, "attributes": [ null ], "remark": "string" }, "originalPhysicalAddressee": { "nonce": "string", "type": "warehouse", "name": "string", "unCode": "string", "geoReference": {}, "administrativeReference": {}, "contactPersons": [ null ], "hash": "string", "externalAttributes": { "property1": {}, "property2": {} }, "attributes": [ null ], "remark": "string" }, "originalLegalAddressee": { "nonce": "string", "type": "warehouse", "name": "string", "unCode": "string", "geoReference": {}, "administrativeReference": {}, "contactPersons": [ null ], "hash": "string", "externalAttributes": { "property1": {}, "property2": {} }, "attributes": [ null ], "remark": "string" }, "isPlannedToLastLocation": true, "documents": [ {} ], "actors": [ {} ], "pricingElements": [ {} ], "externalAttributes": { "property1": {}, "property2": {} }, "expectedRevenue": { "nonce": "string", "amount": 0.1, "currency": {}, "taxRate": { "identifiers": [] }, "inclusiveOfTax": true }, "expectedCost": { "nonce": "string", "amount": 0.1, "currency": {}, "taxRate": { "identifiers": [] }, "inclusiveOfTax": true }, "combined": true, "type": "string", "remark": "string", "constraints": [ {} ], "attributes": [ {} ] } ], "purchasedUnits": 0, "capacity": { "nonce": "string", "name": "string", "description": "string", "business": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "relationType": "string", "alias": "string", "description": "string", "transportLicenseNumber": "string", "eori": "string", "scacCode": "string", "industry": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "abbreviated": "string", "enabled": true }, "website": "string", "coc": "string", "vat": "string", "verified": true, "documents": [ {} ], "logo": { "nonce": "string", "url": "string", "path": "string", "name": "string", "originalName": "string", "size": 0, "purpose": "string", "type": "IMAGE", "mimeType": "string", "extension": "string", "uploadedAt": "2019-08-24T14:15:22Z" }, "banners": [ {} ], "locations": [ { "contactDetails": [], "constraints": [], "pricingElements": [], "externalAttributes": {} } ], "identification": [ {} ], "contactDetails": [ {} ], "contactPersons": [ {} ], "administration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "primary": true, "business": {}, "currency": {}, "balance": {}, "numberFormat": "string", "numberLength": 0, "dueDays": 0, "invoiceNumberIndex": {}, "quoteNumberIndex": {}, "automaticallySendReminders": true, "invoiceTermsAndConditions": "string", "quoteTermsAndConditions": "string", "invoiceNumbering": 0, "quoteNumbering": 0 }, "pricingConfigurationCount": 0, "hasAgreedToPrice": true }, "schedule": { "nonce": "string", "name": "string", "description": "string", "weekDays": [ "sunday" ], "startDate": "2019-08-24T14:15:22Z", "endDate": "2019-08-24T14:15:22Z", "timeSlotTemplates": [ { "pricingModules": [] } ], "timeSlots": [ { "consignments": [] } ] }, "modality": "maritime", "subType": "load", "capacityPerUnit": { "value": "string", "unit": "string" }, "totalUnits": 0, "availableCapacity": { "value": "string", "unit": "string" }, "totalCapacity": { "value": "string", "unit": "string" }, "pricingModules": [ { "nonce": "string", "type": "fixed", "name": "string", "sequenceNr": 0, "description": "string", "category": {}, "taxRates": [ null ], "filters": [ null ], "oncePerInvoice": true } ] } }, "name": "string", "description": "string", "vin": "string", "licensePlate": "string", "vehicleType": "string", "emissionStandard": "euro0", "fuelCapacity": { "value": "string", "unit": "string" }, "fuelType": "string", "maxLinks": 0, "length": { "value": "string", "unit": "string" }, "height": { "value": "string", "unit": "string" }, "width": { "value": "string", "unit": "string" }, "loadLength": { "value": "string", "unit": "string" }, "loadHeight": { "value": "string", "unit": "string" }, "loadWidth": { "value": "string", "unit": "string" }, "maxWeight": { "value": "string", "unit": "string" }, "emptyWeight": { "value": "string", "unit": "string" }, "operational": true, "attributes": [ { "nonce": "string", "name": "string", "color": "string" } ] } ], "constraints": [ { "nonce": "string", "name": "string", "enforceability": "enforced", "type": "accessConstraint", "description": "string" } ], "startDateTime": "2019-08-24T14:15:22Z" }'
{ "success": true, "message": "string", "code": 0, "route": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "time": 0, "cost": 0, "distance": 0, "expenses": [ … ], "additionalInfo": { … }, "lineString": "string", "actors": [ … ], "actions": [ … ], "constraints": [ … ] } }