Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/nice:nice-import-allotments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Nice Import Allotments API
version: v1
description: 'Operations tagged Import Allotments across 2 of this provider''s published API definitions: nice-wfm-importallotment.json, nice-wfm-importallotment-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Import Allotments
description: ': Import Allotments Information'
paths:
/timeoff-manager/allotments/import:
put:
tags:
- Import Allotments
summary: Import Users Allotment by Activity Code
description: 'Update the agent''s allotment into CXone WFM. Provide the activity code name, user id along with allotment and unit of allotment (Day/Hour). This API returns {"code": "OK",
"details": "Update successful."}.
In case of any error, the API will return an error message.
Required Rules & Summary manage Permission.
Note: This feature is available with the Advance license.'
operationId: put-allotments
requestBody:
description: Request object containing the details for importing users allotment
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ImportUsersAllotmentRequest'
responses:
'200':
description: Request Accepted, Import Allotments for given agents was successful.
content:
application/json:
schema:
$ref: '#/components/schemas/ImportUsersAllotmentResponse'
example:
code: OK
details: Update successful.
'400':
description: This error may be the result of one of the following Bad Request :-<br> <span><p>o Null input detected in provided data.</p><p>o Empty input detected in provided data.</p><p>o Provided Activity Code name is invalid.</p><p>o Provided User Allotment Type is invalid.</p><p>o Provided User/its allotment is invalid.</p></span>
content:
application/json:
schema:
$ref: '#/components/schemas/ImportUsersAllotmentResponse'
example:
code: Bad Request
details:
INVALID_USER_ALLOTMENT: null
INVALID_ACTIVITY_CODE: null
INVALID_ALLOTMENT_TYPE: null
'401':
description: Unauthorized Request :-<br> <span><p>o User authentication failed.</p><p>o Invalid or missing authentication token.</p></span>
content:
application/json:
example:
message: Unauthorized
'403':
description: This error may be the result of one of the following Forbidden Request :-<br> <span><p>o User don't have Rules & Summary manage Permission.</p><p>o The Import Users Allotment feature is not enabled.</p><p>o Upgrade to an Advanced license to use HR integration APIs.</p></span>
content:
application/json:
schema:
$ref: '#/components/schemas/ImportUsersAllotmentResponse'
example:
code: Forbidden
details: The Import Users Allotment feature is not enabled.
'500':
description: Internal server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ImportUsersAllotmentResponse'
example:
code: Internal Server Error
details: Something went wrong. Contact support.
components:
schemas:
ImportUsersAllotmentResponse:
type: object
properties:
code:
type: string
example: Bad Request
details:
type: object
ImportUsersAllotmentRequest:
type: object
required:
- activityCodeName
- allotmentType
- allotmentByUserName
properties:
activityCodeName:
type: string
minLength: 1
maxLength: 50
allotmentType:
type: string
enum:
- Days
- Hours
allotmentByUserName:
type: object
additionalProperties:
type: number
example:
Test.User@nice.com: 12
x-refined-from:
- nice-wfm-importallotment.json
- nice-wfm-importallotment-openapi.yml