[Index]
Stores default Phone Configuration Mappings.
Model ref.: data/PhoneConfigMapping
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": { "feature_template_exclusion_overrides": { "items": { "type": "object", "properties": { "template_name": { "required": true, "type": "string", "description": "Name to be used for this feature template. This is what will be displayed in dropdowns.", "title": "Template Name" }, "profile_name": { "required": true, "type": "string", "description": "Name to be used for this feature template. This is what will be displayed in dropdowns.", "title": "Profile Name" } } }, "type": "array", "description": "List of feature template exclusion overrides. The templates listed here will not be available for selection for the corresponding profile.", "title": "Feature Template Exclusion Overrides" }, "feature_template_inclusion_overrides": { "items": { "type": "object", "properties": { "template_name": { "required": true, "type": "string", "description": "Name to be used for this feature template. This is what will be displayed in dropdowns.", "title": "Template Name" }, "profile_name": { "required": true, "type": "string", "description": "Profile to create an inclusion override for. These additional feature templates will be available to be selected by the user when this profile is selected.", "title": "Profile Name" }, "config_template": { "required": true, "type": "string", "description": "Configuration template to use when provisioning phones when selected by the user.", "title": "Feature Configuration Template" } } }, "type": "array", "description": "List of feature template inclusion overrides. These additional template will also be displayed only for the corresponding profile.", "title": "Feature Template Inclusion Overrides" }, "feature_templates": { "items": { "type": "object", "properties": { "template_name": { "required": true, "type": "string", "description": "Name to be used for this feature template. This is what will be displayed in dropdowns.", "title": "Template Name" }, "config_template": { "required": true, "type": "string", "description": "Configuration template to use when provisioning phones when selected by the user.", "title": "Feature Configuration Template" } } }, "type": "array", "description": "List of feature configuration template. These template definitions will be available to users creating or managing phones.", "title": "Feature Templates" }, "name": { "default": "Default", "required": true, "type": "string", "description": "Name of the Phone Configuration Mapping.", "title": "Name" }, "profiles": { "items": { "type": "object", "properties": { "button_template": { "type": "string", "description": "Button template of this profile.", "title": "Button Template" }, "protocol": { "required": true, "type": "string", "description": "Protocol of this profile.", "title": "Protocol" }, "security_profile": { "type": "string", "description": "Security profile of this profile.", "title": "Security Profile" }, "profile_name": { "required": true, "type": "string", "description": "Name to be used for this profile configuration. This is what will be displayed in dropdowns.", "title": "Profile Name" }, "config_template": { "required": true, "type": "string", "description": "Base configuration template to be used when provisioning phones using this profile.", "title": "Base Configuration Template" }, "type": { "required": true, "type": "string", "description": "Phone type of this profile.", "title": "Phone Type" } } }, "type": "array", "description": "List of profile configuration mappings. The profiles listed here will be available to users creating or managing phones.", "title": "Profiles" } }, "schema_version": "1.0.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/PhoneConfigMapping/add/ |
|
The GUI Add form of data/PhoneConfigMapping 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/data/PhoneConfigMapping/ | 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/data/PhoneConfigMapping/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/PhoneConfigMapping/[pkid1]", "/api/data/PhoneConfigMapping/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/PhoneConfigMapping/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/PhoneConfigMapping/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/PhoneConfigMapping/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/PhoneConfigMapping/[pkid1]", "/api/v0/data/PhoneConfigMapping/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/PhoneConfigMapping/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=data/PhoneConfigMapping |
|
{"hrefs": ["/api/data/PhoneConfigMapping/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=data/PhoneConfigMapping |
|
{"hrefs": ["/api/data/PhoneConfigMapping/[pkid1]", "/api/data/PhoneConfigMapping/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/PhoneConfigMapping; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/PhoneConfigMapping/export/ |
|
{ "hrefs":["/api/data/PhoneConfigMapping/[pkid1]", "/api/data/PhoneConfigMapping/[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 data/PhoneConfigMapping and the JSON format can be used to import instances of data/PhoneConfigMapping.
GET http://[host-proxy]/api/data/PhoneConfigMapping/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/PhoneConfigMapping | POST | /api/data/PhoneConfigMapping/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/data/PhoneConfigMapping/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/PhoneConfigMapping/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/PhoneConfigMapping/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/PhoneConfigMapping/ |
|
The data/PhoneConfigMapping schema and all instances as JSON. |
(The list will return 0 to 3 data/PhoneConfigMapping instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "move", "transform", "add", "export", "migration", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/data/PhoneConfigMapping/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 1 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "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/data/PhoneConfigMapping/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/PhoneConfigMapping/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/data/PhoneConfigMapping/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=data/PhoneConfigMapping", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/PhoneConfigMapping/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/data/PhoneConfigMapping/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/PhoneConfigMapping/+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/data/PhoneConfigMapping/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/data/PhoneConfigMapping/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/PhoneConfigMapping/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/PhoneConfigMapping/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/PhoneConfigMapping/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/PhoneConfigMapping/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/data/PhoneConfigMapping/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "data/PhoneConfigMapping", "model_specific_actions": [ "add", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "get", "help", "list", "migration", "transform", "remove", "tag", "tag_version", "update", "move" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "resources": [ { "pkid": "5df3672bce894e0012b3a559", "meta": { "tags": [ "V4UC", "ba_CommonOverlay" ], "cached": true, "title": "Default", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "1.0.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5df3672bce894e0012b3a559", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/" } ], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/5df3672bce894e0012b3a559/?model_type=data/PhoneConfigMapping", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/help", "method": "GET", "title": "Help" } } ], "model_type": "data/PhoneConfigMapping", "path": [ "6t0ggef2c0deab00hb595101", "5df3672bce894e0012b3a559" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "feature_templates": [ { "template_name": "Default", "config_template": "Default Phone Feature CFT" } ], "name": "Default", "pkid": "5df3672bce894e0012b3a55a", "profiles": [ { "button_template": "Standard 6901 SIP", "protocol": "SIP", "security_profile": "Cisco 6901 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 6901", "config_template": "Basic Phone CFT", "type": "Cisco 6901" }, { "button_template": "Standard 6911 SIP", "protocol": "SIP", "security_profile": "Cisco 6911 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 6911", "config_template": "Basic Phone CFT", "type": "Cisco 6911" }, { "button_template": "Standard 6921 SIP", "protocol": "SIP", "security_profile": "Cisco 6921 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 6921", "config_template": "Basic Phone CFT", "type": "Cisco 6921" }, { "button_template": "Standard 6941 SIP", "protocol": "SIP", "security_profile": "Cisco 6941 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 6941", "config_template": "Basic Phone CFT", "type": "Cisco 6941" }, { "button_template": "Standard 6945 SIP", "protocol": "SIP", "security_profile": "Cisco 6945 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 6945", "config_template": "Basic Phone CFT", "type": "Cisco 6945" }, { "button_template": "Standard 6961 SIP", "protocol": "SIP", "security_profile": "Cisco 6961 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 6961", "config_template": "Basic Phone CFT", "type": "Cisco 6961" }, { "button_template": "Standard 7811 SIP", "protocol": "SIP", "security_profile": "Cisco 7811 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 7811", "config_template": "Basic Phone CFT", "type": "Cisco 7811" }, { "button_template": "Standard 7821 SIP", "protocol": "SIP", "security_profile": "Cisco 7821 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 7821", "config_template": "Basic Phone CFT", "type": "Cisco 7821" }, { "button_template": "Standard 7841 SIP", "protocol": "SIP", "security_profile": "Cisco 7841 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 7841", "config_template": "Basic Phone CFT", "type": "Cisco 7841" }, { "button_template": "Standard 7861 SIP", "protocol": "SIP", "security_profile": "Cisco 7861 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 7861", "config_template": "Basic Phone CFT", "type": "Cisco 7861" }, { "button_template": "Standard 8811 SIP", "protocol": "SIP", "security_profile": "Cisco 8811 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 8811", "config_template": "Basic Phone CFT", "type": "Cisco 8811" }, { "button_template": "Standard 8821 SIP", "protocol": "SIP", "security_profile": "Cisco 8821 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 8821", "config_template": "Basic Phone CFT", "type": "Cisco 8821" }, { "button_template": "Standard 8831 SIP", "protocol": "SIP", "security_profile": "Cisco 8831 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 8831", "config_template": "Basic Phone CFT", "type": "Cisco 8831" }, { "button_template": "Standard 8841 SIP", "protocol": "SIP", "security_profile": "Cisco 8841 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 8841", "config_template": "Basic Phone CFT", "type": "Cisco 8841" }, { "button_template": "Standard 8851 SIP", "protocol": "SIP", "security_profile": "Cisco 8851 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 8851", "config_template": "Basic Phone CFT", "type": "Cisco 8851" }, { "button_template": "Standard 8861 SIP", "protocol": "SIP", "security_profile": "Cisco 8861 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 8861", "config_template": "Basic Phone CFT", "type": "Cisco 8861" }, { "button_template": "Standard 8865 SIP", "protocol": "SIP", "security_profile": "Cisco 8865 - Standard SIP Non-Secure Profile", "profile_name": "Cisco 8865", "config_template": "Basic Phone CFT", "type": "Cisco 8865" }, { "button_template": "Standard Dual Mode for iPhone", "protocol": "SIP", "security_profile": "Cisco Dual Mode for iPhone - Standard SIP Non-Secure Profile", "profile_name": "iPhone", "config_template": "Basic Phone CFT", "type": "Cisco Dual Mode for iPhone" }, { "button_template": "Standard Dual Mode for Android", "protocol": "SIP", "security_profile": "Cisco Dual Mode for Android - Standard SIP Non-Secure Profile", "profile_name": "Android", "config_template": "Basic Phone CFT", "type": "Cisco Dual Mode for Android" }, { "button_template": "Standard Jabber for Tablet", "protocol": "SIP", "security_profile": "Cisco Jabber for Tablet - Standard SIP Non-Secure Profile", "profile_name": "Jabber on Tablet", "config_template": "Basic Phone CFT", "type": "Cisco Jabber for Tablet" }, { "button_template": "Standard Client Services Framework", "protocol": "SIP", "security_profile": "Cisco Unified Client Services Framework - Standard SIP Non-Secure Profile", "profile_name": "Jabber for Desktop (CSF)", "config_template": "Basic Phone CFT", "type": "Cisco Unified Client Services Framework" }, { "button_template": "Standard Carrier-integrated Mobile", "protocol": "SIP", "security_profile": "Carrier-integrated Mobile - Standard SIP Non-Secure Profile", "profile_name": "Carrier-integrated Mobile", "config_template": "Basic Phone CFT", "type": "Carrier-integrated Mobile" }, { "protocol": "CTI Remote Device", "profile_name": "CTI Remote Device", "type": "CTI Remote Device", "config_template": "Basic Phone CFT" } ], "hierarchy_friendly_name": "sys (System)", "hierarchy_path": "sys" } } ] }
(Show the first instance)
{ "pkid": "5df3672bce894e0012b3a559", "meta": { "tags": [ "V4UC", "ba_CommonOverlay" ], "cached": false, "title": "Default", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "1.0.0", "references": { "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "self": [ { "pkid": "5df3672bce894e0012b3a559", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/" } ], "foreign_key": [], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/5df3672bce894e0012b3a559/?hierarchy=[hierarchy]&model_type=data/PhoneConfigMapping", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/+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/data/PhoneConfigMapping/5df3672bce894e0012b3a559/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/PhoneConfigMapping/5df3672bce894e0012b3a559/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/PhoneConfigMapping", "path": [ "6t0ggef2c0deab00hb595101", "5df3672bce894e0012b3a559" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "pkid": "5df3672bce894e0012b3a55a", "feature_templates": [ { "template_name": "Default", "config_template": "Default Phone Feature CFT" } ], "name": "Default", "profiles": [ { "button_template": "Standard 6901 SIP", "protocol": "SIP", "type": "Cisco 6901", "profile_name": "Cisco 6901", "config_template": "Basic Phone CFT", "security_profile": "Cisco 6901 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 6911 SIP", "protocol": "SIP", "type": "Cisco 6911", "profile_name": "Cisco 6911", "config_template": "Basic Phone CFT", "security_profile": "Cisco 6911 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 6921 SIP", "protocol": "SIP", "type": "Cisco 6921", "profile_name": "Cisco 6921", "config_template": "Basic Phone CFT", "security_profile": "Cisco 6921 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 6941 SIP", "protocol": "SIP", "type": "Cisco 6941", "profile_name": "Cisco 6941", "config_template": "Basic Phone CFT", "security_profile": "Cisco 6941 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 6945 SIP", "protocol": "SIP", "type": "Cisco 6945", "profile_name": "Cisco 6945", "config_template": "Basic Phone CFT", "security_profile": "Cisco 6945 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 6961 SIP", "protocol": "SIP", "type": "Cisco 6961", "profile_name": "Cisco 6961", "config_template": "Basic Phone CFT", "security_profile": "Cisco 6961 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 7811 SIP", "protocol": "SIP", "type": "Cisco 7811", "profile_name": "Cisco 7811", "config_template": "Basic Phone CFT", "security_profile": "Cisco 7811 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 7821 SIP", "protocol": "SIP", "type": "Cisco 7821", "profile_name": "Cisco 7821", "config_template": "Basic Phone CFT", "security_profile": "Cisco 7821 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 7841 SIP", "protocol": "SIP", "type": "Cisco 7841", "profile_name": "Cisco 7841", "config_template": "Basic Phone CFT", "security_profile": "Cisco 7841 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 7861 SIP", "protocol": "SIP", "type": "Cisco 7861", "profile_name": "Cisco 7861", "config_template": "Basic Phone CFT", "security_profile": "Cisco 7861 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 8811 SIP", "protocol": "SIP", "type": "Cisco 8811", "profile_name": "Cisco 8811", "config_template": "Basic Phone CFT", "security_profile": "Cisco 8811 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 8821 SIP", "protocol": "SIP", "type": "Cisco 8821", "profile_name": "Cisco 8821", "config_template": "Basic Phone CFT", "security_profile": "Cisco 8821 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 8831 SIP", "protocol": "SIP", "type": "Cisco 8831", "profile_name": "Cisco 8831", "config_template": "Basic Phone CFT", "security_profile": "Cisco 8831 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 8841 SIP", "protocol": "SIP", "type": "Cisco 8841", "profile_name": "Cisco 8841", "config_template": "Basic Phone CFT", "security_profile": "Cisco 8841 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 8851 SIP", "protocol": "SIP", "type": "Cisco 8851", "profile_name": "Cisco 8851", "config_template": "Basic Phone CFT", "security_profile": "Cisco 8851 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 8861 SIP", "protocol": "SIP", "type": "Cisco 8861", "profile_name": "Cisco 8861", "config_template": "Basic Phone CFT", "security_profile": "Cisco 8861 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard 8865 SIP", "protocol": "SIP", "type": "Cisco 8865", "profile_name": "Cisco 8865", "config_template": "Basic Phone CFT", "security_profile": "Cisco 8865 - Standard SIP Non-Secure Profile" }, { "button_template": "Standard Dual Mode for iPhone", "protocol": "SIP", "type": "Cisco Dual Mode for iPhone", "profile_name": "iPhone", "config_template": "Basic Phone CFT", "security_profile": "Cisco Dual Mode for iPhone - Standard SIP Non-Secure Profile" }, { "button_template": "Standard Dual Mode for Android", "protocol": "SIP", "type": "Cisco Dual Mode for Android", "profile_name": "Android", "config_template": "Basic Phone CFT", "security_profile": "Cisco Dual Mode for Android - Standard SIP Non-Secure Profile" }, { "button_template": "Standard Jabber for Tablet", "protocol": "SIP", "type": "Cisco Jabber for Tablet", "profile_name": "Jabber on Tablet", "config_template": "Basic Phone CFT", "security_profile": "Cisco Jabber for Tablet - Standard SIP Non-Secure Profile" }, { "button_template": "Standard Client Services Framework", "protocol": "SIP", "type": "Cisco Unified Client Services Framework", "profile_name": "Jabber for Desktop (CSF)", "config_template": "Basic Phone CFT", "security_profile": "Cisco Unified Client Services Framework - Standard SIP Non-Secure Profile" }, { "button_template": "Standard Carrier-integrated Mobile", "protocol": "SIP", "type": "Carrier-integrated Mobile", "profile_name": "Carrier-integrated Mobile", "config_template": "Basic Phone CFT", "security_profile": "Carrier-integrated Mobile - Standard SIP Non-Secure Profile" }, { "type": "CTI Remote Device", "profile_name": "CTI Remote Device", "protocol": "CTI Remote Device", "config_template": "Basic Phone CFT" } ] } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/PhoneConfigMapping. | GET | /api/data/PhoneConfigMapping/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/PhoneConfigMapping as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/PhoneConfigMapping/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/PhoneConfigMapping/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/PhoneConfigMapping/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/PhoneConfigMapping/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=data/PhoneConfigMapping | 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 data/PhoneConfigMapping; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/PhoneConfigMapping/[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 data/PhoneConfigMapping and the JSON format can be used to import instances of data/PhoneConfigMapping.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/PhoneConfigMapping/[pkid]/+tag/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/PhoneConfigMapping/[pkid]/ | hierarchy=[hierarchy] | The data/PhoneConfigMapping instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/PhoneConfigMapping/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/PhoneConfigMapping. |