---
title: "Get a list of machines for the specified business id and branch id. List can be filtered by DateTime of update with a possibility to include archived machines"
method: GET
path: "/api/business/{businessId}/branch/{branchId}/machine"
tags: ["Machine"]
---

# Get a list of machines for the specified business id and branch id. List can be filtered by DateTime of update with a possibility to include archived machines

`GET /api/business/{businessId}/branch/{branchId}/machine`

## Request

- Base URL: `http://api-gateway-eu.phorest.com/third-party-api-server`
- URL: `http://api-gateway-eu.phorest.com/third-party-api-server/api/business/{businessId}/branch/{branchId}/machine`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/phorest/apis/third-party-api/docs/api/business/:businessId/branch/:branchId/machine/get.ts> (a function with typed inputs; its response is checked against the schema)

List machines

## Path parameters

- `businessId` string, required
- `branchId` string, required

## Query parameters

- `include_archived` boolean
- `updated_from` string
- `updated_to` string

## Response `200`

Machines listed

- DataPagedModelMachine
  - `_embedded` object
    - `machines` Machine[]
      - `machineId` string, required
      - `name` string
      - `description` string
      - `color` integer
      - `archived` boolean
  - `page` PageMetadata
    - `size` integer
    - `totalElements` integer
    - `totalPages` integer
    - `number` integer

## Other responses

- `400`: Bad Request
- `404`: Business or branch with the specified ids don't exist
- `429`: Request rate limit exceeded. Current limit set to 100 rps.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/phorest/apis/third-party-api.md) - [All operations](https://skmtc.dev/phorest/apis/third-party-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phorest/apis/third-party-api/revisions/beea6ef29634?raw)
