---
title: "getHierarchiesV1"
method: GET
path: "/cruise/hierarchy/v1/getHierarchies"
tags: ["Hierarchy Service"]
---

# getHierarchiesV1

`GET /cruise/hierarchy/v1/getHierarchies`

## Request

- Base URL: `//webservices-test.net-chef.com` (relative, and the document’s source URL is not known)
- URL: `//webservices-test.net-chef.com/cruise/hierarchy/v1/getHierarchies`
- Auth: none declared. Required headers: `authenticationtoken`, `sitename`

Retrieve a list of hierarchies.

## Headers

- `authenticationtoken` string, required
- `password` string
- `sitename` string, required
- `userid` string
- `X-B3-TraceId` string

## Response `200`

Success

- HierarchyV1Type: HierarchyV1 Type description
  - `hierarchyType` string, required: "Hierarchy Type" (the name of the hierarchy) from Hierarchy setup screen.

## Other responses

- `400`: Validation Error
- `401`: Authorization
- `429`: Too Many Requests
- `500`: Unexpected Error
- `503`: System under maintenance
- `504`: Timeout

---

[API](https://skmtc.dev/crunchtime/apis/cruise-platform.md) - [All operations](https://skmtc.dev/crunchtime/apis/cruise-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/crunchtime/apis/cruise-platform/revisions/d6bb0437a907?raw)
