Webex · Capability

Webex Contact Center — Business Hour

Webex Contact Center — Business Hour. 9 operations. Lead operation: List Business Hours resource(s). Self-contained Naftiko capability covering one Webex business surface.

Run with Naftiko WebexBusiness Hour

What You Can Do

GET
Getallconfig11 — List Business Hours resource(s)
/v1/organization/{orgid}/business-hours
POST
Createconfig20 — Create a new Business Hours resource
/v1/organization/{orgid}/business-hours
POST
Saveallconfig19 — Bulk save Business Hours resource(s)
/v1/organization/{orgid}/business-hours/bulk
GET
Bulkexport19 — Bulk export Business Hours resource(s)
/v1/organization/{orgid}/business-hours/bulk-export
GET
Getconfig22 — Get specific Business Hours resource by ID
/v1/organization/{orgid}/business-hours/{id}
PUT
Updateconfig22 — Update specific Business Hours resource by ID
/v1/organization/{orgid}/business-hours/{id}
DELETE
Deleteconfig19 — Delete specific Business Hours resource by ID
/v1/organization/{orgid}/business-hours/{id}
GET
Getincomingreferences16 — List references for a specific Business Hours resource
/v1/organization/{orgid}/business-hours/{id}/incoming-references
GET
Getallconfigwithmetadata18 — List Business Hours resource(s)
/v1/organization/{orgid}/v2/business-hours

MCP Tools

list-business-hours-resource-s

List Business Hours resource(s)

read-only idempotent
create-new-business-hours-resource

Create a new Business Hours resource

bulk-save-business-hours-resource-s

Bulk save Business Hours resource(s)

bulk-export-business-hours-resource-s

Bulk export Business Hours resource(s)

read-only idempotent
get-specific-business-hours-resource

Get specific Business Hours resource by ID

read-only idempotent
update-specific-business-hours-resource

Update specific Business Hours resource by ID

idempotent
delete-specific-business-hours-resource

Delete specific Business Hours resource by ID

idempotent
list-references-specific-business-hours

List references for a specific Business Hours resource

read-only idempotent
list-business-hours-resource-s-2

List Business Hours resource(s)

read-only idempotent

Capability Spec

contact-center-business-hour.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webex Contact Center — Business Hour
  description: 'Webex Contact Center — Business Hour. 9 operations. Lead operation: List Business Hours resource(s). Self-contained
    Naftiko capability covering one Webex business surface.'
  tags:
  - Webex
  - Business Hour
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBEX_API_KEY: WEBEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: contact-center-business-hour
    baseUri: ''
    description: Webex Contact Center — Business Hour business capability. Self-contained, no shared references.
    resources:
    - name: organization-orgid-business-hours
      path: /organization/{orgid}/business-hours
      operations:
      - name: getallconfig11
        method: GET
        description: List Business Hours resource(s)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgid
          in: path
          type: string
          description: Organization ID to be used for this operation. The specified security token must have permission to
            interact with the organization.
          required: true
        - name: filter
          in: query
          type: string
          description: 'Specify a filter based on which the results will be fetched. Supported filterable fields:  id. '
        - name: attributes
          in: query
          type: string
          description: Specify the attributes to be returned. By default, all attributes are returned along with the specified
            columns. All attributes are supported. except (workingHo
        - name: page
          in: query
          type: integer
          description: Defines the number of displayed page. The page number starts from 0.
        - name: pageSize
          in: query
          type: integer
          description: Defines the number of items to be displayed on a page. If the number specified is more than allowed
            max page size, the API will automatically adjust the page si
        - name: singleObjectResponse
          in: query
          type: boolean
          description: Specifiy whether to include array fields in the response, This query param should use only if the response
            contain single record, if we are using for multiple o
      - name: createconfig20
        method: POST
        description: Create a new Business Hours resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgid
          in: path
          type: string
          description: Organization ID to be used for this operation. The specified security token must have permission to
            interact with the organization.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organization-orgid-business-hours-bulk
      path: /organization/{orgid}/business-hours/bulk
      operations:
      - name: saveallconfig19
        method: POST
        description: Bulk save Business Hours resource(s)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgid
          in: path
          type: string
          description: Organization ID to be used for this operation. The specified security token must have permission to
            interact with the organization.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organization-orgid-business-hours-bulk-export
      path: /organization/{orgid}/business-hours/bulk-export
      operations:
      - name: bulkexport19
        method: GET
        description: Bulk export Business Hours resource(s)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgid
          in: path
          type: string
          description: Organization ID to be used for this operation. The specified security token must have permission to
            interact with the organization.
          required: true
        - name: page
          in: query
          type: integer
          description: Defines the number of displayed page. The page number starts from 0.
        - name: pageSize
          in: query
          type: integer
          description: Defines the number of items to be displayed on a page. If the number specified is more than allowed
            max page size, the API will automatically adjust the page si
    - name: organization-orgid-business-hours-id
      path: /organization/{orgid}/business-hours/{id}
      operations:
      - name: getconfig22
        method: GET
        description: Get specific Business Hours resource by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgid
          in: path
          type: string
          description: Organization ID to be used for this operation. The specified security token must have permission to
            interact with the organization.
          required: true
        - name: id
          in: path
          type: string
          description: Resource ID of the Business Hours resource.
          required: true
      - name: updateconfig22
        method: PUT
        description: Update specific Business Hours resource by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgid
          in: path
          type: string
          description: Organization ID to be used for this operation. The specified security token must have permission to
            interact with the organization.
          required: true
        - name: id
          in: path
          type: string
          description: Resource ID of the Business Hours resource.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteconfig19
        method: DELETE
        description: Delete specific Business Hours resource by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgid
          in: path
          type: string
          description: Organization ID to be used for this operation. The specified security token must have permission to
            interact with the organization.
          required: true
        - name: id
          in: path
          type: string
          description: Resource ID of the Business Hours resource.
          required: true
    - name: organization-orgid-business-hours-id-incoming-references
      path: /organization/{orgid}/business-hours/{id}/incoming-references
      operations:
      - name: getincomingreferences16
        method: GET
        description: List references for a specific Business Hours resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgid
          in: path
          type: string
          description: Organization ID to be used for this operation. The specified security token must have permission to
            interact with the organization.
          required: true
        - name: id
          in: path
          type: string
          description: ID of this contact center resource.
          required: true
        - name: type
          in: query
          type: string
          description: Entity type of the other entity that has a reference to this specific entity.
        - name: page
          in: query
          type: integer
          description: Defines the number of displayed page. The page number starts from 0.
        - name: pageSize
          in: query
          type: integer
          description: Defines the number of items to be displayed on a page. If the number specified is more than allowed
            max page size, the API will automatically adjust the page si
    - name: organization-orgid-v2-business-hours
      path: /organization/{orgid}/v2/business-hours
      operations:
      - name: getallconfigwithmetadata18
        method: GET
        description: List Business Hours resource(s)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgid
          in: path
          type: string
          description: Organization ID to be used for this operation. The specified security token must have permission to
            interact with the organization.
          required: true
        - name: filter
          in: query
          type: string
          description: 'Specify a filter based on which the results will be fetched. All the fields are supported except:
            organizationId, workingHours, createdTime, lastUpdatedTime '
        - name: attributes
          in: query
          type: string
          description: Specify the attributes to be returned. By default, all attributes are returned along with the specified
            columns. All attributes are supported. except (workingHo
        - name: search
          in: query
          type: string
          description: Filter data based on the search keyword.Supported search columns(name)
        - name: page
          in: query
          type: integer
          description: Defines the number of displayed page. The page number starts from 0.
        - name: pageSize
          in: query
          type: integer
          description: Defines the number of items to be displayed on a page. If the number specified is more than allowed
            max page size, the API will automatically adjust the page si
        - name: sort
          in: query
          type: string
          description: 'Sorting criteria in the format: property(, asc | desc). Default sort order is ascending. Supported
            sortable fields (name, timezone, createdTime, lastUpdatedTime'
        - name: includeCount
          in: query
          type: boolean
          description: Enable the flag to get the count of workingHours
        - name: singleObjectResponse
          in: query
          type: boolean
          description: Specifiy whether to include array fields in the response, This query param should use only if the response
            contain single record, if we are using for multiple o
    authentication:
      type: bearer
      token: '{{env.WEBEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: contact-center-business-hour-rest
    port: 8080
    description: REST adapter for Webex Contact Center — Business Hour. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organization/{orgid}/business-hours
      name: organization-orgid-business-hours
      description: REST surface for organization-orgid-business-hours.
      operations:
      - method: GET
        name: getallconfig11
        description: List Business Hours resource(s)
        call: contact-center-business-hour.getallconfig11
        with:
          orgid: rest.orgid
          filter: rest.filter
          attributes: rest.attributes
          page: rest.page
          pageSize: rest.pageSize
          singleObjectResponse: rest.singleObjectResponse
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createconfig20
        description: Create a new Business Hours resource
        call: contact-center-business-hour.createconfig20
        with:
          orgid: rest.orgid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/business-hours/bulk
      name: organization-orgid-business-hours-bulk
      description: REST surface for organization-orgid-business-hours-bulk.
      operations:
      - method: POST
        name: saveallconfig19
        description: Bulk save Business Hours resource(s)
        call: contact-center-business-hour.saveallconfig19
        with:
          orgid: rest.orgid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/business-hours/bulk-export
      name: organization-orgid-business-hours-bulk-export
      description: REST surface for organization-orgid-business-hours-bulk-export.
      operations:
      - method: GET
        name: bulkexport19
        description: Bulk export Business Hours resource(s)
        call: contact-center-business-hour.bulkexport19
        with:
          orgid: rest.orgid
          page: rest.page
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/business-hours/{id}
      name: organization-orgid-business-hours-id
      description: REST surface for organization-orgid-business-hours-id.
      operations:
      - method: GET
        name: getconfig22
        description: Get specific Business Hours resource by ID
        call: contact-center-business-hour.getconfig22
        with:
          orgid: rest.orgid
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateconfig22
        description: Update specific Business Hours resource by ID
        call: contact-center-business-hour.updateconfig22
        with:
          orgid: rest.orgid
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteconfig19
        description: Delete specific Business Hours resource by ID
        call: contact-center-business-hour.deleteconfig19
        with:
          orgid: rest.orgid
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/business-hours/{id}/incoming-references
      name: organization-orgid-business-hours-id-incoming-references
      description: REST surface for organization-orgid-business-hours-id-incoming-references.
      operations:
      - method: GET
        name: getincomingreferences16
        description: List references for a specific Business Hours resource
        call: contact-center-business-hour.getincomingreferences16
        with:
          orgid: rest.orgid
          id: rest.id
          type: rest.type
          page: rest.page
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{orgid}/v2/business-hours
      name: organization-orgid-v2-business-hours
      description: REST surface for organization-orgid-v2-business-hours.
      operations:
      - method: GET
        name: getallconfigwithmetadata18
        description: List Business Hours resource(s)
        call: contact-center-business-hour.getallconfigwithmetadata18
        with:
          orgid: rest.orgid
          filter: rest.filter
          attributes: rest.attributes
          search: rest.search
          page: rest.page
          pageSize: rest.pageSize
          sort: rest.sort
          includeCount: rest.includeCount
          singleObjectResponse: rest.singleObjectResponse
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: contact-center-business-hour-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webex Contact Center — Business Hour. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-business-hours-resource-s
      description: List Business Hours resource(s)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-business-hour.getallconfig11
      with:
        orgid: tools.orgid
        filter: tools.filter
        attributes: tools.attributes
        page: tools.page
        pageSize: tools.pageSize
        singleObjectResponse: tools.singleObjectResponse
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-business-hours-resource
      description: Create a new Business Hours resource
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contact-center-business-hour.createconfig20
      with:
        orgid: tools.orgid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-save-business-hours-resource-s
      description: Bulk save Business Hours resource(s)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: contact-center-business-hour.saveallconfig19
      with:
        orgid: tools.orgid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-export-business-hours-resource-s
      description: Bulk export Business Hours resource(s)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-business-hour.bulkexport19
      with:
        orgid: tools.orgid
        page: tools.page
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.
    - name: get-specific-business-hours-resource
      description: Get specific Business Hours resource by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-business-hour.getconfig22
      with:
        orgid: tools.orgid
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-specific-business-hours-resource
      description: Update specific Business Hours resource by ID
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: contact-center-business-hour.updateconfig22
      with:
        orgid: tools.orgid
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-specific-business-hours-resource
      description: Delete specific Business Hours resource by ID
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: contact-center-business-hour.deleteconfig19
      with:
        orgid: tools.orgid
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: list-references-specific-business-hours
      description: List references for a specific Business Hours resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-business-hour.getincomingreferences16
      with:
        orgid: tools.orgid
        id: tools.id
        type: tools.type
        page: tools.page
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.
    - name: list-business-hours-resource-s-2
      description: List Business Hours resource(s)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: contact-center-business-hour.getallconfigwithmetadata18
      with:
        orgid: tools.orgid
        filter: tools.filter
        attributes: tools.attributes
        search: tools.search
        page: tools.page
        pageSize: tools.pageSize
        sort: tools.sort
        includeCount: tools.includeCount
        singleObjectResponse: tools.singleObjectResponse
      outputParameters:
      - type: object
        mapping: $.