GET
/
ims
/
groupings
/
station-tracks
List station tracks
curl --request GET \
  --url https://api-lg.arms.cedarai.com/ims/groupings/station-tracks \
  --header 'Content-Type: application/json' \
  --header 'x-arms-api-key: <api-key>' \
  --header 'x-arms-assume-user: <api-key>' \
  --data '{
  "carrierId": 123
}'
{
  "items": [
    {
      "resourceType": "Grouping",
      "resourceId": 123,
      "name": "<string>",
      "groupingType": "<string>",
      "sortOrder": 123,
      "children": [
        {
          "resourceType": "Grouping",
          "resourceId": 123,
          "name": "<string>",
          "groupingType": "<string>",
          "sortOrder": 123
        }
      ],
      "attributes": {
        "length": 123,
        "spots": [
          "<string>"
        ]
      },
      "equipmentCount": {
        "online": 123
      }
    }
  ]
}

Authorizations

x-arms-api-key
string
header
required

Your ARMS API key

x-arms-assume-user
string
header
required

Email of a user assigned to the appropriate user group

Query Parameters

carrierId
integer
required

Carrier identifier; required for all endpoints

viewAsUserGroup
string

Optional user group context

Body

application/json

Response

200
application/json

OK

The response is of type object.