Multifreight allows publishing a freight offer that includes multiple transport operations, with settlement per route or per ton of cargo.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
You can use any publishing method:
- Endpoint: /ext/freights-api/v1/freight-exchange
- Endpoint: /ext/freights-api/v1/freight-employees
- Endpoint: /ext/freights-api/v2/freights
- Endpoint: /ext/freights-api/v1/freight-companies
- Endpoint: /ext/freights-api/v1/freight-auto
- Endpoint: /ext/freights-api/v1/private-exchange
- Endpoint: /ext/freights-api/v1/freight-corporate
- 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.
Fields in requirements.transport
| Json | Type | Description |
| type | string | Always multi_ftl for multifreight. |
| settlement | string | Settlement method: route (per course) or ton (per ton). |
| settlement_basis | string | Required when settlement = ton. Values: loading, unloading. |
| schedule_type | string | Who defines schedule: carrier, shipper, together. |
| count | integer | Total number of courses. |
| total_weight | integer | Total weight in tons. Required when settlement = ton. |
| per_order_min | integer | Minimum number of courses per carrier. |
| per_order_max | integer | Maximum number of courses per carrier. |
| proposed_count | integer | Preferred number of courses per carrier. |
Example request – Settlement per Route
{
"publish": true,
"capacity": 24,
"requirements": {
"transport": {
"type": "multi_ftl",
"settlement": "route",
"schedule_type": "carrier",
"per_order_min": 4,
"per_order_max": 5,
"proposed_count": 4,
"count": 5
},
"required_truck_bodies": [
"dump-truck"
]
},
"loads": [
{
"load_id": "some-id",
"name": "Load name 1",
"amount": 33,
"type_of_load": "europalette"
}
],
"spots": [
{
"name": "Some place",
"spot_order": 1,
"place": {
"address": {
"country": "pl",
"street": "Racławicka",
"locality": "Wrocław",
"postal_code": "53-146"
},
"coordinates": {
"latitude": 51.085615,
"longitude": 17.0105
}
},
"operations": [
{
"type": "loading",
"operation_order": 1,
"operation_time": 15,
"timespans": {
"end": "2024-04-03T13:10:00+0000",
"begin": "2024-04-03T13:10:00+0000"
}
}
]
},
{
"name": "Other place",
"spot_order": 2,
"place": {
"address": {
"country": "de",
"street": "Aktienstraße 177",
"locality": "Essen",
"postal_code": "45359"
},
"coordinates": {
"latitude": 51.4518992,
"longitude": 6.9190441
}
},
"operations": [
{
"type": "unloading",
"operation_order": 1,
"operation_time": 15,
"timespans": {
"end": "2024-04-04T13:10:00+0000",
"begin": "2024-04-04T13:10:00+0000"
}
}
]
}
],
"payment": {
"price": {
"value": 100,
"currency": "eur"
}
}
}Example Request – Settlement per Ton
{
"publish": true,
"capacity": 24,
"requirements": {
"transport": {
"type": "multi_ftl",
"settlement": "ton",
"settlement_basis": "loading",
"schedule_type": "carrier",
"count": 5,
"total_weight": 120,
"per_order_min": 4,
"per_order_max": 5,
"proposed_count": 4
},
"required_truck_bodies": [
"dump-truck"
]
},
"loads": [
{
"load_id": "some-id",
"name": "Load name 1",
"amount": 33,
"type_of_load": "europalette"
}
],
"spots": [
{
"name": "Some place",
"spot_order": 1,
"place": {
"address": {
"country": "pl",
"street": "Racławicka",
"locality": "Wrocław",
"postal_code": "53-146"
},
"coordinates": {
"latitude": 51.085615,
"longitude": 17.0105
}
},
"operations": [
{
"type": "loading",
"operation_order": 1,
"operation_time": 15,
"timespans": {
"end": "2024-04-03T13:10:00+0000",
"begin": "2024-04-03T13:10:00+0000"
}
}
]
},
{
"name": "Other place",
"spot_order": 2,
"place": {
"address": {
"country": "de",
"street": "Aktienstraße 177",
"locality": "Essen",
"postal_code": "45359"
},
"coordinates": {
"latitude": 51.4518992,
"longitude": 6.9190441
}
},
"operations": [
{
"type": "unloading",
"operation_order": 1,
"operation_time": 15,
"timespans": {
"end": "2024-04-04T13:10:00+0000",
"begin": "2024-04-04T13:10:00+0000"
}
}
]
}
],
"payment": {
"price": {
"value": 100,
"currency": "eur"
}
}
}