Creating new ask for entry execution data for transport order in Trans.eu Platform and sending it directly to chosen carrier.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/orders-api/v1/orders/awaiting-entry-execution-data
- Method: POST
Headers:
- Content-type: application/json
- Accept: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Authorization
Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.
Data you can ask your carrier for:
- Name and surname of the driver (“driver.full_name”)
- Driver’s phone number (“driver.contact_phone”)
- Additional driver ID (“driver.identity_document_number”)
- Vehicle registration number (“vehicle.truck.registration_plate_number”)
- Vehicle emission class (“vehicle.truck.combustion_norm”,)
Json request example
{
"required_execution_data": [
"vehicle.truck.registration_plate_number",
"vehicle.truck.combustion_norm",
"driver.full_name",
"driver.identity_document_number",
"driver.contact_phone"
],
"freight": {
"requirements": {
"is_ftl": true,
"required_truck_bodies": [
"cooler"
],
"other_requirements": [
"lift"
],
"required_adr_classes": [
"1_adr_1"
],
"required_ways_of_loading": [
"1_top"
],
"vehicle_size_id": "5_solo",
"shipping_remarks": "testowy komentarz 1"
},
"carrier": {
"company_id": 9566291
},
"capacity": 20,
"loads": [],
"spots": [
{
"name": null,
"spot_order": 1,
"place": {
"address": {
"locality": "Kraków",
"postal_code": "31-008",
"country": "PL",
"street": "Stara",
"number": "12/2"
},
"coordinates": {
"latitude": 50.06143,
"longitude": 19.93658
}
},
"operations": [
{
"type": "loading",
"operation_order": 1,
"loads": [],
"timespans": {
"begin": "2024-09-20T10:00:00+0000",
"end": "2024-09-21T10:00:00+0000"
}
}
]
},
{
"name": null,
"spot_order": 2,
"place": {
"address": {
"locality": "Dąbrowa Środkowa",
"postal_code": "59-330",
"country": "PL",
"street": "Średnia",
"number": "34"
},
"coordinates": {
"latitude": 51.41828,
"longitude": 16.33485
}
},
"operations": [
{
"type": "unloading",
"operation_order": 1,
"loads": [],
"timespans": {
"begin": "2024-09-23T10:00:00+0000",
"end": "2024-09-24T10:00:00+0000"
}
}
]
}
]
},
"additional_terms": null,
"payment": {
"days": 365,
"price": {
"type": "km",
"value": 100,
"currency": "eur"
}
},
"monitoring": {
"required": true
}
}