Skip to main content
GET
/
logistics
/
routes
/
{routePublicId}
Get a route
curl --request GET \
  --url https://api.maalbar.dk/logistics/routes/{routePublicId} \
  --header 'X-Api-Key: <api-key>'
{
  "publicId": "trr_xxxxxxxxxxxx",
  "toTransportLocation": {
    "publicId": "<string>",
    "type": "<string>",
    "name": "<string>",
    "own": true,
    "geographical": {
      "location": {
        "publicId": "<string>",
        "name": "<string>"
      }
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "address": "<string>",
    "city": "<string>",
    "zip": "<string>",
    "weeksRotation": 123,
    "totalCapacity": 123,
    "shelfHeight": 123,
    "stores": 123,
    "timeperiod": "<string>",
    "vatNumber": "<string>",
    "tier": "<string>"
  },
  "fromTransportLocation": {
    "publicId": "<string>",
    "type": "<string>",
    "name": "<string>",
    "own": true,
    "geographical": {
      "location": {
        "publicId": "<string>",
        "name": "<string>"
      }
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "address": "<string>",
    "city": "<string>",
    "zip": "<string>",
    "weeksRotation": 123,
    "totalCapacity": 123,
    "shelfHeight": 123,
    "stores": 123,
    "timeperiod": "<string>",
    "vatNumber": "<string>",
    "tier": "<string>"
  },
  "transportRouteLegs": [
    {
      "publicId": "tle_xxxxxxxxxxxx",
      "type": "<string>",
      "method": {
        "publicId": "trn_xxxxxxxxxxxx",
        "name": "<string>"
      },
      "distance": 123,
      "isCargoLoadedOnPallets": true,
      "emptyReturnFactor": 123,
      "order": 123,
      "note": "<string>"
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Response

Successful response

publicId
string
required
Required string length: 16
Example:

"trr_xxxxxxxxxxxx"

toTransportLocation
object
required
fromTransportLocation
object
required
transportRouteLegs
object[]
required