Webex · Schema
LocationAvailableChargeNumberObject
A phone number that is available to be assigned as the location's charge number.
CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing
Properties
| Name | Type | Description |
|---|---|---|
| phoneNumber | string | A unique identifier for the PSTN phone number. |
| state | object | |
| isMainNumber | boolean | If `true`, the phone number is used as a location CLID. |
| tollFreeNumber | boolean | If `true`, the phone number is a toll-free number. |
| isServiceNumber | boolean | If `true`, the phone number is a service number; otherwise, it is a standard number. Service numbers are high-utilization or high-concurrency PSTN phone numbers that are neither mobile nor toll-free. |
| owner | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LocationAvailableChargeNumberObject",
"title": "LocationAvailableChargeNumberObject",
"type": "object",
"description": "A phone number that is available to be assigned as the location's charge number.",
"example": {
"phoneNumber": "+12056852221",
"state": "ACTIVE",
"isMainNumber": false,
"tollFreeNumber": false,
"isServiceNumber": false,
"owner": {
"id": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9jODhiZGIwNC1jZjU5LTRjMjMtODQ4OC00NTNhOTE3ZDFlMjk",
"type": "PEOPLE",
"firstName": "Alex",
"lastName": "test_16",
"displayName": "Alex test_16"
}
},
"required": [
"phoneNumber",
"state",
"isMainNumber",
"tollFreeNumber",
"isServiceNumber"
],
"properties": {
"phoneNumber": {
"type": "string",
"example": "+12056350001",
"description": "A unique identifier for the PSTN phone number."
},
"state": {
"$ref": "#/components/schemas/STATE"
},
"isMainNumber": {
"type": "boolean",
"example": true,
"description": "If `true`, the phone number is used as a location CLID."
},
"tollFreeNumber": {
"type": "boolean",
"example": true,
"description": "If `true`, the phone number is a toll-free number."
},
"isServiceNumber": {
"type": "boolean",
"example": true,
"description": "If `true`, the phone number is a service number; otherwise, it is a standard number. Service numbers are high-utilization or high-concurrency PSTN phone numbers that are neither mobile nor toll-free."
},
"owner": {
"type": "object",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"example": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9jODhiZGIwNC1jZjU5LTRjMjMtODQ4OC00NTNhOTE3ZDFlMjk",
"description": "ID of the owner to which PSTN Phone number is assigned."
},
"type": {
"$ref": "#/components/schemas/NumberOwnerType"
},
"firstName": {
"type": "string",
"example": "Test",
"description": "First name of the PSTN phone number's owner and will only be returned when the owner `type` is `PEOPLE` or `VIRTUAL_LINE`."
},
"lastName": {
"type": "string",
"example": "Person",
"description": "Last name of the PSTN phone number's owner and will only be returned when the owner `type` is `PEOPLE` or `VIRTUAL_LINE`."
},
"displayName": {
"type": "string",
"example": "TestWorkSpace",
"description": "Display name of the PSTN phone number's owner. This field will be present except when the owner `type` is `PEOPLE` or `VIRTUAL_LINE`."
}
}
}
}
}