---
title: "Get Company Restrictions by Company IDs"
method: POST
path: "/v1/company-restrictions/multi-query"
tags: ["Companies"]
---

# Get Company Restrictions by Company IDs

`POST /v1/company-restrictions/multi-query`

Returns details about all talents who are blocked from placement at the specified company.

## Headers

- `RequestId` string, uuid — The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.
- `FrontOfficeTenantId` integer
- `Tenant` string

## Request body

- IntegerSchema[]

## Response `200`

A list of company restrictions.

- CompanyRestriction[]
  - `id` integer — The identifier for the company restriction.
  - `companyId` integer — The identifier for the company the restriction applies to.
  - `branchIds` string — The string representation of the array of identifiers for the departments the restriction applies to.
  - `talentName` string — The name of the talent who has been restricted from placement.
  - `notes` string — Notes on the restriction.
  - `userId` integer — The identifier for the user who has added the restriction.
  - `userName` string — The name of the user who has added a restriction.
  - `companyName` string — The name of the company the restriction applies to.
  - `talentId` integer — The identifier for the talent who is blocked from placement at the selected company or office.
  - `departments` Department[] — The departments where the talent is blocked from placement and their details.
    - `companyExternalId` string, nullable — The unique system-defined identifier for the Company.
    - `companyGuid` string, uuid, nullable — The Back Office unique identifier for the Company, formatted as a UUID.
    - `departmentExternalId` string, nullable — The unique system-defined identifier for the Company Department.
    - `departmentGuid` string, uuid, nullable — The Back Office unique identifier for the Department, formatted as a UUID.
    - `departmentName` string — The name of the company department.
  - `restrictionDate` string, date-time — The date when the restriction has been added. The field follows the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss formats and also supports fractional seconds, such as YYYY-MM-DDTHH:mm:ss.sss. For example, 2024-12-01, 2024-12-01T14:30:00, and 2024-12-01T14:30:00.546.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Access Denied
- `404` — Not found
- `405` — Unsupported method
- `406` — Unsupported format(s) indicated by Accept header
- `415` — Unsupported format(s) indicated by the Content-Type header
- `429` — Too many requests
- `500` — An unexpected error occurred
- `502` — Service Unavailable
- `504` — Gateway Timeout

---

[API](https://skmtc.net/avionte/apis/aviont-partner-authorization-api.md) · [All operations](https://skmtc.net/avionte/apis/aviont-partner-authorization-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/avionte/aviont-partner-authorization-api/versions/846b33e4e71b/schema)
