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 PUT \ https://docs.transportial.com/_mock/apis/platform/billing/setup \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "id": "string", "companyName": "string", "vat": "string", "email": "string", "administrativeReference": { "name": "string", "street": "string", "houseNumber": "string", "houseNumberAddition": "string", "postalCode": "string", "city": "string", "country": "string" } }'
{ "success": true, "message": "string", "code": 0, "billingId": "string", "paymentIntentId": "string", "clientSecret": "string" }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/platform/billing/{id}/estimate' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "estimate": { "id": "string", "nonce": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "amount": 0.1, "currency": { … }, "taxRate": { … }, "inclusiveOfTax": true }, "endOfBillingPeriod": "2019-08-24T14:15:22Z" }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/platforms/billing/{id}/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "invoices": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/platform/billing/{id}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "billing": { "id": "string", "nonce": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "plan": { … }, "companyName": "string", "vat": "string", "email": "string", "administrativeReference": { … }, "customerId": "string", "intentId": "string", "lastBilled": "2019-08-24T14:15:22Z", "lastUsageEventsRun": "2019-08-24T14:15:22Z", "approvedBillingElementTypes": [ … ] } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/platforms/billing/{id}/usageEvents:byDateRange/{start}/{end}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "events": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/platforms/billing/{id}/usageEvents/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "events": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/platform/{id}/billing' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "billing": { "id": "string", "nonce": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "plan": { … }, "companyName": "string", "vat": "string", "email": "string", "administrativeReference": { … }, "customerId": "string", "intentId": "string", "lastBilled": "2019-08-24T14:15:22Z", "lastUsageEventsRun": "2019-08-24T14:15:22Z", "approvedBillingElementTypes": [ … ] } }
curl -i -X GET \ https://docs.transportial.com/_mock/apis/platform \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "platform": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "nameSpace": "string", "logo": { … }, "favicon": { … }, "notificationLogo": { … }, "fullLogo": { … }, "backgroundImage": { … }, "darkLogo": { … }, "darkFavicon": { … }, "darkNotificationLogo": { … }, "darkFullLogo": { … }, "darkBackgroundImage": { … }, "primaryColor": "string", "secondaryColor": "string", "darkPrimaryColor": "string", "darkSecondaryColor": "string", "hostNames": [ … ], "features": [ … ], "planningSettings": { … }, "pricingSettings": { … }, "credentialSettings": { … }, "routingSettings": { … }, "translationSettings": { … }, "uiSettings": { … }, "canRegister": true, "canRequestAccess": true, "description": "string", "contactEmail": "string", "apps": [ … ], "disablingAt": "2019-08-24T14:15:22Z", "disabled": true, "inWaitList": true } }
curl -i -X PUT \ https://docs.transportial.com/_mock/apis/platform \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "nameSpace": "string", "logo": { "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" }, "favicon": { "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" }, "notificationLogo": { "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" }, "fullLogo": { "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" }, "backgroundImage": { "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" }, "darkLogo": { "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" }, "darkFavicon": { "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" }, "darkNotificationLogo": { "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" }, "darkFullLogo": { "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" }, "darkBackgroundImage": { "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" }, "primaryColor": "string", "secondaryColor": "string", "darkPrimaryColor": "string", "darkSecondaryColor": "string", "hostNames": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "hostName": "string" } ], "features": [ { "name": "string" } ], "planningSettings": { "defaultDeliveryTerms": "EXW", "alwaysCombinedTransport": true, "finishTripOnActionsComplete": true, "loadActionDefaultDuration": 0, "unloadActionDefaultDuration": 0, "stopActionDefaultDuration": 0, "attachTransportEquipmentActionDefaultDuration": 0, "detachTransportEquipmentActionDefaultDuration": 0, "defaultTransportOrderTemplate": "string", "defaultTripStartDuration": 0 }, "pricingSettings": { "defaultChauffeurCostPricing": [ { "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": [ { "nonce": "string", "sequenceNr": 0, "name": "string", "description": "string", "taxRate": { "nonce": "string", "creditCode": "string", "debitCode": "string", "identifiers": [ null ], "name": "string", "description": "string", "jurisdiction": "string", "percentage": 0.1, "inclusive": true, "active": true }, "filters": [ { "filters": [] } ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ { "filters": [] } ], "sequenceNr": 0 } ], "oncePerInvoice": true } ], "defaultVehicleCostPricing": [ { "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": [ { "nonce": "string", "sequenceNr": 0, "name": "string", "description": "string", "taxRate": { "nonce": "string", "creditCode": "string", "debitCode": "string", "identifiers": [ null ], "name": "string", "description": "string", "jurisdiction": "string", "percentage": 0.1, "inclusive": true, "active": true }, "filters": [ { "filters": [] } ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ { "filters": [] } ], "sequenceNr": 0 } ], "oncePerInvoice": true } ] }, "credentialSettings": { "force2FA": true, "stripeKey": "string", "stripePublicKey": "string", "ptvKey": "string", "ptvSecret": "string", "awsKey": "string", "awsSecret": "string", "googleApiKey": "string", "googleApiSecret": "string", "googleCaptchaKey": "string", "googleCaptchaSecret": "string" }, "routingSettings": { "routingEngine": "transportial", "seaPassages": { "allowSuez": true, "allowPanama": true, "allowMalacca": true, "allowGibraltar": true, "allowDover": true, "allowBering": true, "allowMagellan": true, "allowBabelmandeb": true, "allowKiel": true, "allowCorinth": true, "allowNorthwest": true, "allowNortheast": true } }, "translationSettings": { "languagesLabels": [ { "language": "string", "labels": "string" } ] }, "uiSettings": { "disabledFields": [ "string" ], "requiredFields": [ "string" ], "requireVerifiedBusinesses": true }, "canRegister": true, "canRequestAccess": true, "description": "string", "contactEmail": "string", "apps": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "logo": { "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" }, "name": "string", "description": "string", "publisher": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "logo": { "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" }, "name": "string", "description": "string", "users": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "user", "username": "string", "avatar": { "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" }, "firstName": "string", "lastName": "string", "email": "string", "phone": "string", "passwordModified": "2019-08-24T14:15:22Z", "twoFactorAuthentication": true, "status": "DELETED", "loginMethod": "DEFAULT", "timezone": "string", "vehicleGroups": [ { "vehicles": [] } ], "activeAdministration": { "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": { "documents": [], "banners": [], "locations": [], "identification": [], "contactDetails": [], "contactPersons": [] }, "currency": {}, "balance": {}, "numberFormat": "string", "numberLength": 0, "dueDays": 0, "invoiceNumberIndex": {}, "quoteNumberIndex": {}, "automaticallySendReminders": true, "invoiceTermsAndConditions": "string", "quoteTermsAndConditions": "string", "invoiceNumbering": 0, "quoteNumbering": 0 }, "accountType": "default", "standardLoadingSize": 0 } ] }, "termsAndConditions": "string", "lastVersion": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "description": "string", "buildNumber": 0, "version": "string", "permissions": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "read": true, "write": true, "delete": true, "permissionScope": "PUBLIC", "isObjectPermission": true } ], "approved": true }, "versions": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "description": "string", "buildNumber": 0, "version": "string", "permissions": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "read": true, "write": true, "delete": true, "permissionScope": "PUBLIC", "isObjectPermission": true } ], "approved": true } ], "approved": true, "public": true } ], "disablingAt": "2019-08-24T14:15:22Z", "disabled": true, "inWaitList": true }'
{ "success": true, "message": "string", "code": 0, "platform": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "nameSpace": "string", "logo": { … }, "favicon": { … }, "notificationLogo": { … }, "fullLogo": { … }, "backgroundImage": { … }, "darkLogo": { … }, "darkFavicon": { … }, "darkNotificationLogo": { … }, "darkFullLogo": { … }, "darkBackgroundImage": { … }, "primaryColor": "string", "secondaryColor": "string", "darkPrimaryColor": "string", "darkSecondaryColor": "string", "hostNames": [ … ], "features": [ … ], "planningSettings": { … }, "pricingSettings": { … }, "credentialSettings": { … }, "routingSettings": { … }, "translationSettings": { … }, "uiSettings": { … }, "canRegister": true, "canRequestAccess": true, "description": "string", "contactEmail": "string", "apps": [ … ], "disablingAt": "2019-08-24T14:15:22Z", "disabled": true, "inWaitList": true } }
curl -i -X POST \ https://docs.transportial.com/_mock/apis/platform \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "nonce": "string", "name": "string", "nameSpace": "string", "logo": { "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" }, "favicon": { "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" }, "notificationLogo": { "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" }, "fullLogo": { "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" }, "backgroundImage": { "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" }, "darkLogo": { "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" }, "darkFavicon": { "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" }, "darkNotificationLogo": { "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" }, "darkFullLogo": { "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" }, "darkBackgroundImage": { "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" }, "primaryColor": "string", "secondaryColor": "string", "darkPrimaryColor": "string", "darkSecondaryColor": "string", "hostNames": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "hostName": "string" } ], "features": [ { "name": "string" } ], "planningSettings": { "defaultDeliveryTerms": "EXW", "alwaysCombinedTransport": true, "finishTripOnActionsComplete": true, "loadActionDefaultDuration": 0, "unloadActionDefaultDuration": 0, "stopActionDefaultDuration": 0, "attachTransportEquipmentActionDefaultDuration": 0, "detachTransportEquipmentActionDefaultDuration": 0, "defaultTransportOrderTemplate": "string", "defaultTripStartDuration": 0 }, "pricingSettings": { "defaultChauffeurCostPricing": [ { "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": [ { "nonce": "string", "sequenceNr": 0, "name": "string", "description": "string", "taxRate": { "nonce": "string", "creditCode": "string", "debitCode": "string", "identifiers": [ null ], "name": "string", "description": "string", "jurisdiction": "string", "percentage": 0.1, "inclusive": true, "active": true }, "filters": [ { "filters": [] } ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ { "filters": [] } ], "sequenceNr": 0 } ], "oncePerInvoice": true } ], "defaultVehicleCostPricing": [ { "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": [ { "nonce": "string", "sequenceNr": 0, "name": "string", "description": "string", "taxRate": { "nonce": "string", "creditCode": "string", "debitCode": "string", "identifiers": [ null ], "name": "string", "description": "string", "jurisdiction": "string", "percentage": 0.1, "inclusive": true, "active": true }, "filters": [ { "filters": [] } ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ { "filters": [] } ], "sequenceNr": 0 } ], "oncePerInvoice": true } ] }, "credentialSettings": { "force2FA": true, "stripeKey": "string", "stripePublicKey": "string", "ptvKey": "string", "ptvSecret": "string", "awsKey": "string", "awsSecret": "string", "googleApiKey": "string", "googleApiSecret": "string", "googleCaptchaKey": "string", "googleCaptchaSecret": "string" }, "routingSettings": { "routingEngine": "transportial", "seaPassages": { "allowSuez": true, "allowPanama": true, "allowMalacca": true, "allowGibraltar": true, "allowDover": true, "allowBering": true, "allowMagellan": true, "allowBabelmandeb": true, "allowKiel": true, "allowCorinth": true, "allowNorthwest": true, "allowNortheast": true } }, "translationSettings": { "languagesLabels": [ { "language": "string", "labels": "string" } ] }, "canRegister": true, "canRequestAccess": true, "description": "string", "contactEmail": "string", "apps": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "logo": { "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" }, "name": "string", "description": "string", "publisher": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "logo": { "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" }, "name": "string", "description": "string", "users": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "user", "username": "string", "avatar": { "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" }, "firstName": "string", "lastName": "string", "email": "string", "phone": "string", "passwordModified": "2019-08-24T14:15:22Z", "twoFactorAuthentication": true, "status": "DELETED", "loginMethod": "DEFAULT", "timezone": "string", "vehicleGroups": [ { "vehicles": [] } ], "activeAdministration": { "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": { "documents": [], "banners": [], "locations": [], "identification": [], "contactDetails": [], "contactPersons": [] }, "currency": {}, "balance": {}, "numberFormat": "string", "numberLength": 0, "dueDays": 0, "invoiceNumberIndex": {}, "quoteNumberIndex": {}, "automaticallySendReminders": true, "invoiceTermsAndConditions": "string", "quoteTermsAndConditions": "string", "invoiceNumbering": 0, "quoteNumbering": 0 }, "accountType": "default", "standardLoadingSize": 0 } ] }, "termsAndConditions": "string", "lastVersion": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "description": "string", "buildNumber": 0, "version": "string", "permissions": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "read": true, "write": true, "delete": true, "permissionScope": "PUBLIC", "isObjectPermission": true } ], "approved": true }, "versions": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "description": "string", "buildNumber": 0, "version": "string", "permissions": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "read": true, "write": true, "delete": true, "permissionScope": "PUBLIC", "isObjectPermission": true } ], "approved": true } ], "approved": true, "public": true } ], "disablingAt": "2019-08-24T14:15:22Z", "disabled": true, "inWaitList": true }'
{ "success": true, "message": "string", "code": 0, "platform": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "nameSpace": "string", "logo": { … }, "favicon": { … }, "notificationLogo": { … }, "fullLogo": { … }, "backgroundImage": { … }, "darkLogo": { … }, "darkFavicon": { … }, "darkNotificationLogo": { … }, "darkFullLogo": { … }, "darkBackgroundImage": { … }, "primaryColor": "string", "secondaryColor": "string", "darkPrimaryColor": "string", "darkSecondaryColor": "string", "hostNames": [ … ], "features": [ … ], "planningSettings": { … }, "pricingSettings": { … }, "credentialSettings": { … }, "routingSettings": { … }, "translationSettings": { … }, "uiSettings": { … }, "canRegister": true, "canRequestAccess": true, "description": "string", "contactEmail": "string", "apps": [ … ], "disablingAt": "2019-08-24T14:15:22Z", "disabled": true, "inWaitList": true } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/platform/{id}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "platform": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "nameSpace": "string", "logo": { … }, "favicon": { … }, "notificationLogo": { … }, "fullLogo": { … }, "backgroundImage": { … }, "darkLogo": { … }, "darkFavicon": { … }, "darkNotificationLogo": { … }, "darkFullLogo": { … }, "darkBackgroundImage": { … }, "primaryColor": "string", "secondaryColor": "string", "darkPrimaryColor": "string", "darkSecondaryColor": "string", "hostNames": [ … ], "features": [ … ], "planningSettings": { … }, "pricingSettings": { … }, "credentialSettings": { … }, "routingSettings": { … }, "translationSettings": { … }, "uiSettings": { … }, "canRegister": true, "canRequestAccess": true, "description": "string", "contactEmail": "string", "apps": [ … ], "disablingAt": "2019-08-24T14:15:22Z", "disabled": true, "inWaitList": true } }
curl -i -X DELETE \ 'https://docs.transportial.com/_mock/apis/platform/{id}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "platform": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "nameSpace": "string", "logo": { … }, "favicon": { … }, "notificationLogo": { … }, "fullLogo": { … }, "backgroundImage": { … }, "darkLogo": { … }, "darkFavicon": { … }, "darkNotificationLogo": { … }, "darkFullLogo": { … }, "darkBackgroundImage": { … }, "primaryColor": "string", "secondaryColor": "string", "darkPrimaryColor": "string", "darkSecondaryColor": "string", "hostNames": [ … ], "features": [ … ], "planningSettings": { … }, "pricingSettings": { … }, "credentialSettings": { … }, "routingSettings": { … }, "translationSettings": { … }, "uiSettings": { … }, "canRegister": true, "canRequestAccess": true, "description": "string", "contactEmail": "string", "apps": [ … ], "disablingAt": "2019-08-24T14:15:22Z", "disabled": true, "inWaitList": true } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/platforms/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "platforms": [ { … } ] }
curl -i -X POST \ 'https://docs.transportial.com/_mock/apis/platforms/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "platforms": [ { … } ] }
curl -i -X PUT \ https://docs.transportial.com/_mock/apis/platform/settings \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "id": "string", "name": "string", "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" }, "favicon": { "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" }, "notificationLogo": { "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" }, "fullLogo": { "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" }, "backgroundImage": { "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" }, "primaryColor": "string", "secondaryColor": "string", "darkPrimaryColor": "string", "darkSecondaryColor": "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": { "nonce": "string", "description": "string", "expiresAt": "2019-08-24T14:15:22Z", "fileName": "string", "mimeType": "string", "encoding": "string", "verified": true, "content": { "contentType": "data", "data": "string" }, "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" }, "externalAttributes": { "property1": {}, "property2": {} }, "name": "string" } } ], "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": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "addressGeoReference", "name": "string", "street": "string", "houseNumber": "string", "houseNumberAddition": "string", "postalCode": "string", "city": "string", "country": "string", "hash": "string" }, "administrativeReference": { "name": "string", "street": "string", "houseNumber": "string", "houseNumberAddition": "string", "postalCode": "string", "city": "string", "country": "string" }, "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" } ], "constraints": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "accessConstraint", "name": "string", "enforceability": "enforced", "description": "string" } ], "pricingElements": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "description": "string", "category": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "creditCode": "string", "debitCode": "string", "defaultValue": 0.1, "enabled": true }, "amount": { "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 } } ], "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": { "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 }, "taxRate": { "nonce": "string", "creditCode": "string", "debitCode": "string", "identifiers": [ { "nonce": "string", "name": "string", "system": "string", "value": "string", "expiredAt": "2019-08-24T14:15:22Z" } ], "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", "invoiceNumbering": 0, "quoteNumbering": 0 }, "pricingConfigurationCount": 0, "hasAgreedToPrice": true }, "features": [ { "name": "string" } ], "planningSettings": { "defaultDeliveryTerms": "EXW", "alwaysCombinedTransport": true, "finishTripOnActionsComplete": true, "loadActionDefaultDuration": 0, "unloadActionDefaultDuration": 0, "stopActionDefaultDuration": 0, "attachTransportEquipmentActionDefaultDuration": 0, "detachTransportEquipmentActionDefaultDuration": 0, "defaultTransportOrderTemplate": "string", "defaultTripStartDuration": 0 }, "pricingSettings": { "defaultChauffeurCostPricing": [ { "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": [ { "nonce": "string", "sequenceNr": 0, "name": "string", "description": "string", "taxRate": { "nonce": "string", "creditCode": "string", "debitCode": "string", "identifiers": [ null ], "name": "string", "description": "string", "jurisdiction": "string", "percentage": 0.1, "inclusive": true, "active": true }, "filters": [ { "filters": [] } ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ { "filters": [] } ], "sequenceNr": 0 } ], "oncePerInvoice": true } ], "defaultVehicleCostPricing": [ { "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": [ { "nonce": "string", "sequenceNr": 0, "name": "string", "description": "string", "taxRate": { "nonce": "string", "creditCode": "string", "debitCode": "string", "identifiers": [ null ], "name": "string", "description": "string", "jurisdiction": "string", "percentage": 0.1, "inclusive": true, "active": true }, "filters": [ { "filters": [] } ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ { "filters": [] } ], "sequenceNr": 0 } ], "oncePerInvoice": true } ] }, "credentialSettings": { "force2FA": true, "stripeKey": "string", "stripePublicKey": "string", "ptvKey": "string", "ptvSecret": "string", "awsKey": "string", "awsSecret": "string", "googleApiKey": "string", "googleApiSecret": "string", "googleCaptchaKey": "string", "googleCaptchaSecret": "string" }, "routingSettings": { "routingEngine": "transportial", "seaPassages": { "allowSuez": true, "allowPanama": true, "allowMalacca": true, "allowGibraltar": true, "allowDover": true, "allowBering": true, "allowMagellan": true, "allowBabelmandeb": true, "allowKiel": true, "allowCorinth": true, "allowNorthwest": true, "allowNortheast": true } }, "translationSettings": { "languagesLabels": [ { "language": "string", "labels": "string" } ] } }'
{ "success": true, "message": "string", "code": 0, "platform": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "nameSpace": "string", "logo": { … }, "favicon": { … }, "notificationLogo": { … }, "fullLogo": { … }, "backgroundImage": { … }, "darkLogo": { … }, "darkFavicon": { … }, "darkNotificationLogo": { … }, "darkFullLogo": { … }, "darkBackgroundImage": { … }, "primaryColor": "string", "secondaryColor": "string", "darkPrimaryColor": "string", "darkSecondaryColor": "string", "hostNames": [ … ], "features": [ … ], "planningSettings": { … }, "pricingSettings": { … }, "credentialSettings": { … }, "routingSettings": { … }, "translationSettings": { … }, "uiSettings": { … }, "canRegister": true, "canRequestAccess": true, "description": "string", "contactEmail": "string", "apps": [ … ], "disablingAt": "2019-08-24T14:15:22Z", "disabled": true, "inWaitList": true } }