Skip to main content
GET
/
logistics
/
routes
Get all routes
curl --request GET \
  --url https://api.maalbar.dk/logistics/routes \
  --header 'X-Api-Key: <api-key>'
{
  "data": [
    {
      "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>"
      },
      "_count": {
        "transportRouteLegs": 123
      }
    }
  ],
  "pagination": {
    "page": 123,
    "pageSize": 123,
    "totalCount": 123,
    "totalPages": 123
  }
}

Authorizations

X-Api-Key
string
header
required

Response

Successful response

data
object[]
required
pagination
object
required