Replaced by /v2/transports endpoints.
GET
/transports/{transportId}
curl \
-X GET https://mpapi.proxy.omnicado.com/v1/transports/12?client_id=yourClientId&client_id=api_token_value \
-H "X-Application-Name: myApplicationName"
Response examples (200)
{
"data": {
"maxWeight": 34,
"deliveryDelay": 1,
"companyId": 4,
"companyName": "PPL",
"paymentMethods": [
{
"paymentMethodId": 2,
"name": "string",
"id": 34,
"cost": {
"cost": 30,
"currencyId": 1,
"currencyCode": "CZK",
"currencySign": "Kč"
}
}
],
"smallboxCosts": {
"smallSizeCost": 30,
"middleSizeCost": 45,
"largeSizeCost": 55,
"currencyId": 1,
"currencyCode": "CZK",
"currencySign": "Kč"
},
"bigboxCosts": {
"currencyId": 1,
"currencyCode": "CZK",
"currencySign": "Kč"
},
"id": 1,
"transportName": "PPL",
"packageSize": "SMALLBOX"
},
"result": {
"code": 200,
"status": "OK"
}
}
Response examples (200)
{
"data": {
"maxWeight": 34,
"deliveryDelay": 1,
"companyId": 4,
"companyName": "PPL",
"paymentMethods": [
{
"paymentMethodId": 2,
"name": "string",
"id": 34,
"cost": {
"cost": 30,
"currencyId": 1,
"currencyCode": "CZK",
"currencySign": "Kč"
}
}
],
"smallboxCosts": {
"smallSizeCost": 30,
"middleSizeCost": 45,
"largeSizeCost": 55,
"currencyId": 1,
"currencyCode": "CZK",
"currencySign": "Kč"
},
"bigboxCosts": {
"currencyId": 1,
"currencyCode": "CZK",
"currencySign": "Kč"
},
"id": 1,
"transportName": "PPL",
"packageSize": "SMALLBOX"
},
"result": {
"code": 200,
"status": "OK"
}
}