v1
latestOpenAPI 3.0.12026-07-243124341009.5 KBCompanies
Add Universal Company Restriction
Adds a talent to the 'Do Not Assign' list universally across multiple tenants for specified companies.
post/v1/company-restrictions/add-universal-restriction
Headers
RequestIdstring uuid
The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.
Unique request identifier (UUID) used to correlate request data with log entries and events.
FrontOfficeTenantIdinteger
An integer identifier for the tenant that the request is being made for. Required when Tenant header is not provided.
Tenantstring
Tenant company code that determines data access scope during the request. Required when FrontOfficeTenantId header is not provided.
Request body
Example request
{
"talentId": 138344,
"tenantCompanies": [
{
"tenantId": 796,
"companyIds": [
12345,
67890
]
}
],
"restrictedByUserId": 18994,
"dnaNotes": "This is a sample note."
}Response
The response containing the details of the added universal company restrictions.
Example response
{
"talentId": 18394,
"tenantCompanies": [
{
"tenantId": 796,
"companyIds": [
12345,
67890
]
}
],
"restrictedByUserId": 12345,
"dnaNotes": "This is a sample note.",
"errors": [
"Error 1",
"Error 2"
]
}