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.
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 PUT \ https://docs.transportial.com/_mock/apis/messageAutomation \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "nonce": "string", "name": "string", "description": "string", "automationConfig": { "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "schedule": { "integrationSchedulerScheduleValue": 0, "integrationSchedulerScheduleType": "seconds", "milliseconds": 0 }, "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ], "query": { "nonce": "string", "fields": [ { "name": "string", "groupByAggregate": "count" } ], "entityType": "action", "joins": [ { "type": "inner_join", "entityType": "action", "onLeft": { "name": "string", "groupByAggregate": "count" }, "onRight": { "name": "string", "groupByAggregate": "count" } } ], "filters": [ { "nonce": "string", "sequenceNr": 0, "field": "string", "comparisonOperations": "equal", "value": "string", "valueType": "constant", "linkType": "and" } ], "groupBy": [ { "name": "string", "groupByAggregate": "count" } ], "having": { "name": "string", "groupByAggregate": "count" }, "sortFields": [ { "name": "string", "groupByAggregate": "count" } ], "sortDirection": "asc", "limit": 0, "offset": 0 }, "recipients": [ "string" ], "recipientSelector": "string", "toggleForAll": true, "channel": "email", "manualIntegration": { "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": [ { "sequenceNr": 0, "type": "constant", "regex": "string", "format": "string", "locale": "string", "zoneId": "string", "incomingPath": "string", "outgoingPath": "string", "fields": [ null ], "filters": [ null ], "options": [ null ] } ], "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": [ null ], "filters": [ null ], "options": [ null ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ null ], "sequenceNr": 0 } ], "template": true } ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "sectorType": "boardComputer", "manualType": "transics", "enabledFunctions": [ "string" ], "url": "string", "port": 0, "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" }, "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ], "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": [ { "vehicles": [] } ] }, "name": "string", "text": "string" } ] }, "includeAttachments": true, "subject": "string", "currentTriggerPosition": 0, "localizedTexts": [ { "language": { "nonce": "string", "name": "string", "localName": "string", "code": "string", "iso3166": "string", "decimalDelimiter": "string", "thousandDelimiter": "string", "dateFormat": "string", "measurementUnit": "metric" }, "content": "string", "messageTemplate": "string", "subject": "string" } ], "defaultLanguageId": "string", "languageSelector": "string" }, "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "template": true, "templateCategory": "string", "type": "messageAutomation", "notes": [ { "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" } ] }'
{ "success": true, "message": "string", "code": 0, "messageAutomation": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "messageAutomation", "name": "string", "description": "string", "automationConfig": { … }, "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "template": true, "templateCategory": "string" } }
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/messageAutomation \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "nonce": "string", "name": "string", "description": "string", "automationConfig": { "triggerType": "trigger", "triggerEvent": "afterCreatingTrip", "schedule": { "integrationSchedulerScheduleValue": 0, "integrationSchedulerScheduleType": "seconds", "milliseconds": 0 }, "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ], "query": { "nonce": "string", "fields": [ { "name": "string", "groupByAggregate": "count" } ], "entityType": "action", "joins": [ { "type": "inner_join", "entityType": "action", "onLeft": { "name": "string", "groupByAggregate": "count" }, "onRight": { "name": "string", "groupByAggregate": "count" } } ], "filters": [ { "nonce": "string", "sequenceNr": 0, "field": "string", "comparisonOperations": "equal", "value": "string", "valueType": "constant", "linkType": "and" } ], "groupBy": [ { "name": "string", "groupByAggregate": "count" } ], "having": { "name": "string", "groupByAggregate": "count" }, "sortFields": [ { "name": "string", "groupByAggregate": "count" } ], "sortDirection": "asc", "limit": 0, "offset": 0 }, "recipients": [ "string" ], "recipientSelector": "string", "toggleForAll": true, "channel": "email", "manualIntegration": { "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": [ { "sequenceNr": 0, "type": "constant", "regex": "string", "format": "string", "locale": "string", "zoneId": "string", "incomingPath": "string", "outgoingPath": "string", "fields": [ null ], "filters": [ null ], "options": [ null ] } ], "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": [ null ], "filters": [ null ], "options": [ null ] } ], "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ null ], "sequenceNr": 0 } ], "template": true } ], "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "sectorType": "boardComputer", "manualType": "transics", "enabledFunctions": [ "string" ], "url": "string", "port": 0, "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" }, "filters": [ { "selector": "string", "comparisonType": "equal", "value": "string", "linkType": "and", "filters": [ {} ], "sequenceNr": 0 } ], "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": [ { "vehicles": [] } ] }, "name": "string", "text": "string" } ] }, "includeAttachments": true, "subject": "string", "currentTriggerPosition": 0, "localizedTexts": [ { "language": { "nonce": "string", "name": "string", "localName": "string", "code": "string", "iso3166": "string", "decimalDelimiter": "string", "thousandDelimiter": "string", "dateFormat": "string", "measurementUnit": "metric" }, "content": "string", "messageTemplate": "string", "subject": "string" } ], "defaultLanguageId": "string", "languageSelector": "string" }, "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "template": true, "templateCategory": "string", "type": "messageAutomation", "notes": [ { "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" } ] }'
{ "success": true, "message": "string", "code": 0, "messageAutomation": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "messageAutomation", "name": "string", "description": "string", "automationConfig": { … }, "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "template": true, "templateCategory": "string" } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/messageAutomation/{id}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "messageAutomation": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "messageAutomation", "name": "string", "description": "string", "automationConfig": { … }, "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "template": true, "templateCategory": "string" } }
curl -i -X DELETE \ 'https://docs.transportial.com/_mock/apis/messageAutomation/{id}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "messageAutomation": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "messageAutomation", "name": "string", "description": "string", "automationConfig": { … }, "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "template": true, "templateCategory": "string" } }
curl -i -X POST \ 'https://docs.transportial.com/_mock/apis/messageAutomation/{id}/duplicate' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "messageAutomation": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "type": "messageAutomation", "name": "string", "description": "string", "automationConfig": { … }, "enabled": true, "lastHandled": "2019-08-24T14:15:22Z", "template": true, "templateCategory": "string" } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/messageAutomations/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "messageAutomations": [ { … } ] }
curl -i -X POST \ 'https://docs.transportial.com/_mock/apis/messageAutomations/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "messageAutomations": [ { … } ] }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/messageAutomation/{id}/tasks/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "messageAutomationTasks": [ { … } ] }
curl -i -X GET \ https://docs.transportial.com/_mock/apis/messageAutomation-templates \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "messageAutomations": [ { … } ] }