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/integration \ -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", "type": "configured", "name": "string", "description": "string", "schedule": { "integrationSchedulerScheduleValue": 0, "integrationSchedulerScheduleType": "seconds", "milliseconds": 0 }, "dataSources": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "directionType": "in", "connectionType": "api", "requestMethod": "get", "dataType": "xml", "entityType": "action", "url": "string", "port": 0, "path": "string", "token": "string", "query": "string", "parameters": [ { "sequenceNr": 0, "type": "constant", "regex": "string", "format": "string", "locale": "string", "zoneId": "string", "incomingPath": "string", "outgoingPath": "string", "fields": [ {} ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ null ], "sequenceNr": 0 } ], "options": [ "identifier" ] } ], "allowedIps": [ "string" ], "hasAuthentication": true, "credentials": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "authenticationMethod": "apiKey", "username": "string", "password": "string", "accessKey": "string", "secretKey": "string", "clientId": "string", "clientSecret": "string", "grantType": "string", "scope": "string", "apiKey": "string", "bearer": "string", "sshKey": { "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" }, "sshTunnel": true, "sshHost": "string", "sshUsername": "string", "sshPassword": "string", "externalAttributes": { "property1": {}, "property2": {} }, "headers": { "property1": {}, "property2": {} }, "oauthUrl": "string", "oAuthCache": "string", "oAuthCacheCreationDate": "2019-08-24T14:15:22Z", "openIdToken": "string", "openIdRefreshToken": "string", "openIdAccessToken": "string", "openIdExpiration": "2019-08-24T14:15:22Z" }, "otm": true, "fields": [ { "sequenceNr": 0, "type": "constant", "regex": "string", "format": "string", "locale": "string", "zoneId": "string", "incomingPath": "string", "outgoingPath": "string", "fields": [ {} ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ null ], "sequenceNr": 0 } ], "options": [ "identifier" ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ], "template": true } ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ] }'
{ "success": true, "message": "string", "code": 0, "integration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "manual", "name": "string", "description": "string", "schedule": { … }, "dataSources": [ … ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ … ] } }
curl -i -X POST \ https://docs.transportial.com/_mock/apis/integration \ -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", "type": "configured", "name": "string", "description": "string", "schedule": { "integrationSchedulerScheduleValue": 0, "integrationSchedulerScheduleType": "seconds", "milliseconds": 0 }, "dataSources": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "directionType": "in", "connectionType": "api", "requestMethod": "get", "dataType": "xml", "entityType": "action", "url": "string", "port": 0, "path": "string", "token": "string", "query": "string", "parameters": [ { "sequenceNr": 0, "type": "constant", "regex": "string", "format": "string", "locale": "string", "zoneId": "string", "incomingPath": "string", "outgoingPath": "string", "fields": [ {} ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ null ], "sequenceNr": 0 } ], "options": [ "identifier" ] } ], "allowedIps": [ "string" ], "hasAuthentication": true, "credentials": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "authenticationMethod": "apiKey", "username": "string", "password": "string", "accessKey": "string", "secretKey": "string", "clientId": "string", "clientSecret": "string", "grantType": "string", "scope": "string", "apiKey": "string", "bearer": "string", "sshKey": { "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" }, "sshTunnel": true, "sshHost": "string", "sshUsername": "string", "sshPassword": "string", "externalAttributes": { "property1": {}, "property2": {} }, "headers": { "property1": {}, "property2": {} }, "oauthUrl": "string", "oAuthCache": "string", "oAuthCacheCreationDate": "2019-08-24T14:15:22Z", "openIdToken": "string", "openIdRefreshToken": "string", "openIdAccessToken": "string", "openIdExpiration": "2019-08-24T14:15:22Z" }, "otm": true, "fields": [ { "sequenceNr": 0, "type": "constant", "regex": "string", "format": "string", "locale": "string", "zoneId": "string", "incomingPath": "string", "outgoingPath": "string", "fields": [ {} ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ null ], "sequenceNr": 0 } ], "options": [ "identifier" ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ], "template": true } ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ] }'
{ "success": true, "message": "string", "code": 0, "integration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "manual", "name": "string", "description": "string", "schedule": { … }, "dataSources": [ … ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ … ] } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/integration/{id}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "integration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "manual", "name": "string", "description": "string", "schedule": { … }, "dataSources": [ … ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ … ] } }
curl -i -X DELETE \ 'https://docs.transportial.com/_mock/apis/integration/{id}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "integration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "manual", "name": "string", "description": "string", "schedule": { … }, "dataSources": [ … ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ … ] } }
Nonce, a field that is not saved and returns exactly the same value you sent. This ensures you can identify your object that has been updated or created.
curl -i -X POST \ https://docs.transportial.com/_mock/apis/integration/generate/credentials \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "nonce": "string", "authenticationMethod": "apiKey", "username": "string", "password": "string", "accessKey": "string", "secretKey": "string", "clientId": "string", "clientSecret": "string", "grantType": "string", "scope": "string", "apiKey": "string", "bearer": "string", "sshKey": { "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" }, "sshTunnel": true, "sshHost": "string", "sshUsername": "string", "sshPassword": "string", "externalAttributes": { "property1": {}, "property2": {} }, "headers": { "property1": {}, "property2": {} }, "oauthUrl": "string", "oAuthCache": "string", "oAuthCacheCreationDate": "2019-08-24T14:15:22Z", "openIdToken": "string", "openIdRefreshToken": "string", "openIdAccessToken": "string", "openIdExpiration": "2019-08-24T14:15:22Z" }'
{ "success": true, "message": "string", "code": 0, "credentials": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "authenticationMethod": "apiKey", "username": "string", "password": "string", "accessKey": "string", "secretKey": "string", "clientId": "string", "clientSecret": "string", "grantType": "string", "scope": "string", "apiKey": "string", "bearer": "string", "sshKey": { … }, "sshTunnel": true, "sshHost": "string", "sshUsername": "string", "sshPassword": "string", "externalAttributes": { … }, "headers": { … }, "oauthUrl": "string", "oAuthCache": "string", "oAuthCacheCreationDate": "2019-08-24T14:15:22Z", "openIdToken": "string", "openIdRefreshToken": "string", "openIdAccessToken": "string", "openIdExpiration": "2019-08-24T14:15:22Z" } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/integration/{id}/logs/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "integrationLogs": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/integration/{id}/objects/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "integrationObjects": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/integration/{id}/requestLogs/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "requestLogs": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/integration/{id}/tasks/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "integrationTasks": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/integrations/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "integrations": [ { … } ] }
curl -i -X POST \ 'https://docs.transportial.com/_mock/apis/integrations/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "integrations": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/integration/type/{type}/functions' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "functions": [ "string" ] }
curl -i -X POST \ https://docs.transportial.com/_mock/apis/integration/import/data \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "success": true, "message": "string", "code": 0 }'
{ "data": "string", "entityType": "action", "fields": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/integration/{id}/dataSource/{dataSourceId}/{token}' \ -H 'Authorisation: string' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'X-API-KEY: string' \ -H 'X-API-SECRET: string'
{ "success": true, "message": "string", "code": 0, "integration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "manual", "name": "string", "description": "string", "schedule": { … }, "dataSources": [ … ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ … ] } }
curl -i -X POST \ https://docs.transportial.com/_mock/apis/integration/email \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "integration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "manual", "name": "string", "description": "string", "schedule": { … }, "dataSources": [ … ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ … ] } }
curl -i -X PUT \ 'https://docs.transportial.com/_mock/apis/integration/{id}/openId?token=string' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0 }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/integration/{id}/{token}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "integration": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "manual", "name": "string", "description": "string", "schedule": { … }, "dataSources": [ … ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ … ] } }
curl -i -X POST \ https://docs.transportial.com/_mock/apis/integration/dataSource/mapping:test \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "success": true, "message": "string", "code": 0, "data": "string" }'
{ "data": "string", "dataSource": { "id": "string", "nonce": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "directionType": "in", "connectionType": "api", "requestMethod": "get", "dataType": "xml", "entityType": "action", "url": "string", "port": 0, "path": "string", "token": "string", "query": "string", "parameters": [ … ], "allowedIps": [ … ], "hasAuthentication": true, "credentials": { … }, "otm": true, "fields": [ … ], "filters": [ … ], "template": true } }
Nonce, a field that is not saved and returns exactly the same value you sent. This ensures you can identify your object that has been updated or created.
curl -i -X POST \ https://docs.transportial.com/_mock/apis/integration/fileTemplate/mapping:test \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "nonce": "string", "type": "configured", "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": [ { "sequenceNr": 0, "type": "constant", "regex": "string", "format": "string", "locale": "string", "zoneId": "string", "incomingPath": "string", "outgoingPath": "string", "fields": [ {} ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ null ], "sequenceNr": 0 } ], "options": [ "identifier" ] } ], "allowedIps": [ "string" ], "hasAuthentication": true, "credentials": { "nonce": "string", "authenticationMethod": "apiKey", "username": "string", "password": "string", "accessKey": "string", "secretKey": "string", "clientId": "string", "clientSecret": "string", "grantType": "string", "scope": "string", "apiKey": "string", "bearer": "string", "sshKey": { "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" }, "sshTunnel": true, "sshHost": "string", "sshUsername": "string", "sshPassword": "string", "externalAttributes": { "property1": {}, "property2": {} }, "headers": { "property1": {}, "property2": {} }, "oauthUrl": "string", "oAuthCache": "string", "oAuthCacheCreationDate": "2019-08-24T14:15:22Z", "openIdToken": "string", "openIdRefreshToken": "string", "openIdAccessToken": "string", "openIdExpiration": "2019-08-24T14:15:22Z" }, "otm": true, "fields": [ { "sequenceNr": 0, "type": "constant", "regex": "string", "format": "string", "locale": "string", "zoneId": "string", "incomingPath": "string", "outgoingPath": "string", "fields": [ {} ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ null ], "sequenceNr": 0 } ], "options": [ "identifier" ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ], "template": true } ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "integration": [ { "nonce": "string", "author": { "nonce": "string", "hasAgreedToPrice": true, "type": "user", "username": "string", "firstName": "string", "lastName": "string", "email": "string", "phone": "string", "passwordModified": "2019-08-24T14:15:22Z", "twoFactorAuthentication": true, "status": "DELETED", "loginMethod": "DEFAULT", "accountType": "default", "standardLoadingSize": 10, "timezone": "string", "vehicleGroups": [ { "nonce": "string", "name": "string", "vehicles": [ { "loadCapacities": [], "actors": [], "attributes": [] } ] } ] }, "name": "string", "text": "string" } ], "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ] }'
{ "success": true, "message": "string", "code": 0, "data": "string" }
curl -i -X POST \ https://docs.transportial.com/_mock/apis/integration/file/upload \ -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", "url": "string", "path": "string", "name": "string", "originalName": "string", "size": 0, "purpose": "string", "type": "IMAGE", "mimeType": "string", "extension": "string", "uploadedAt": "2019-08-24T14:15:22Z" }'
{ "success": true, "message": "string", "code": 0, "file": { "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" }, "matrix": [ [ … ] ], "matrixFingerPrint": "string", "html": "string", "htmlFingerPrint": "string" }