Webex · Example Payload

Webex Validate Extensions Example

CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing

Webex Validate Extensions Example is an example object payload from Webex, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "Validate Extensions",
  "method": "POST",
  "path": "/telephony/config/locations/{locationId}/actions/validateExtensions/invoke",
  "summary": "Validate Extensions",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "extensions": [
          "407721",
          "507721",
          "507721",
          "9111",
          "a234"
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "status": "ERRORS",
        "extensionStatus": [
          {
            "extension": "407721",
            "state": "DUPLICATE",
            "errorCode": 9495,
            "message": "[Error 9495] The extension is not available. It is already assigned as a Call Park Extension: 407721."
          },
          {
            "extension": "507721",
            "state": "VALID"
          },
          {
            "extension": "507721",
            "state": "DUPLICATE_IN_LIST",
            "errorCode": 9498
          },
          {
            "extension": "911",
            "state": "INVALID",
            "errorCode": 4911,
            "message": "[Error 4911] Invalid extension.  The extension cannot be an emergency number."
          },
          {
            "extension": "a234",
            "state": "INVALID",
            "errorCode": 4910,
            "message": "[Error 4910] Invalid extension.  The extension can only contain characters 0-9."
          }
        ]
      }
    }
  ]
}