{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-bulk-request-dtodialled-number-entry-point-dto-schema.json",
  "title": "BulkRequestDTODialledNumberEntryPointDTO",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-dial-number-api-openapi.yml#/components/schemas/BulkRequestDTODialledNumberEntryPointDTO",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "List of items in the bulk request.",
      "items": {
        "$ref": "#/$defs/BulkRequestItemDTODialledNumberEntryPointDTO"
      }
    }
  },
  "$defs": {
    "BulkRequestItemDTODialledNumberEntryPointDTO": {
      "type": "object",
      "description": "List of items in the bulk request.",
      "properties": {
        "itemIdentifier": {
          "type": "integer",
          "format": "int32",
          "description": "Unique item identifier for a bulk operation."
        },
        "item": {
          "$ref": "#/$defs/DialledNumberEntryPointDTO"
        },
        "requestAction": {
          "type": "string",
          "description": "Identifier for action type. Possible values are `SAVE` and `DELETE`."
        }
      }
    },
    "DialledNumberEntryPointDTO": {
      "type": "object",
      "properties": {
        "organizationId": {
          "type": "string",
          "format": "uuid",
          "description": "ID of the contact center organization. This field is required for all bulk save operations.",
          "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}$"
        },
        "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."
        },
        "version": {
          "type": "integer",
          "format": "int32",
          "description": "The version of this resource. For a newly created resource, it will be 0 unless specified otherwise."
        },
        "dialledNumber": {
          "type": "string",
          "description": "The dialed number(DN) used to map to entry points.",
          "maxLength": 20,
          "minLength": 0,
          "pattern": "^\\+{0,1}\\d+[\\d.\\-]*$"
        },
        "extension": {
          "type": "string",
          "description": "The extension used to map to entry points.",
          "maxLength": 10,
          "minLength": 0,
          "pattern": "^\\d{2,10}$"
        },
        "routingPrefix": {
          "type": "string",
          "description": "The routing prefix is mapped to a location and can be prefixed with an extension",
          "maxLength": 7,
          "minLength": 0,
          "pattern": "^\\d{2,7}$"
        },
        "esn": {
          "type": "string",
          "description": "The esn is routing prefix with extension",
          "maxLength": 17,
          "minLength": 0,
          "pattern": "^\\d{2,17}$"
        },
        "routePointId": {
          "type": "string",
          "description": "The identifier of a route point of WxC which is similar to entry point of WxCC"
        },
        "entryPointId": {
          "type": "string",
          "description": "The identifier of an entry point to which you want to map the DN."
        },
        "entryPointName": {
          "type": "string",
          "description": "The entryPoint name of the entryPointId."
        },
        "defaultAni": {
          "type": "boolean",
          "description": "The default dial number for the tenant to make outdial calls. The default dial number is displayed in the customer's caller ID, if an agent does not select a specific outdial ANI (Automatic Number Identification) for an outdial call.\n\nA default value is automatically set once and entry point mapping is created"
        },
        "location": {
          "type": "string",
          "description": "The ID of the location as configured on Webex Calling(applicable only for Webex Calling)."
        },
        "regionId": {
          "type": "string",
          "description": "Specify the telephony region id.\n\nYou can pass id for one of these regions:\n\nUS (USA), CA (Canada), MX (Mexico), AU (Australia), SG (Singapore), GB (United Kingdom), DE (Germany)\n\nYou can retrieve it by calling /api/global/telephony-region API."
        },
        "createdTime": {
          "type": "integer",
          "format": "int64",
          "description": "This is the created time of the entity."
        },
        "lastUpdatedTime": {
          "type": "integer",
          "format": "int64",
          "description": "This is the updated time of the entity."
        },
        "dialledNumberDigits": {
          "type": "string"
        }
      },
      "required": [
        "entryPointId",
        "entryPointName"
      ]
    }
  }
}