[Index]
Model ref.: device/spark/AutoAttendants
The full URL would include the host-proxy name: https://[host-proxy].
Variables are enclosed in square brackets.
{ "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "properties": { "languageCode": { "type": "string", "title": "Language Code" }, "aa_id": { "type": "string", "title": "aa_key" }, "holidaySchedule": { "type": "string", "description": "Holiday defined for the auto attendant", "title": "Holiday Schedule" }, "id": { "type": "string", "title": "id" }, "extensionDialing": { "choices": [ { "value": "ENTERPRISE", "title": "ENTERPRISE" }, { "value": "GROUP", "title": "GROUP" } ], "enum": [ "ENTERPRISE", "GROUP" ], "type": "string", "description": "Extension dialing setting. If the values are not set default will be set as ENTERPRISE", "title": "Extension Dialing" }, "alternateNumbers": { "items": { "type": "object", "properties": { "tollFreeNumber": { "type": "boolean", "description": "tollFreeNumber", "title": "TollFree Number" }, "ringPattern": { "choices": [ { "value": "NORMAL", "title": "NORMAL" }, { "value": "LONG_LONG", "title": "LONG_LONG" }, { "value": "SHORT_SHORT_LONG", "title": "SHORT_SHORT_LONG" }, { "value": "SHORT_LONG_SHORT", "title": "SHORT_LONG_SHORT" } ], "required": true, "type": "string", "description": "ringPattern", "title": "Ring Pattern" }, "phoneNumber": { "type": "string", "description": "phoneNumber", "title": "Phone Number" } } }, "type": "array", "title": "Alternate Numbers" }, "phoneNumber": { "type": "string", "title": "Phone Number" }, "firstName": { "required": true, "type": "string", "title": "First Name" }, "afterHoursMenu": { "properties": { "audioAnnouncementFile": { "properties": { "mediaFileType": { "readonly": true, "enum": [ "WAV", "WMA", "3GP" ], "type": "string", "title": "File Type" }, "fileName": { "readonly": true, "type": "string", "title": "File Name" }, "id": { "target": "/api/device/spark/Announcements/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Name", "convert_to_primary_key": true, "choices": [], "target_attr": "name", "target_model_type": "device/spark/Announcements", "type": "string" }, "level": { "choices": [ { "value": "ORGANIZATION", "title": "Enterprise" }, { "value": "LOCATION", "title": "Location" } ], "enum": [ "ORGANIZATION", "LOCATION" ], "type": "string", "description": "Audio announcement file type location", "title": "Level" } }, "required": false, "type": "object", "description": "Announcement Audio File details", "title": "Greeting File" }, "extensionEnabled": { "type": "boolean", "description": "Enable extension dialling without requiring a menu item", "title": "Extension Dialing" }, "greeting": { "choices": [ { "value": "DEFAULT", "title": "DEFAULT" }, { "value": "CUSTOM", "title": "CUSTOM" } ], "enum": [ "DEFAULT", "CUSTOM" ], "type": "string", "title": "Greeting" }, "keyConfigurations": { "items": { "type": "object", "properties": { "action": { "choices": [ { "value": "PLAY_ANNOUNCEMENT", "title": "Play announcement" }, { "value": "TRANSFER_WITH_PROMPT", "title": "Transfer call with prompt" }, { "value": "TRANSFER_WITHOUT_PROMPT", "title": "Transfer call without prompt" }, { "value": "TRANSFER_TO_OPERATOR", "title": "Transfer call to operator" }, { "value": "TRANSFER_TO_MAILBOX", "title": "Transfer to voicemail" }, { "value": "NAME_DIALING", "title": "Dial by name" }, { "value": "EXTENSION_DIALING", "title": "Dial by extension" }, { "value": "REPEAT_MENU", "title": "Repeat menu" }, { "value": "EXIT", "title": "Exit Menu" } ], "enum": [ "PLAY_ANNOUNCEMENT", "TRANSFER_WITH_PROMPT", "TRANSFER_WITHOUT_PROMPT", "TRANSFER_TO_OPERATOR", "TRANSFER_TO_MAILBOX", "NAME_DIALING", "EXTENSION_DIALING", "REPEAT_MENU", "EXIT", "RETURN_TO_PREVIOUS_MENU" ], "type": "string", "description": "Action assigned to specific menu key configuration", "title": "Action" }, "key_description": { "type": "string", "description": "Provide a label for this menu option", "title": "Description" }, "audioAnnouncementFile": { "properties": { "mediaFileType": { "readonly": true, "enum": [ "WAV", "WMA", "3GP" ], "type": "string", "title": "File Type" }, "fileName": { "readonly": true, "type": "string", "title": "File Name" }, "id": { "target": "/api/device/spark/Announcements/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Name", "convert_to_primary_key": true, "choices": [], "target_attr": "name", "target_model_type": "device/spark/Announcements", "type": "string" }, "level": { "choices": [ { "value": "ORGANIZATION", "title": "Enterprise" }, { "value": "LOCATION", "title": "Location" } ], "enum": [ "ORGANIZATION", "LOCATION" ], "type": "string", "description": "Audio announcement file type location", "title": "Level" } }, "required": false, "type": "object", "description": "Pre-configured announcement audio files when PLAY_ANNOUNCEMENT is set", "title": "Announcement File" }, "value": { "type": "string", "title": "Phone Number or Extension" }, "key": { "choices": [ { "value": "0", "title": "0" }, { "value": "1", "title": "1" }, { "value": "2", "title": "2" }, { "value": "3", "title": "3" }, { "value": "4", "title": "4" }, { "value": "5", "title": "5" }, { "value": "6", "title": "6" }, { "value": "7", "title": "7" }, { "value": "8", "title": "8" }, { "value": "9", "title": "9" }, { "value": "#", "title": "#" } ], "enum": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "#" ], "type": "string", "description": "Key assigned to specific menu configuration", "title": "Key" } } }, "required": true, "type": "array", "description": "Key configurations defined for the auto attendant", "title": "Key Configurations" } }, "required": true, "type": "object", "description": "After hours menu defined for the auto attendant", "title": "After Hours Menu" }, "tollFreeNumber": { "type": "boolean", "description": "Flag to indicate if auto attendant number is toll-free number", "title": "Toll Free Number" }, "callForwarding": { "properties": { "rules": { "items": { "type": "object", "properties": { "name": { "type": "string", "description": "name", "title": "Name" }, "enabled": { "type": "boolean", "description": "enabled", "title": "Enabled" }, "id": { "type": "string", "description": "id", "title": "id" }, "callsFrom": { "properties": { "selection": { "choices": [ { "value": "ANY", "title": "ANY" }, { "value": "CUSTOM", "title": "CUSTOM" } ], "type": "string", "description": "selection", "title": "Selection" }, "customNumbers": { "properties": { "privateNumberEnabled": { "type": "boolean", "description": "privateNumberEnabled", "title": "Any Private Numbers " }, "unavailableNumberEnabled": { "type": "boolean", "description": "unavailableNumberEnabled", "title": "Any Unavailable Numbers" }, "numbers": { "items": { "type": "string" }, "type": "array", "title": "Numbers" } }, "type": "object", "description": "customNumbers", "title": "Custom Numbers" } }, "type": "object", "description": "callsFrom", "title": "Calls From" }, "businessSchedule": { "type": "string", "description": "businessSchedule", "title": "Business Schedule" }, "holidaySchedule": { "type": "string", "description": "holidaySchedule", "title": "Holiday Schedule" }, "forwardTo": { "properties": { "selection": { "choices": [ { "value": "FORWARD_TO_DEFAULT_NUMBER", "title": "FORWARD_TO_DEFAULT_NUMBER" }, { "value": "FORWARD_TO_SPECIFIED_NUMBER", "title": "FORWARD_TO_SPECIFIED_NUMBER" }, { "value": "DO_NOT_FORWARD", "title": "DO_NOT_FORWARD" } ], "type": "string", "description": "selection", "title": "Selection" }, "phoneNumber": { "type": "string", "description": "phoneNumber", "title": "Phone Number" } }, "type": "object", "description": "forwardTo", "title": "Forward To" }, "callsTo": { "properties": { "numbers": { "items": { "type": "object", "properties": { "phoneNumber": { "type": "string", "description": "Only return call queues with matching primary phone number or extension", "title": "Phone Number" }, "type": { "choices": [ { "value": "PRIMARY", "title": "PRIMARY" }, { "value": "ALTERNATE", "title": "ALTERNATE" } ], "type": "string", "description": "Indicates that the given phoneNumber or extension associated with this rule's containing object is a primary or alternate number", "title": "Type" }, "extension": { "type": "string", "description": "Primary phone extension of the call queue.", "title": "Extension" } } }, "required": false, "type": "array", "description": "Array of numbers to be matched against the calling destination number", "title": "Calls To Numbers" } }, "type": "object", "description": "callsTo", "title": "Calls To" } } }, "required": false, "type": "array", "description": "rules", "title": "Rules" }, "always": { "type": "object", "properties": { "ringReminderEnabled": { "type": "boolean", "description": "ringReminderEnabled", "title": "Ring Reminder Enabled" }, "destination": { "type": "string", "description": "destination", "title": "Destination" }, "enabled": { "type": "boolean", "description": "enabled", "title": "Enabled" }, "sendToVoicemailEnabled": { "type": "boolean", "description": "sendToVoicemailEnabled", "title": "Send To Voicemail Enabled" } }, "title": "Always" }, "selective": { "type": "object", "properties": { "ringReminderEnabled": { "type": "boolean", "description": "ringReminderEnabled", "title": "Ring Reminder Enabled" }, "destination": { "type": "string", "description": "destination", "title": "Destination" }, "enabled": { "type": "boolean", "description": "enabled", "title": "Enabled" }, "sendToVoicemailEnabled": { "type": "boolean", "description": "sendToVoicemailEnabled", "title": "Send To Voicemail Enabled" } }, "title": "Selective" } }, "required": false, "type": "object", "description": "Call Forwarding Settings", "title": "Call Forwarding Settings" }, "language": { "required": true, "type": "string", "title": "Language" }, "businessHoursMenu": { "properties": { "audioAnnouncementFile": { "properties": { "mediaFileType": { "readonly": true, "enum": [ "WAV", "WMA", "3GP" ], "type": "string", "title": "File Type" }, "fileName": { "readonly": true, "type": "string", "title": "File Name" }, "id": { "target": "/api/device/spark/Announcements/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Name", "convert_to_primary_key": true, "choices": [], "target_attr": "name", "target_model_type": "device/spark/Announcements", "type": "string" }, "level": { "choices": [ { "value": "ORGANIZATION", "title": "Enterprise" }, { "value": "LOCATION", "title": "Location" } ], "enum": [ "ORGANIZATION", "LOCATION" ], "type": "string", "description": "Audio announcement file type location", "title": "Level" } }, "required": false, "type": "object", "description": "Announcement Audio File details", "title": "Greeting File" }, "extensionEnabled": { "type": "boolean", "description": "Enable extension dialling without requiring a menu item", "title": "Extension Dialing" }, "greeting": { "choices": [ { "value": "DEFAULT", "title": "DEFAULT" }, { "value": "CUSTOM", "title": "CUSTOM" } ], "enum": [ "DEFAULT", "CUSTOM" ], "type": "string", "title": "Greeting" }, "keyConfigurations": { "items": { "type": "object", "properties": { "action": { "choices": [ { "value": "PLAY_ANNOUNCEMENT", "title": "Play announcement" }, { "value": "TRANSFER_WITH_PROMPT", "title": "Transfer call with prompt" }, { "value": "TRANSFER_WITHOUT_PROMPT", "title": "Transfer call without prompt" }, { "value": "TRANSFER_TO_OPERATOR", "title": "Transfer call to operator" }, { "value": "TRANSFER_TO_MAILBOX", "title": "Transfer to voicemail" }, { "value": "NAME_DIALING", "title": "Dial by name" }, { "value": "EXTENSION_DIALING", "title": "Dial by extension" }, { "value": "REPEAT_MENU", "title": "Repeat menu" }, { "value": "EXIT", "title": "Exit Menu" } ], "enum": [ "PLAY_ANNOUNCEMENT", "TRANSFER_WITH_PROMPT", "TRANSFER_WITHOUT_PROMPT", "TRANSFER_TO_OPERATOR", "TRANSFER_TO_MAILBOX", "NAME_DIALING", "EXTENSION_DIALING", "REPEAT_MENU", "EXIT", "RETURN_TO_PREVIOUS_MENU" ], "type": "string", "description": "Action assigned to specific menu key configuration", "title": "Action" }, "key_description": { "type": "string", "description": "Provide a label for this menu option", "title": "Description" }, "audioAnnouncementFile": { "properties": { "mediaFileType": { "readonly": true, "enum": [ "WAV", "WMA", "3GP" ], "type": "string", "title": "File Type" }, "fileName": { "readonly": true, "type": "string", "title": "File Name" }, "id": { "target": "/api/device/spark/Announcements/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Name", "convert_to_primary_key": true, "choices": [], "target_attr": "name", "target_model_type": "device/spark/Announcements", "type": "string" }, "level": { "choices": [ { "value": "ORGANIZATION", "title": "Enterprise" }, { "value": "LOCATION", "title": "Location" } ], "enum": [ "ORGANIZATION", "LOCATION" ], "type": "string", "description": "Audio announcement file type location", "title": "Level" } }, "required": false, "type": "object", "description": "Pre-configured announcement audio files when PLAY_ANNOUNCEMENT is set", "title": "Announcement File" }, "value": { "type": "string", "title": "Phone Number or Extension" }, "key": { "choices": [ { "value": "0", "title": "0" }, { "value": "1", "title": "1" }, { "value": "2", "title": "2" }, { "value": "3", "title": "3" }, { "value": "4", "title": "4" }, { "value": "5", "title": "5" }, { "value": "6", "title": "6" }, { "value": "7", "title": "7" }, { "value": "8", "title": "8" }, { "value": "9", "title": "9" }, { "value": "#", "title": "#" } ], "enum": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "#" ], "type": "string", "description": "Key assigned to specific menu configuration", "title": "Key" } } }, "required": true, "type": "array", "description": "Key configurations defined for the auto attendant", "title": "Key Configurations" } }, "required": true, "type": "object", "description": "Business hours menu defined for the auto attendant", "title": "Business Hours Menu" }, "locationId": { "target": "/api/device/spark/Location/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": true, "convert_to_primary_key": true, "choices": [], "target_attr": "name", "target_model_type": "device/spark/Location", "title": "locationId", "type": "string" }, "businessSchedule": { "required": true, "type": "string", "description": "Business hours defined for the auto attendant", "title": "Business Hours Schedule" }, "nameDialing": { "choices": [ { "value": "ENTERPRISE", "title": "ENTERPRISE" }, { "value": "GROUP", "title": "GROUP" } ], "enum": [ "ENTERPRISE", "GROUP" ], "type": "string", "description": "Name dialing setting. If the values are not set default will be set as ENTERPRISE", "title": "Name Dialing" }, "name": { "required": true, "type": "string", "title": "Name" }, "extension": { "type": "string", "title": "Extension" }, "lastName": { "required": true, "type": "string", "title": "Last Name" }, "enabled": { "type": "boolean", "title": "Enabled" }, "locationName": { "type": "string", "title": "locationName" }, "timeZone": { "type": "string", "title": "Time Zone" } }, "schema_version": "1.0.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/device/spark/AutoAttendants/add/ |
|
The GUI Add form of device/spark/AutoAttendants as JSON |
The API call to the /add/ URL can only be made from a hierarchy that allows the model type to be added. The actions in the response shows the url for the POST API call to create an instance.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Create | POST | /api/device/spark/AutoAttendants | hierarchy=[hierarchy] |
|
tool/Transaction/[trans pkid]to inspect the created resource and its instance pkid.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk delete [pkid1],[pkid2]... | DELETE | /api/device/spark/AutoAttendants/ | hierarchy=[hierarchy] | {"hrefs":["/api/device/spark/AutoAttendants/[pkid1]", "/api/device/spark/AutoAttendants/[pkid2]", ...]} |
GET http://[host-proxy]/api/device/spark/AutoAttendants/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/device/spark/AutoAttendants/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/device/spark/AutoAttendants/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/device/spark/AutoAttendants/[pkid1]", "/api/v0/device/spark/AutoAttendants/[pkid2]",...]}} |
GET http://[host-proxy]/api/device/spark/AutoAttendants/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=device/spark/AutoAttendants |
|
{"hrefs": ["/api/device/spark/AutoAttendants/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=device/spark/AutoAttendants |
|
{"hrefs": ["/api/device/spark/AutoAttendants/[pkid1]", "/api/device/spark/AutoAttendants/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of device/spark/AutoAttendants; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/device/spark/AutoAttendants/export/ |
|
{ "hrefs":["/api/device/spark/AutoAttendants/[pkid1]", "/api/device/spark/AutoAttendants/[pkid2]",...]}} |
For export_format=json, the response is a time stamped zip file of data in JSON as in the system database. Item properties such as strings that are empty or Boolean values that are not set, are not included. The filename in the response is of the format as the example:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
For export_format=raw_xlsx, the response is a MS Excel spreadsheet with columns corresponding to the JSON format export and a response filename format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, arranged by any Field Display Policies that apply. The columns correspond with those of a Bulk Load Template export sheet. The response filename format is:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
The XLSX format can be used to bulk load instances of device/spark/AutoAttendants and the JSON format can be used to import instances of device/spark/AutoAttendants.
GET http://[host-proxy]/api/device/spark/AutoAttendants/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for device/spark/AutoAttendants | POST | /api/device/spark/AutoAttendants/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/device/spark/AutoAttendants/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/device/spark/AutoAttendants/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/device/spark/AutoAttendants/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/device/spark/AutoAttendants/ |
|
The device/spark/AutoAttendants schema and all instances as JSON. |
(The list will return 0 to 3 device/spark/AutoAttendants instances)
{ "operations": [ "list" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/device/spark/AutoAttendants/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 8 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "1.0.0", "references": { "device": [ { "pkid": "", "href": "" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/device/spark/AutoAttendants/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/spark/AutoAttendants/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/device/spark/AutoAttendants/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=device/spark/AutoAttendants", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/spark/AutoAttendants/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/device/spark/AutoAttendants/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/device/spark/AutoAttendants/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/device/spark/AutoAttendants/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/device/spark/AutoAttendants/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/device/spark/AutoAttendants/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/device/spark/AutoAttendants/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/device/spark/AutoAttendants/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/spark/AutoAttendants/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/spark/AutoAttendants/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/device/spark/AutoAttendants/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "device/spark/AutoAttendants", "model_specific_actions": [ "list", "get", "add", "update", "remove", "move", "clone", "export", "export_bulkload_template", "bulk_update_form", "configuration_template", "field_display_policy", "help", "migration", "transform", "tag", "tag_version" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "locationName", "title": "locationName" }, { "name": "phoneNumber", "title": "Phone Number" }, { "name": "extension", "title": "Extension" }, { "name": "tollFreeNumber", "title": "Toll Free Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [ { "pkid": "65e041416fd4534903e065d6", "meta": { "tags": [], "cached": true, "title": "MW-Attendant", "business_key": {}, "schema_version": "", "summary": "false", "references": { "owner": [ { "pkid": "" } ], "device": [ { "pkid": "65e032dd6fd4534903dff71c", "href": "/api/v0/data/Spark/65e032dd6fd4534903dff71c" } ], "self": [ { "pkid": "65e041416fd4534903e065d6", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/" } ], "parent": [ { "pkid": "65e040e06fd4534903e05b98", "href": "/api/data/HierarchyNode/65e040e06fd4534903e05b98" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/65e041416fd4534903e065d6/?model_type=device/spark/AutoAttendants", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/help", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/purge/", "method": "POST", "title": "Purge" } } ], "model_type": "device/spark/AutoAttendants", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "65e040e06fd4534903e05b98", "65e041416fd4534903e065d6" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "locationName", "title": "locationName" }, { "name": "phoneNumber", "title": "Phone Number" }, { "name": "extension", "title": "Extension" }, { "name": "tollFreeNumber", "title": "Toll Free Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "languageCode": "en_us", "aa_id": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5UL2RIYzRjbmhtTjJGdFpVQTVPREF5TnpNMk9TNTFjekV3TG1KamJHUXVkMlZpWlhndVkyOXQ:Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzc1NGQ1NDU1LTBkNzYtNDg3MS1hOTRmLWJhOTFiYjE2ZGNjZQ:MW-Lilongwe", "hierarchy": "5f3ae552ce894e00120537fa", "hierarchy_friendly_name": "MW-Lilongwe (Site)", "holidaySchedule": "", "id": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5UL2RIYzRjbmhtTjJGdFpVQTVPREF5TnpNMk9TNTFjekV3TG1KamJHUXVkMlZpWlhndVkyOXQ", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.MW-Lilongwe", "phoneNumber": "+27215252027", "summary_device": "Connection parameters for Spark Customer AB_Group, AB_Group, hcs.CS-P.CS-AB.AB_Group", "afterHoursMenu": { "extensionEnabled": true, "greeting": "DEFAULT", "keyConfigurations": [ { "action": "EXIT", "key_description": "", "value": "", "key": "0" } ] }, "tollFreeNumber": false, "callForwarding": { "always": { "ringReminderEnabled": false, "destination": "", "enabled": false, "sendToVoicemailEnabled": false }, "selective": { "ringReminderEnabled": false, "destination": "", "enabled": false, "sendToVoicemailEnabled": false } }, "extensionDialing": "ENTERPRISE", "language": "English", "businessHoursMenu": { "extensionEnabled": true, "greeting": "DEFAULT", "keyConfigurations": [ { "action": "EXIT", "key_description": "", "value": "", "key": "0" } ] }, "locationId": "MW-Lilongwe", "businessSchedule": "MW-Schedule", "nameDialing": "ENTERPRISE", "name": "MW-Attendant", "firstName": "MW-Attendant", "lastName": "MW-Attendant", "enabled": true, "locationName": "MW-Lilongwe", "extension": "2027", "timeZone": "Africa/Johannesburg" } }, { "pkid": "65e041376fd4534903e064a7", "meta": { "tags": [], "cached": true, "title": "NA-Attendant", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "65e032dd6fd4534903dff71c", "href": "/api/v0/data/Spark/65e032dd6fd4534903dff71c" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "65e041376fd4534903e064a7", "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/" } ], "parent": [ { "pkid": "65e040cc6fd4534903e05989", "href": "/api/data/HierarchyNode/65e040cc6fd4534903e05989" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/65e041376fd4534903e064a7/?model_type=device/spark/AutoAttendants", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/help", "title": "Help", "class": "help", "method": "GET" } }, { "purge": { "support_async": false, "href": "/api/device/spark/AutoAttendants/65e041376fd4534903e064a7/purge/", "title": "Purge", "class": "purge", "method": "POST" } } ], "model_type": "device/spark/AutoAttendants", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "65e040cc6fd4534903e05989", "65e041376fd4534903e064a7" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "locationName", "title": "locationName" }, { "name": "phoneNumber", "title": "Phone Number" }, { "name": "extension", "title": "Extension" }, { "name": "tollFreeNumber", "title": "Toll Free Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "languageCode": "en_us", "aa_id": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5UL1pYZHliR2R1Yld4bGFrQTVPREF5TnpNMk9TNTFjekV3TG1KamJHUXVkMlZpWlhndVkyOXQ:Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OL2M4MGY3YTk4LTdmOTItNDE1Ni1iNWRjLWYzYjU0ODAyMDBhNg:NA-Windhoek", "hierarchy": "5f3ae552ce894e00120537fa", "hierarchy_friendly_name": "NA-Windhoek (Site)", "holidaySchedule": "", "id": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5UL1pYZHliR2R1Yld4bGFrQTVPREF5TnpNMk9TNTFjekV3TG1KamJHUXVkMlZpWlhndVkyOXQ", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.NA-Windhoek", "phoneNumber": "+27215252030", "summary_device": "Connection parameters for Spark Customer AB_Group, AB_Group, hcs.CS-P.CS-AB.AB_Group", "afterHoursMenu": { "extensionEnabled": true, "greeting": "DEFAULT", "keyConfigurations": [ { "action": "EXIT", "key_description": "", "value": "", "key": "0" } ] }, "tollFreeNumber": false, "callForwarding": { "always": { "ringReminderEnabled": false, "destination": "", "enabled": false, "sendToVoicemailEnabled": false }, "selective": { "ringReminderEnabled": false, "destination": "", "enabled": false, "sendToVoicemailEnabled": false } }, "extensionDialing": "ENTERPRISE", "language": "English", "businessHoursMenu": { "extensionEnabled": true, "greeting": "DEFAULT", "keyConfigurations": [ { "action": "EXIT", "key_description": "", "value": "", "key": "0" } ] }, "locationId": "NA-Windhoek", "businessSchedule": "NA-Schedule", "nameDialing": "ENTERPRISE", "name": "NA-Attendant", "firstName": "NA-Attendant", "lastName": "NA-Attendant", "enabled": true, "locationName": "NA-Windhoek", "extension": "2030", "timeZone": "Africa/Johannesburg" } }, { "pkid": "65e0a1bd6fd4534903e4fad0", "meta": { "tags": [], "cached": true, "title": "VOSS-GBR-Reading-AA1", "business_key": {}, "schema_version": "", "summary": "false", "references": { "device": [ { "pkid": "65e0918d6fd4534903e212ec", "href": "/api/v0/data/Spark/65e0918d6fd4534903e212ec" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "65e0a1bd6fd4534903e4fad0", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/" } ], "parent": [ { "pkid": "6130d69ae04a4a0015a93bc6", "href": "/api/data/HierarchyNode/6130d69ae04a4a0015a93bc6" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "method": "POST", "href": "/api/tool/DataMove/65e0a1bd6fd4534903e4fad0/?model_type=device/spark/AutoAttendants", "class": "move", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/help", "class": "help", "title": "Help" } }, { "purge": { "support_async": false, "method": "POST", "href": "/api/device/spark/AutoAttendants/65e0a1bd6fd4534903e4fad0/purge/", "class": "purge", "title": "Purge" } } ], "model_type": "device/spark/AutoAttendants", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae236ce894e001204efa0", "6130d69ae04a4a0015a93bc6", "65e0a1bd6fd4534903e4fad0" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "locationName", "title": "locationName" }, { "name": "phoneNumber", "title": "Phone Number" }, { "name": "extension", "title": "Extension" }, { "name": "tollFreeNumber", "title": "Toll Free Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "languageCode": "en_gb", "aa_id": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5UL2NHbDZjbUkwYUhSNk4wQTVPREF5TnpNMk9TNTFjekV3TG1KamJHUXVkMlZpWlhndVkyOXQ:Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OL2YwYTc3MGIyLTU3OGMtNGI5Zi04N2RjLTJkMzkyZGEyZGVjZQ:VOSS-GBR-Reading", "hierarchy": "6130d69ae04a4a0015a93bc6", "hierarchy_friendly_name": "AAAGlobal (Customer)", "holidaySchedule": "", "id": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5UL2NHbDZjbUkwYUhSNk4wQTVPREF5TnpNMk9TNTFjekV3TG1KamJHUXVkMlZpWlhndVkyOXQ", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal", "alternateNumbers": [ { "tollFreeNumber": "", "ringPattern": "NORMAL", "phoneNumber": "+441202119313" } ], "phoneNumber": "", "firstName": "Auto", "summary_device": "Connection parameters for Spark Customer AAAGlobal, AAAGlobal, hcs.CS-P.CS-NB.AAAGlobal", "afterHoursMenu": { "extensionEnabled": true, "greeting": "DEFAULT", "keyConfigurations": [ { "action": "EXIT", "key_description": "", "value": "", "key": "0" } ] }, "tollFreeNumber": "", "callForwarding": { "rules": [ { "name": "Rule1", "enabled": true, "id": "Y2lzY29zcGFyazovL3VzL0NBTExfRk9SV0FSRElOR19TRUxFQ1RJVkVfUlVMRS9VblZzWlRFPQ", "callsFrom": { "selection": "ANY", "customNumbers": { "privateNumberEnabled": false, "unavailableNumberEnabled": false } }, "businessSchedule": "Schedule1", "holidaySchedule": "", "forwardTo": { "selection": "FORWARD_TO_DEFAULT_NUMBER", "phoneNumber": "" }, "callsTo": { "numbers": [ { "phoneNumber": "", "type": "PRIMARY", "extension": "9326" } ] } } ], "always": { "ringReminderEnabled": false, "destination": "", "enabled": false, "sendToVoicemailEnabled": false }, "selective": { "ringReminderEnabled": false, "destination": "9331", "enabled": true, "sendToVoicemailEnabled": false } }, "extensionDialing": "ENTERPRISE", "businessHoursMenu": { "audioAnnouncementFile": { "fileName": "1693576231884.wav", "mediaFileType": "WAV", "id": "Y2lzY29zcGFyazovL3VzL0FOTk9VTkNFTUVOVC8yZDRhMzU5Yi04ZTU0LTQxODktYWM3YS0zY2JiMWFmMjc2NTE", "level": "LOCATION" }, "extensionEnabled": false, "greeting": "DEFAULT", "keyConfigurations": [ { "action": "EXIT", "key_description": "", "value": "", "key": "0" }, { "action": "TRANSFER_WITHOUT_PROMPT", "key_description": "", "value": "9313", "key": "1" }, { "action": "PLAY_ANNOUNCEMENT", "key_description": "", "audioAnnouncementFile": { "fileName": "1693576231884.wav", "mediaFileType": "WAV", "id": "Y2lzY29zcGFyazovL3VzL0FOTk9VTkNFTUVOVC8yZDRhMzU5Yi04ZTU0LTQxODktYWM3YS0zY2JiMWFmMjc2NTE", "level": "LOCATION" }, "value": "", "key": "2" } ] }, "locationId": "VOSS-GBR-Reading", "businessSchedule": "Schedule1", "nameDialing": "ENTERPRISE", "name": "VOSS-GBR-Reading-AA1", "language": "English (United Kingdom)", "lastName": "Attendant1", "enabled": true, "locationName": "VOSS-GBR-Reading", "extension": "9326", "timeZone": "Europe/London" } } ] }
(Show the first instance)
{ "pkid": "65e041416fd4534903e065d6", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "MW-Attendant", "business_key": {}, "schema_version": "", "references": { "parent": [ { "pkid": "65e040e06fd4534903e05b98", "href": "/api/data/HierarchyNode/65e040e06fd4534903e05b98" } ], "self": [ { "pkid": "65e041416fd4534903e065d6", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/" } ], "foreign_key": [], "owner": [ { "pkid": "" } ], "device": [ { "pkid": "65e032dd6fd4534903dff71c", "href": "/api/v0/data/Spark/65e032dd6fd4534903dff71c" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/65e041416fd4534903e065d6/?hierarchy=[hierarchy]&model_type=device/spark/AutoAttendants", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "purge": { "support_async": false, "class": "purge", "href": "/api/device/spark/AutoAttendants/65e041416fd4534903e065d6/purge/?hierarchy=[hierarchy]", "method": "POST", "title": "Purge" } } ], "model_type": "device/spark/AutoAttendants", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "65e040e06fd4534903e05b98", "65e041416fd4534903e065d6" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "locationName", "title": "locationName" }, { "name": "phoneNumber", "title": "Phone Number" }, { "name": "extension", "title": "Extension" }, { "name": "tollFreeNumber", "title": "Toll Free Number" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" }, { "allow_filtering": false, "name": "summary_device", "title": "Device" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "languageCode": "en_us", "aa_id": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5UL2RIYzRjbmhtTjJGdFpVQTVPREF5TnpNMk9TNTFjekV3TG1KamJHUXVkMlZpWlhndVkyOXQ:Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzc1NGQ1NDU1LTBkNzYtNDg3MS1hOTRmLWJhOTFiYjE2ZGNjZQ:MW-Lilongwe", "hierarchy": "5f3ae552ce894e00120537fa", "holidaySchedule": "", "id": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5UL2RIYzRjbmhtTjJGdFpVQTVPREF5TnpNMk9TNTFjekV3TG1KamJHUXVkMlZpWlhndVkyOXQ", "extensionDialing": "ENTERPRISE", "phoneNumber": "+27215252027", "afterHoursMenu": { "extensionEnabled": true, "greeting": "DEFAULT", "keyConfigurations": [ { "action": "EXIT", "key_description": "", "value": "", "key": "0" } ] }, "tollFreeNumber": false, "callForwarding": { "always": { "ringReminderEnabled": false, "destination": "", "enabled": false, "sendToVoicemailEnabled": false }, "selective": { "ringReminderEnabled": false, "destination": "", "enabled": false, "sendToVoicemailEnabled": false } }, "language": "English", "businessHoursMenu": { "extensionEnabled": true, "greeting": "DEFAULT", "keyConfigurations": [ { "action": "EXIT", "key_description": "", "value": "", "key": "0" } ] }, "locationId": "MW-Lilongwe", "businessSchedule": "MW-Schedule", "nameDialing": "ENTERPRISE", "name": "MW-Attendant", "firstName": "MW-Attendant", "lastName": "MW-Attendant", "enabled": true, "locationName": "MW-Lilongwe", "extension": "2027", "timeZone": "Africa/Johannesburg" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for device/spark/AutoAttendants. | GET | /api/device/spark/AutoAttendants/help | hierarchy=[hierarchy] | On-line help of Model ref.: device/spark/AutoAttendants as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/device/spark/AutoAttendants/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/device/spark/AutoAttendants/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/device/spark/AutoAttendants/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/device/spark/AutoAttendants/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=device/spark/AutoAttendants | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of device/spark/AutoAttendants; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/device/spark/AutoAttendants/[pkid]/export |
|
The response is an attachment. Refer to the list below. |
For export_format=raw_xlsx, the response is a "raw" MS Excel spreadsheet with columns corresponding to the JSON format export and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, formatted to show all columns and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx Content-Language:en Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=json, the response is a time stamped zip file of data in JSON and a response format:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip Content-Language:en Content-Type:application/x-zip
The XLSX format can be used to bulk load instances of device/spark/AutoAttendants and the JSON format can be used to import instances of device/spark/AutoAttendants.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/device/spark/AutoAttendants/[pkid]/+tag | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/device/spark/AutoAttendants/[pkid] | hierarchy=[hierarchy] | The device/spark/AutoAttendants instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/device/spark/AutoAttendants/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for device/spark/AutoAttendants. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Purge | POST | /api/device/spark/AutoAttendants/[pkid]/purge | hierarchy=[hierarchy] | If payload required: |