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/notification \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "nonce": "string", "user": { "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": [ { "nonce": "string", "versionNumber": 0, "hasAgreedToPrice": true, "transportMode": "maritime", "loadCapacities": [ {} ], "loadMeters": { "value": "string", "unit": "string" }, "actors": [ {} ], "legalStatistics": { "lastInstantOfAVehicleOwnerLocation": "2019-08-24T14:15:22Z", "countryCabotageStatistics": {}, "lastInstantOfInternationalTrip": "2019-08-24T14:15:22Z", "lastInternationalTripDestinationCountry": "string" }, "capacityContract": { "nonce": "string", "name": "string", "type": "permanentContract", "communicationMethod": "messageAutomation", "contract": {}, "business": { "documents": [], "banners": [], "locations": [], "identification": [], "contactDetails": [], "contactPersons": [] }, "administration": { "invoiceNumberIndex": {}, "quoteNumberIndex": {}, "invoiceStandardDocuments": [], "quoteStandardDocuments": [] }, "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "selfBilling": true, "currency": {}, "triggerType": "endOfWeek", "pricingModules": [ null ], "lastHandledSelfBilling": "2019-08-24T14:15:22Z", "signature": {}, "integration": { "dataSources": [], "integration": [], "filters": [] }, "messageAutomation": { "notes": [] }, "consignments": [ null ], "purchasedUnits": 0, "capacity": { "pricingModules": [] } }, "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": [ {} ] } ] } ] }, "image": { "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" }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ { "nonce": "string", "isRead": true, "by": { "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": [] } ] } ] }, "readAt": "2019-08-24T14:15:22Z" } ] }'
{ "success": true, "message": "string", "code": 0, "notification": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "user": { … }, "image": { … }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ … ] } }
curl -i -X POST \ https://docs.transportial.com/_mock/apis/notification \ -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", "user": { "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": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "vehicles": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "description": "string", "vin": "string", "licensePlate": "string", "vehicleType": "string", "transportMode": "maritime", "emissionStandard": "euro0", "fuelCapacity": { "value": "string", "unit": "string" }, "fuelType": "string", "maxLinks": 0, "loadCapacities": [ {} ], "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" }, "loadMeters": { "value": "string", "unit": "string" }, "operational": true, "actors": [ {} ], "legalStatistics": { "lastInstantOfAVehicleOwnerLocation": "2019-08-24T14:15:22Z", "countryCabotageStatistics": {}, "lastInstantOfInternationalTrip": "2019-08-24T14:15:22Z", "lastInternationalTripDestinationCountry": "string" }, "capacityContract": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "type": "permanentContract", "communicationMethod": "messageAutomation", "contract": {}, "business": { "documents": [], "banners": [], "locations": [], "identification": [], "contactDetails": [], "contactPersons": [] }, "administration": { "invoiceNumberIndex": {}, "quoteNumberIndex": {} }, "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "selfBilling": true, "currency": {}, "triggerType": "endOfWeek", "pricingModules": [ null ], "lastHandledSelfBilling": "2019-08-24T14:15:22Z", "signature": {}, "integration": { "dataSources": [], "filters": [] }, "messageAutomation": {}, "consignments": [ null ], "purchasedUnits": 0, "capacity": { "pricingModules": [] } }, "attributes": [ {} ], "stackCapacities": [ { "constraints": [] } ], "versionNumber": 0, "hasAgreedToPrice": true } ] } ], "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": { "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": {}, "file": {}, "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": [ {} ], "constraints": [ {} ], "pricingElements": [ {} ], "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": {}, "pricingConfigurationCount": 0, "hasAgreedToPrice": true }, "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 }, "accountType": "default", "standardLoadingSize": 0 }, "image": { "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" }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "isRead": true, "by": { "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": [ { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "name": "string", "vehicles": [ { "loadCapacities": [], "actors": [], "attributes": [], "stackCapacities": [] } ] } ], "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": { "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": {}, "pricingConfigurationCount": 0, "hasAgreedToPrice": true }, "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": [ 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", "invoiceNumbering": 0, "quoteNumbering": 0 }, "accountType": "default", "standardLoadingSize": 0 }, "readAt": "2019-08-24T14:15:22Z" } ] }'
{ "success": true, "message": "string", "code": 0, "notification": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "user": { … }, "image": { … }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ … ] } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/notification/{id}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "notification": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "user": { … }, "image": { … }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ … ] } }
curl -i -X DELETE \ 'https://docs.transportial.com/_mock/apis/notification/{id}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "notification": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "user": { … }, "image": { … }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ … ] } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/notifications/{offset}/{amount}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "totalResults": 0, "notifications": [ { … } ], "notificationsUnread": 0 }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/notification/{id}/read' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "notification": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "user": { … }, "image": { … }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ … ] } }
curl -i -X POST \ https://docs.transportial.com/_mock/apis/notification/read \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "notifications": [ "string" ] }'
{ "success": true, "message": "string", "code": 0, "notification": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "user": { … }, "image": { … }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ … ] } }
curl -i -X GET \ 'https://docs.transportial.com/_mock/apis/notification/{id}/received' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "success": true, "message": "string", "code": 0, "notification": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "user": { … }, "image": { … }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ … ] } }
curl -i -X POST \ https://docs.transportial.com/_mock/apis/notification/received \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "notifications": [ "string" ] }'
{ "success": true, "message": "string", "code": 0, "notification": { "id": "string", "nonce": "string", "uuid": "string", "primaryPlatformId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "user": { … }, "image": { … }, "title": "string", "link": "string", "message": "string", "notificationLevel": "INFO", "notificationState": "NORMAL", "push": true, "hasSentPush": true, "email": true, "hasSentEmail": true, "action": "string", "actionType": "NONE", "actionName": "string", "actionValue": "string", "date": "2019-08-24T14:15:22Z", "read": [ … ] } }