Location Access Restrictions Deprecated

GET /metadata/location_access_restrictions

Retrieve the list of valid Location Access Restriction objects for origin and destination locations.

The "Create a Quote Request" endpoint accepts a list of Location Access Restriction IDs for each location.

Headers

  • Authorization string Required

    Authorize your API calls with an Arta API token

Responses

  • 200 application/json

    A collection of API Versions

    Hide headers attributes Show headers attributes
    Hide response attributes Show response attributes object
    • A long form description

    • id string

      The ID representing the resource

    • name string

      A brief label for the resource

GET /metadata/location_access_restrictions
curl \
 -X GET https://api.arta.io/metadata/location_access_restrictions \
 -H "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y"
Response examples (200)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx

# Payload
[
  {
    "description": "The location can only be accessed by elevator",
    "id": "elevator_only",
    "name": "Only Elevator"
  }
]