GET http://[host-proxy]/api/device/spark/LocationCallingDetails/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"voicePortal": {
"properties": {
"languageCode": {
"type": "string",
"description": "Language code for voicemail group audio announcement.",
"title": "Language Code"
},
"language": {
"type": "string",
"description": "Language for audio announcements.",
"title": "Language"
},
"extension": {
"type": "string",
"description": "Extension of incoming call.",
"title": "Extension"
},
"lastName": {
"type": "string",
"description": "Caller ID Last Name.",
"title": "Last Name"
},
"phoneNumber": {
"type": "string",
"description": "Phone Number of incoming call.",
"title": "Phone Number"
},
"firstName": {
"type": "string",
"description": "Caller ID First Name.",
"title": "First Name"
},
"id": {
"readonly": true,
"type": "string",
"description": "Voice Portal ID",
"title": "ID"
},
"name": {
"type": "string",
"description": "Voice Portal Name.",
"title": "Name"
}
},
"required": false,
"type": "object",
"description": "Location's Voice Portal settings.",
"title": "Voice Portal"
},
"outsideDialDigit": {
"type": "string",
"description": "Must dial to reach an outside line, default is None.",
"title": "Outside Dial Digit"
},
"routingPrefix": {
"type": "string",
"description": "Must dial a prefix when calling between locations having same extension within same location.",
"title": "Routing Prefix"
},
"name": {
"type": "string",
"description": "The name of the location.",
"title": "Name"
},
"pAccessNetworkInfo": {
"type": "string",
"description": "Emergency Location Identifier for a location. Set this field to provide the SIP access network information to the provider which will be used to populate the SIP P-Access-Network-Info header. This is helpful to establish the location of a device when you make an emergency call.",
"title": "PSTN Access Network Info"
},
"callingLineId": {
"properties": {
"phoneNumber": {
"type": "string",
"description": "Directory Number / Main number in E.164 Format.",
"title": "Main Number"
},
"name": {
"type": "string",
"description": "Group calling line ID name. By default the Org nam",
"title": "Name"
}
},
"required": false,
"type": "object",
"description": "Location calling line information.",
"title": "Calling Line ID"
},
"externalCallerIdName": {
"type": "string",
"description": "External Caller ID Name value. Unicode characters.",
"title": "External Caller ID Name"
},
"intercept": {
"properties": {
"incoming": {
"properties": {
"announcements": {
"properties": {
"newNumber": {
"properties": {
"destination": {
"type": "string",
"description": "Incoming destination phone number to be announced.",
"title": "Destination"
},
"enabled": {
"type": "boolean",
"description": "Enable/disable to play new number announcement.",
"title": "Enabled"
}
},
"required": false,
"type": "object",
"description": "Settings for new number announcement.",
"title": "New Number"
},
"zeroTransfer": {
"properties": {
"destination": {
"type": "string",
"description": "Transfer phone number to be called when '0' is dialed.",
"title": "Destination"
},
"enabled": {
"type": "boolean",
"description": "Enable/disable to transfer to phone number.",
"title": "Enabled"
}
},
"required": false,
"type": "object",
"description": "Transfer number details.",
"title": "Zero Transfer"
},
"greeting": {
"choices": [
{
"value": "DEFAULT",
"title": "DEFAULT"
},
{
"value": "CUSTOM",
"title": "CUSTOM"
}
],
"type": "string",
"description": "Greeting type for location intercept.",
"title": "Greeting"
},
"fileName": {
"type": "string",
"description": "If set to CUSTOM for greeting, filename of previously uploaded file.",
"title": "File Name"
}
},
"required": false,
"type": "object",
"description": "Announcements details.",
"title": "Announcements"
},
"type": {
"choices": [
{
"value": "INTERCEPT_ALL",
"title": "INTERCEPT_ALL"
},
{
"value": "ALLOW_ALL",
"title": "ALLOW_ALL"
}
],
"type": "string",
"description": "Select inbound call options.",
"title": "Type"
},
"voicemailEnabled": {
"type": "boolean",
"description": "Enable/disable to route voice mail.",
"title": "Voicemail Enabled"
}
},
"required": false,
"type": "object",
"description": "Inbound call details.",
"title": "Incoming"
},
"outgoing": {
"properties": {
"destination": {
"type": "string",
"description": "If enabled, set outgoing destination phone number.",
"title": "Destination"
},
"type": {
"choices": [
{
"value": "INTERCEPT_ALL",
"title": "INTERCEPT_ALL"
},
{
"value": "ALLOW_LOCAL_ONLY",
"title": "ALLOW_LOCAL_ONLY"
}
],
"type": "string",
"description": "Outbound call modes",
"title": "Type"
},
"transferEnabled": {
"type": "boolean",
"description": "Enable/disable to route all outbound calls to phone number.",
"title": "Transfer Enabled"
}
},
"required": false,
"type": "object",
"description": "Outbound Call details",
"title": "Outgoing"
},
"enabled": {
"type": "boolean",
"description": "Enable/disable location intercept. Enable this feature to override any Location's Call Intercept settings that person configures.",
"title": "Enabled"
}
},
"required": false,
"type": "object",
"description": "Location's intercept settings.",
"title": "Intercept"
},
"callingPermissions": {
"properties": {
"callingPermissions": {
"items": {
"type": "object",
"properties": {
"callType": {
"custom_value_allowed": true,
"choices": [
{
"value": "INTERNAL_CALL",
"title": "INTERNAL_CALL"
},
{
"value": "TOLL_FREE",
"title": "TOLL_FREE"
},
{
"value": "INTERNATIONAL",
"title": "INTERNATIONAL"
},
{
"value": "OPERATOR_ASSISTED",
"title": "OPERATOR_ASSISTED"
},
{
"value": "CHARGEABLE_DIRECTORY_ASSISTED",
"title": "CHARGEABLE_DIRECTORY_ASSISTED"
},
{
"value": "SPECIAL_SERVICES_I",
"title": "SPECIAL_SERVICES_I"
},
{
"value": "SPECIAL_SERVICES_II",
"title": "SPECIAL_SERVICES_II"
},
{
"value": "PREMIUM_SERVICES_I",
"title": "PREMIUM_SERVICES_I"
},
{
"value": "PREMIUM_SERVICES_II",
"title": "PREMIUM_SERVICES_II"
},
{
"value": "NATIONAL",
"title": "NATIONAL"
}
],
"type": "string",
"description": "Call Type Values",
"title": "Call Type"
},
"action": {
"choices": [
{
"value": "ALLOW",
"title": "ALLOW"
},
{
"value": "BLOCK",
"title": "BLOCK"
},
{
"value": "AUTH_CODE",
"title": "AUTH_CODE"
},
{
"value": "TRANSFER_NUMBER_1",
"title": "TRANSFER_NUMBER_1"
},
{
"value": "TRANSFER_NUMBER_2",
"title": "TRANSFER_NUMBER_2"
},
{
"value": "TRANSFER_NUMBER_2",
"title": "TRANSFER_NUMBER_2"
}
],
"type": "string",
"description": "Allows to configure settings for each call type.",
"title": "Action"
},
"transferEnabled": {
"type": "boolean",
"description": "If enabled, allow the person to transfer or forward internal calls.",
"title": "Transfer Enabled"
}
}
},
"type": "array",
"description": "Location's calling permissions settings.",
"title": "Calling Permissions"
}
},
"required": false,
"type": "object",
"description": "A location's outgoing call settings allow you to determine the types of calls the people/workspaces at the location are allowed to make, as well as configure the default calling permission for each call type at the location.",
"title": "Location Outgoing Calling Permissions"
},
"connection": {
"properties": {
"type": {
"choices": [
{
"value": "ROUTE_GROUP",
"title": "ROUTE_GROUP"
},
{
"value": "TRUNK",
"title": "TRUNK"
}
],
"type": "string",
"description": "Webex Calling location only suppports TRUNK and ROUTE_GROUP connection type.",
"title": "Type"
},
"id": {
"type": "string",
"description": "A unique identifier of route type.",
"title": "ID"
}
},
"required": false,
"type": "object",
"description": "Connection details are only returned for local PSTN types of TRUNK or ROUTE_GROUP.",
"title": "Connection"
},
"userLimit": {
"readonly": true,
"type": "integer",
"description": "Limit on the number of people at the location, Read-Only.",
"title": "User Limit"
},
"musicOnHold": {
"properties": {
"audioFile": {
"properties": {
"level": {
"choices": [
{
"value": "ORGANIZATION",
"title": "ORGANIZATION"
},
{
"value": "LOCATION",
"title": "LOCATION"
}
],
"type": "string",
"description": "Audio announcement file type location.",
"title": "Level"
},
"mediaFileType": {
"choices": [
{
"value": "WAV",
"title": "WAV"
},
{
"value": "WMA",
"title": "WMA"
},
{
"value": "3GP",
"title": "3GP"
}
],
"type": "string",
"description": "Audio announcement file type",
"title": "Media File Type"
},
"id": {
"type": "string",
"description": "A unique identifier for the announcement.",
"title": "ID"
},
"fileName": {
"type": "string",
"description": "Audio announcement file name.",
"title": "File Name"
}
},
"required": false,
"type": "object",
"description": "Announcement Audio File details when greeting is selected to be CUSTOM.",
"title": "Audio File"
},
"callParkEnabled": {
"type": "boolean",
"description": "If enabled, music will be played when call is parked.",
"title": "Call Park Enabled"
},
"callHoldEnabled": {
"type": "boolean",
"description": "If enabled, music will be played when call is placed on hold.",
"title": "Call Hold Enabled"
},
"greeting": {
"choices": [
{
"value": "SYSTEM",
"title": "SYSTEM"
},
{
"value": "CUSTOM",
"title": "CUSTOM"
}
],
"type": "string",
"description": "Greeting type for the location.",
"title": "Greeting"
}
},
"required": false,
"type": "object",
"description": "Location's music on hold settings.",
"title": "Music On Hold"
},
"announcementLanguage": {
"type": "string",
"description": "Location's phone announcement language.",
"title": "Announcement Language"
},
"emergencyCallbackNumber": {
"properties": {
"locationInfo": {
"properties": {
"effectiveValue": {
"readonly": true,
"type": "string",
"description": "Location calling line ID (CLID) number. Avaliable only when number is present and quality would be invalid.",
"title": "Effective Value"
},
"effectiveLevel": {
"readonly": true,
"choices": [
{
"value": "LOCATION_NUMBER",
"title": "LOCATION_NUMBER"
},
{
"value": "LOCATION_MEMBER_NUMBER",
"title": "LOCATION_MEMBER_NUMBER"
},
{
"value": "'NONE'",
"title": "'NONE'"
}
],
"type": "string",
"description": "The source from which the emergency calling line ID (CLID) is selected for an actual emergency call, applying fallback rules as necessary.",
"title": "Effective Level"
},
"phoneNumber": {
"readonly": true,
"type": "string",
"description": "The location DN.",
"title": "Phone Number"
},
"name": {
"readonly": true,
"type": "string",
"description": "The name of the location.",
"title": "Name"
},
"quality": {
"readonly": true,
"choices": [
{
"value": "RECOMMENDED",
"title": "RECOMMENDED"
},
{
"value": "NOT_RECOMMENDED",
"title": "NOT_RECOMMENDED"
},
{
"value": "INVALID",
"title": "INVALID"
}
],
"type": "string",
"description": "Used to represent whether a number is a recommended ECBN.",
"title": "Quality"
}
},
"required": false,
"type": "object",
"description": "Data relevant to this location.",
"title": "Location Info"
},
"locationMemberInfo": {
"properties": {
"firstName": {
"readonly": true,
"type": "string",
"description": "The member first name.",
"title": "First Name"
},
"effectiveValue": {
"readonly": true,
"type": "string",
"description": "Location CLID number. Avaliable only when number is present and quality would be invalid.",
"title": "Effective Value"
},
"lastName": {
"readonly": true,
"type": "string",
"description": "The member last name. Always contains . if the member is a place",
"title": "Last Name"
},
"memberType": {
"readonly": true,
"choices": [
{
"value": "PEOPLE",
"title": "PEOPLE"
},
{
"value": "PLACE",
"title": "PLACE"
}
],
"type": "string",
"description": "Member Type.",
"title": "Member Type"
},
"memberId": {
"type": "string",
"description": "Member ID of user/place within the location.",
"title": "Member ID"
},
"phoneNumber": {
"readonly": true,
"type": "string",
"description": "The member DN.",
"title": "Phone Number"
},
"effectiveLevel": {
"choices": [
{
"value": "LOCATION_NUMBER",
"title": "LOCATION_NUMBER"
},
{
"value": "LOCATION_MEMBER_NUMBER",
"title": "LOCATION_MEMBER_NUMBER"
},
{
"value": "'NONE'",
"title": "'NONE'"
}
],
"type": "string",
"description": "The source from which the emergency calling line ID (CLID) is selected for an actual emergency call, applying fallback rules as necessary.",
"title": "Effective Level"
},
"quality": {
"readonly": true,
"choices": [
{
"value": "RECOMMENDED",
"title": "RECOMMENDED"
},
{
"value": "NOT_RECOMMENDED",
"title": "NOT_RECOMMENDED"
},
{
"value": "INVALID",
"title": "INVALID"
}
],
"type": "string",
"description": "Used to represent whether a number is a recommended ECBN.",
"title": "Quality"
}
},
"required": false,
"type": "object",
"description": "Data relevant to the user/place (member) selected for ECBN.",
"title": "Location Member Info"
}
},
"required": false,
"type": "object",
"description": "Location's Emergency Callback Number settings.",
"title": "Emergency Callback Number"
},
"chargeNumber": {
"type": "string",
"description": "Chargeable number for the line placing the call. When this is set, all calls placed from this location will include a P-Charge-Info header with the selected number in the SIP INVITE.",
"title": "Charge Number"
},
"internalDialing": {
"properties": {
"unknownExtensionRouteIdentity": {
"properties": {
"type": {
"choices": [
{
"value": "ROUTE_GROUP",
"title": "ROUTE_GROUP"
},
{
"value": "TRUNK",
"title": "TRUNK"
}
],
"type": "string",
"description": "Type associated with the identity.",
"title": "Type"
},
"id": {
"type": "string",
"description": "ID of the route type.",
"title": "ID"
},
"name": {
"type": "string",
"description": "A unique name for the route identity.",
"title": "Name"
}
},
"required": false,
"type": "object",
"description": "The selected route group/trunk as premises calls.",
"title": "Unknown Extension Route Identity"
},
"enableUnknownExtensionRoutePolicy": {
"type": "boolean",
"description": "When enabled, calls made by users at the location to an unknown extension (between 2-6 digits) are routed to the selected route group/trunk as premises calls.",
"title": "Enable Unknown Extension Route Policy"
}
},
"required": false,
"type": "object",
"description": "Internal Dialing settings for a location",
"title": "Internal Dialing"
},
"id": {
"readonly": true,
"type": "string",
"description": "A unique identifier for the location.",
"title": "ID"
},
"defaultDomain": {
"type": "string",
"description": "IP Address, hostname, or domain. Read-Only.",
"title": "Default Domain"
},
"voicemailTranscriptionEnabled": {
"properties": {
"voicemailTranscriptionEnabled": {
"type": "boolean",
"description": "Voicemail Transcription Enabled",
"title": "Voicemail Transcription Enabled"
}
},
"required": false,
"type": "object",
"description": "Voicemail Transcription settings.",
"title": "Voicemail Transcription Enabled"
}
},
"schema_version": "1.0.0"
}