Webex · Schema

WorkTypeDTO

CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing

Properties

Name Type Description
organizationId string ID of the contact center organization. It is required to define for the following operations - All bulk save operations
id string ID of this contact center resource. It should not be specified when creating a new resource. However, it is mandatory when updating a resource.
version integer The version of this resource. For a newly created resource, it will be 0 unless specified otherwise.
name string A name for the Work Type.
description string A description for the Work type code created.
workTypeCode string Identifier for the Work Type being created. Can be 'WRAP_UP_CODE' or 'IDLE_CODE'.
active boolean Indicates whether the work type is active or not.
systemDefault boolean Indicates whether the created resource is system created or not
createdTime integer Creation time(in epoch millis) of this resource.
lastUpdatedTime integer Time(in epoch millis) when this resource was last updated.
View JSON Schema on GitHub

JSON Schema

webex-worktypedto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WorkTypeDTO",
  "title": "WorkTypeDTO",
  "required": [
    "active",
    "name",
    "workTypeCode"
  ],
  "type": "object",
  "properties": {
    "organizationId": {
      "maxLength": 36,
      "minLength": 32,
      "pattern": "^[0-9a-fA-F]{8}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{12}$",
      "type": "string",
      "description": "ID of the contact center organization. It is required to define for the following operations - All bulk save operations",
      "format": "uuid",
      "example": "f53c8b54-46ca-43f6-ba05-08426a46e23d"
    },
    "id": {
      "type": "string",
      "description": "ID of this contact center resource. It should not be specified when creating a new resource. However, it is mandatory when updating a resource.",
      "example": "93912f11-6017-404b-bf14-5331890b1797"
    },
    "version": {
      "type": "integer",
      "description": "The version of this resource. For a newly created resource, it will be 0 unless specified otherwise.",
      "format": "int32",
      "example": 1
    },
    "name": {
      "maxLength": 80,
      "minLength": 0,
      "pattern": "^[a-zA-Z0-9._\\-\\s]*$",
      "type": "string",
      "description": "A name for the Work Type.",
      "example": "Idle Code"
    },
    "description": {
      "maxLength": 255,
      "minLength": 0,
      "type": "string",
      "description": "A description for the Work type code created.",
      "example": "This is an 'Idle' work type."
    },
    "workTypeCode": {
      "type": "string",
      "description": "Identifier for the Work Type being created. Can be 'WRAP_UP_CODE' or 'IDLE_CODE'. ",
      "example": "IDLE_CODE"
    },
    "active": {
      "type": "boolean",
      "description": "Indicates whether the work type is active or not.",
      "example": false
    },
    "systemDefault": {
      "type": "boolean",
      "description": "Indicates whether the created resource is system created or not",
      "example": false
    },
    "createdTime": {
      "type": "integer",
      "description": "Creation time(in epoch millis) of this resource.",
      "format": "int64",
      "readOnly": true,
      "example": 1617536244000
    },
    "lastUpdatedTime": {
      "type": "integer",
      "description": "Time(in epoch millis) when this resource was last updated.",
      "format": "int64",
      "readOnly": true,
      "example": 1617536244000
    }
  }
}