NiCE Script Schedules API

: Script Schedules

GitHub OpenAPI

Operations 5

GET /script-schedules Returns a list of paginated Script Schedules #
GET /script-schedules/{scriptScheduleId} Get Unavailable Code Details By Id #
GET /script-schedules/{scriptScheduleId}/audit-history Returns a list of audit entries for script schedules #
GET /script-schedules/scripts Returns a list of Scripts to assign to the Script Scheduler #
GET /script-schedules/skills Returns a list of Skills to assign to the Script Scheduler #

Specifications

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nice:nice-scriptschedules-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

nice-scriptschedules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice Script Schedules API
  version: v1
  description: 'Operations tagged ScriptSchedules across 2 of this provider''s published API definitions: nice-admin-scriptschedules.json, nice-admin-scriptschedules-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: ScriptSchedules
  description: ': Script Schedules'
paths:
  /script-schedules:
    get:
      tags:
      - ScriptSchedules
      summary: Returns a list of paginated Script Schedules
      description: This API returns a list of paginated Script Schedules
      operationId: get-script-schedules
      parameters:
      - name: isActive
        in: query
        description: Search criteria
        schema:
          type: boolean
        required: false
      - name: searchString
        in: query
        required: true
        description: Search criteria, e.g. name
        schema:
          type: string
      - name: fields
        in: query
        description: Fields to be obtained in the response
        schema:
          type: string
        required: false
      - name: top
        in: query
        description: The number of rows to obtain
        schema:
          type: integer
        required: false
      - name: skip
        in: query
        description: The starting row of list to obtain
        schema:
          type: integer
        required: false
      - name: orderBy
        in: query
        description: Field to order the list
        schema:
          type: string
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  businessUnitId:
                    type: integer
                    description: Id of business unit
                  totalRecords:
                    type: integer
                    description: total records obtained
                  scriptSchedules:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          description: id of Script Schedules
                        name:
                          type: string
                          description: name of Script Schedule
                        scheduleType:
                          type: integer
                          description: type of Schedule
                        lastRunTime:
                          type: string
                          format: date-time
                          description: last run time of Script Schedule
                        nextRunTime:
                          type: string
                          format: date-time
                          description: next run time of Script Schedule
                        state:
                          type: integer
                          description: the state of the Script Schedule
                        nextAttemptRunTime:
                          type: string
                          format: date-time
                          description: next attempt run time of Script Schedule
                        status:
                          type: boolean
                          description: status of the Script Schedule
        '400':
          description: Invalid Fields List
        '401':
          description: Unauthorized
        '403':
          description: InvalidPermissions
        '500':
          description: ServiceException
  /script-schedules/{scriptScheduleId}:
    get:
      tags:
      - ScriptSchedules
      summary: Get Unavailable Code Details By Id
      description: This API returns code details sorted by Id
      operationId: get-script-schedules-id
      parameters:
      - name: scriptScheduleId
        in: path
        required: true
        description: The script schedule id
        schema:
          type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  scriptSchedule:
                    type: object
                    properties:
                      id:
                        type: integer
                        description: Id of Script Schedule
                      busNo:
                        type: integer
                        description: Business Unit number
                      skill:
                        type: integer
                        description: Skill number
                        default: null
                      name:
                        type: string
                        description: Name of Script Schedule
                      parameters:
                        type: array
                        items:
                          type: string
                      script:
                        type: string
                        description: Name of Script Schedule
                      status:
                        type: boolean
                        description: Status of Script Schedule
                      state:
                        type: integer
                        description: State of Script Schedule
                      lastRunTime:
                        type: string
                        format: date-time
                        description: Last run time of Script Schedule
                        default: null
                      nextRunTime:
                        type: string
                        format: date-time
                        description: Next date of run time of Script Schedule
                        default: null
                      scheduleType:
                        type: integer
                        description: Type of Schedule
                      startDate:
                        type: string
                        format: date-time
                        description: Start date of Script Schedule
                        default: null
                      ends:
                        type: integer
                        description: End of Script Schedule
                        default: null
                      endDate:
                        type: string
                        format: date-time
                        description: End date of Script Schedule
                        default: null
                      occurrencesRemaining:
                        type: integer
                        description: Ocurrences remaining of Script Schedule
                        default: null
                      timeOut:
                        type: integer
                        description: Time out of Script Schedule
                        default: null
                      recursType:
                        type: integer
                        description: Recursive type of Script Schedule
                        default: null
                      everyXDays:
                        type: integer
                        description: Start date of Script Schedule
                        default: null
                      everyXWeeks:
                        type: integer
                        description: Every X Weeks for Script Schedule
                        default: null
                      weeklyDays:
                        type: integer
                        description: Weekly Days for Script Schedule
                        default: null
                      dayOfMonth:
                        type: integer
                        description: Day of Month for Script Schedule
                        default: null
                      everyXmonth:
                        type: integer
                        description: Every X month for Script Schedule
                        default: null
                      ordinalMonthWeek:
                        type: integer
                        description: Ordinal month week for Script Schedule
                        default: null
                      monthWeekDays:
                        type: integer
                        description: Month week days for Script Schedule
                        default: null
                      nextAttemptRunTime:
                        type: string
                        format: date-time
                        description: Next attempt run time of Script Schedule
                        default: null
                      attemptCount:
                        type: integer
                        description: Attempt count of Script Schedule
        '401':
          description: Unauthorized
        '403':
          description: InvalidPermissions
        '404':
          description: Invalid Script Schedule Id
        '500':
          description: ServiceException
  /script-schedules/{scriptScheduleId}/audit-history:
    get:
      tags:
      - ScriptSchedules
      summary: Returns a list of audit entries for script schedules
      description: This API returns a list of audit entries for script schedules
      operationId: get-script-schedules-id-audit-history
      parameters:
      - name: scriptScheduleId
        in: path
        required: true
        description: ''
        schema:
          type: integer
      - name: searchString
        in: query
        required: true
        description: Search criteria, e.g. name
        schema:
          type: string
      - name: fields
        in: query
        description: Fields to be obtained in the response
        schema:
          type: string
        required: false
      - name: top
        in: query
        description: The number of rows to obtain
        schema:
          type: integer
        required: false
      - name: skip
        in: query
        description: The starting row of list to obtain
        schema:
          type: integer
        required: false
      - name: orderBy
        in: query
        description: Field to order the list
        schema:
          type: string
        required: false
      - name: startDate
        in: query
        description: The starting date
        schema:
          type: string
        required: false
      - name: endDate
        in: query
        description: The ending date
        schema:
          type: string
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  businessUnitId:
                    type: integer
                  createdBy:
                    type: string
                    description: Defines who created it
                  modifiedBy:
                    type: string
                    description: Defines who modified it
                  createdDate:
                    type: string
                    description: The date of creation
                  modifiedDate:
                    type: string
                    description: The last date modified
                  totalRecords:
                    type: integer
                    description: Amount of total records
                  auditHistoryEntries:
                    type: array
                    description: Records of Audit History
                    items:
                      type: object
                      properties:
                        columnName:
                          type: string
                          description: Name of the column
                        newValue:
                          type: string
                          description: New value
                        oldValue:
                          type: string
                          description: Old value
                        date:
                          type: string
                          description: Date
                        modifiedBy:
                          type: integer
                          description: Modified by
                        modifiedByName:
                          type: string
                          description: Shows the name who modified it
        '400':
          description: Invalid Fields List
        '401':
          description: Unauthorized
        '403':
          description: InvalidPermissions
        '404':
          description: Invalid Script Schedule Id
        '500':
          description: ServiceException
  /script-schedules/scripts:
    get:
      tags:
      - ScriptSchedules
      summary: Returns a list of Scripts to assign to the Script Scheduler
      description: This API returns a list of scripts to assign to the Script
      operationId: get-script-schedules-scripts
      parameters:
      - name: searchString
        in: query
        required: true
        description: Search criteria, e.g. name
        schema:
          type: string
      - name: fields
        in: query
        description: Fields to be obtained in the response
        schema:
          type: string
        required: false
      - name: top
        in: query
        description: The number of rows to obtain
        schema:
          type: integer
        required: false
      - name: skip
        in: query
        description: The starting row of list to obtain
        schema:
          type: integer
        required: false
      - name: orderBy
        in: query
        description: Field to order the list
        schema:
          type: string
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  businessUnitId:
                    type: integer
                    description: Id of business unit
                  totalRecords:
                    type: integer
                    description: total records obtained
                  scripts:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          description: id of Script Schedules
                        name:
                          type: string
                          description: name of Script Schedule
                        mediaTypeId:
                          type: integer
                          description: Identifier of media type
        '400':
          description: Invalid Fields List
        '401':
          description: Unauthorized
        '403':
          description: InvalidPermissions
        '500':
          description: ServiceException
  /script-schedules/skills:
    get:
      tags:
      - ScriptSchedules
      summary: Returns a list of Skills to assign to the Script Scheduler
      description: This API returns a list of Skills to assing to the Script Schedule
      operationId: get-script-schedules-skills
      parameters:
      - name: searchString
        in: query
        required: true
        description: Search criteria, e.g. name
        schema:
          type: string
      - name: fields
        in: query
        description: Fields to be obtained in the response
        schema:
          type: string
        required: false
      - name: top
        in: query
        description: The number of rows to obtain
        schema:
          type: integer
        required: false
      - name: skip
        in: query
        description: The starting row of list to obtain
        schema:
          type: integer
        required: false
      - name: orderBy
        in: query
        description: Field to order the list
        schema:
          type: string
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  businessUnitId:
                    type: integer
                    description: Id of business unit
                  totalRecords:
                    type: integer
                    description: total records obtained
                  skills:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          description: id of Script Schedules
                        name:
                          type: string
                          description: name of Script Schedule
        '400':
          description: <p>Invalid Fields List</p><p>Invalid parameter</p>
        '401':
          description: Unauthorized
        '403':
          description: <p>Invalid Permissions</p><p>Forbidden</p>
        '500':
          description: Service Exception
x-refined-from:
- nice-admin-scriptschedules.json
- nice-admin-scriptschedules-openapi.yml