---
title: "Get all routings."
method: GET
path: "/finance/v1/routings"
tags: ["Routing"]
---

# Get all routings.

`GET /finance/v1/routings`

## Request

- Base URL: `https://api.apaleo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.apaleo.com/finance/v1/routings`
- Auth: OAuth 2
  - Implicit: `https://identity.apaleo.com/connect/authorize`
  - Scopes: `routings.read`, `setup.read`, `setup.manage`, `admin`

<br>You must have at least one of these scopes: 'routings.read, setup.read, setup.manage'.<br>For fine-grained clients, you must have this permission: 'core.routings.read'.

## Query parameters

- `routingIds` string[]
- `bookingIds` string[]
- `propertyIds` string[]
- `sourceFolioIds` string[]
- `destinationFolioIds` string[]
- `pageNumber` integer
- `pageSize` integer
- `expand` string[]

## Response `200`

Success.

- RoutingListModel
  - `routings` RoutingModel[], required: The list of routings
    - `id` string, required: The ID of the routing
    - `bookingId` string, required: The ID of the booking
    - `propertyId` string, required: The ID of the property
    - `filter` RoutingFilterModel
      - `folioIds` string[], nullable: The folio ids filter
      - `subAccounts` RoutingSubAccountModel[], nullable: The subaccounts filter
        - `id` string, required: The ID of the subaccount
        - `name` string, required: The name of the subaccount
      - `serviceTypes` string[], nullable: The service types filter
      - `services` RoutingServiceModel[], nullable: The services filter
        - `id` string, required: The ID of the service
        - `name` string, required: The name of the service
      - `from` string, date, nullable: The start date filter
      - `to` string, date, nullable: The end date filter
    - `destinationFolio` RoutingFolioModel, required
      - `id` string, required: The ID of the folio
      - `debitorType` 'Booker' | 'PrimaryGuest' | 'Company' | 'AdditionalGuest' | 'Property', nullable: The debitor type of the folio
    - `actions` ActionModelRoutingActionNotAllowedRoutingActionReason[], nullable: The list of actions for this routing
      - `action` 'Delete' | 'Modify', required
      - `isAllowed` boolean, required
      - `reasons` ActionReasonModelNotAllowedRoutingActionReason[], nullable
        - `code` 'DeleteNotAllowedForDestinationFolioClosed' | 'DeleteNotAllowedForDestinationFolioWithAdvanceInvoice' | 'DeleteNotAllowedForDestinationFolioWithMovedOutRoutedCharges' | 'DeleteNotAllowedForSourceFoliosClosed' | 'DeleteNotAllowedForSourceFoliosWithAdvanceInvoice' | 'ModifyNotAllowedForDestinationFolioClosed' | 'ModifyNotAllowedForDestinationFolioWithAdvanceInvoice' | 'ModifyNotAllowedForSourceFoliosWithAdvanceInvoice' | 'ModifyNotAllowedForDestinationFolioWithMovedOutRoutedCharges' | 'DeleteNotAllowedForSourceFoliosWithPendingInvoice' | 'DeleteNotAllowedForDestinationFolioWithPendingInvoice' | 'ModifyNotAllowedForSourceFoliosWithPendingInvoice' | 'ModifyNotAllowedForDestinationFolioWithPendingInvoice', required
        - `message` string, required
  - `count` integer, required: Total count of items

## Other responses

- `204`: No routings could be found.
- `400`: Bad request.
- `401`: You are unauthorized.
- `403`: Forbidden.
- `404`: The Request-URI could not be found.
- `422`: Validation errors in the request body or query params.
- `499`: Client closed request.
- `500`: An unexpected error occurred.
- `503`: The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-finance-api.md) - [All operations](https://skmtc.dev/apaleo/apis/apaleo-finance-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apaleo/apis/apaleo-finance-api/revisions/6f1d524c1ea7?raw)
