[Index]
Stores default Device Profile Configuration Mappings.
Model ref.: data/DeviceProfileConfigMapping
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 extension mobility profiles 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 extension mobility profiles 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 extension mobility profiles.", "title": "Feature Templates" }, "name": { "default": "Default", "required": true, "type": "string", "description": "Name of the Device Profile Configuration Mapping.", "title": "Name" }, "profiles": { "items": { "type": "object", "properties": { "protocol": { "required": true, "type": "string", "description": "Protocol of this profile.", "title": "Protocol" }, "button_template": { "type": "string", "description": "Button template of this profile.", "title": "Button Template" }, "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" }, "type": { "required": true, "type": "string", "description": "Phone type of this profile.", "title": "Phone Type" }, "config_template": { "required": true, "type": "string", "description": "Base configuration template to be used when provisioning device profiles using this profile.", "title": "Base Configuration Template" } } }, "type": "array", "description": "List of profile configuration mappings. The profiles listed here will be available to users creating or managing extension mobility profiles.", "title": "Profiles" } }, "schema_version": "1.0.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/DeviceProfileConfigMapping/add/ |
|
The GUI Add form of data/DeviceProfileConfigMapping 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/DeviceProfileConfigMapping/ | 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/DeviceProfileConfigMapping/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/DeviceProfileConfigMapping/[pkid1]", "/api/data/DeviceProfileConfigMapping/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/DeviceProfileConfigMapping/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/DeviceProfileConfigMapping/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/DeviceProfileConfigMapping/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/DeviceProfileConfigMapping/[pkid1]", "/api/v0/data/DeviceProfileConfigMapping/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/DeviceProfileConfigMapping/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=data/DeviceProfileConfigMapping |
|
{"hrefs": ["/api/data/DeviceProfileConfigMapping/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=data/DeviceProfileConfigMapping |
|
{"hrefs": ["/api/data/DeviceProfileConfigMapping/[pkid1]", "/api/data/DeviceProfileConfigMapping/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/DeviceProfileConfigMapping; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/DeviceProfileConfigMapping/export/ |
|
{ "hrefs":["/api/data/DeviceProfileConfigMapping/[pkid1]", "/api/data/DeviceProfileConfigMapping/[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/DeviceProfileConfigMapping and the JSON format can be used to import instances of data/DeviceProfileConfigMapping.
GET http://[host-proxy]/api/data/DeviceProfileConfigMapping/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/DeviceProfileConfigMapping | POST | /api/data/DeviceProfileConfigMapping/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/DeviceProfileConfigMapping/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/DeviceProfileConfigMapping/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/DeviceProfileConfigMapping/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/DeviceProfileConfigMapping/ |
|
The data/DeviceProfileConfigMapping schema and all instances as JSON. |
(The list will return 0 to 3 data/DeviceProfileConfigMapping 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/DeviceProfileConfigMapping/?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/DeviceProfileConfigMapping/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/DeviceProfileConfigMapping/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/data/DeviceProfileConfigMapping/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/DeviceProfileConfigMapping", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/DeviceProfileConfigMapping/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/DeviceProfileConfigMapping/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/DeviceProfileConfigMapping/+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/DeviceProfileConfigMapping/+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/DeviceProfileConfigMapping/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/DeviceProfileConfigMapping/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/DeviceProfileConfigMapping/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/DeviceProfileConfigMapping/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/DeviceProfileConfigMapping/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/data/DeviceProfileConfigMapping/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "data/DeviceProfileConfigMapping", "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": "5dcc8b519d77dd00186e302b", "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": "5dcc8b519d77dd00186e302b", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/" } ], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/5dcc8b519d77dd00186e302b/?model_type=data/DeviceProfileConfigMapping", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/help", "method": "GET", "title": "Help" } } ], "model_type": "data/DeviceProfileConfigMapping", "path": [ "6t0ggef2c0deab00hb595101", "5dcc8b519d77dd00186e302b" ], "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 Device Profile Feature CFT" } ], "name": "Default", "pkid": "5dcc8b519d77dd00186e302c", "profiles": [ { "protocol": "SIP", "button_template": "Standard 6921 SIP", "profile_name": "Cisco 6921", "type": "Cisco 6921", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 6941 SIP", "profile_name": "Cisco 6941", "type": "Cisco 6941", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 6945 SIP", "profile_name": "Cisco 6945", "type": "Cisco 6945", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 6961 SIP", "profile_name": "Cisco 6961", "type": "Cisco 6961", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 7811 SIP", "profile_name": "Cisco 7811", "type": "Cisco 7811", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 7821 SIP", "profile_name": "Cisco 7821", "type": "Cisco 7821", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 7841 SIP", "profile_name": "Cisco 7841", "type": "Cisco 7841", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 7861 SIP", "profile_name": "Cisco 7861", "type": "Cisco 7861", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 8811 SIP", "profile_name": "Cisco 8811", "type": "Cisco 8811", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 8821 SIP", "profile_name": "Cisco 8821", "type": "Cisco 8821", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 8831 SIP", "profile_name": "Cisco 8831", "type": "Cisco 8831", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 8841 SIP", "profile_name": "Cisco 8841", "type": "Cisco 8841", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 8851 SIP", "profile_name": "Cisco 8851", "type": "Cisco 8851", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 8861 SIP", "profile_name": "Cisco 8861", "type": "Cisco 8861", "config_template": "Basic Device Profile CFT" }, { "protocol": "SIP", "button_template": "Standard 8865 SIP", "profile_name": "Cisco 8865", "type": "Cisco 8865", "config_template": "Basic Device Profile CFT" } ], "hierarchy_friendly_name": "sys (System)", "hierarchy_path": "sys" } } ] }
(Show the first instance)
{ "pkid": "5dcc8b519d77dd00186e302b", "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": "5dcc8b519d77dd00186e302b", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/" } ], "foreign_key": [], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/5dcc8b519d77dd00186e302b/?hierarchy=[hierarchy]&model_type=data/DeviceProfileConfigMapping", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/+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/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/DeviceProfileConfigMapping/5dcc8b519d77dd00186e302b/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/DeviceProfileConfigMapping", "path": [ "6t0ggef2c0deab00hb595101", "5dcc8b519d77dd00186e302b" ], "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": "5dcc8b519d77dd00186e302c", "feature_templates": [ { "template_name": "Default", "config_template": "Default Device Profile Feature CFT" } ], "name": "Default", "profiles": [ { "type": "Cisco 6921", "button_template": "Standard 6921 SIP", "profile_name": "Cisco 6921", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 6941", "button_template": "Standard 6941 SIP", "profile_name": "Cisco 6941", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 6945", "button_template": "Standard 6945 SIP", "profile_name": "Cisco 6945", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 6961", "button_template": "Standard 6961 SIP", "profile_name": "Cisco 6961", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 7811", "button_template": "Standard 7811 SIP", "profile_name": "Cisco 7811", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 7821", "button_template": "Standard 7821 SIP", "profile_name": "Cisco 7821", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 7841", "button_template": "Standard 7841 SIP", "profile_name": "Cisco 7841", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 7861", "button_template": "Standard 7861 SIP", "profile_name": "Cisco 7861", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 8811", "button_template": "Standard 8811 SIP", "profile_name": "Cisco 8811", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 8821", "button_template": "Standard 8821 SIP", "profile_name": "Cisco 8821", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 8831", "button_template": "Standard 8831 SIP", "profile_name": "Cisco 8831", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 8841", "button_template": "Standard 8841 SIP", "profile_name": "Cisco 8841", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 8851", "button_template": "Standard 8851 SIP", "profile_name": "Cisco 8851", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 8861", "button_template": "Standard 8861 SIP", "profile_name": "Cisco 8861", "protocol": "SIP", "config_template": "Basic Device Profile CFT" }, { "type": "Cisco 8865", "button_template": "Standard 8865 SIP", "profile_name": "Cisco 8865", "protocol": "SIP", "config_template": "Basic Device Profile CFT" } ] } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/DeviceProfileConfigMapping. | GET | /api/data/DeviceProfileConfigMapping/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/DeviceProfileConfigMapping as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/DeviceProfileConfigMapping/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/DeviceProfileConfigMapping/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/DeviceProfileConfigMapping/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/DeviceProfileConfigMapping/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=data/DeviceProfileConfigMapping | 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/DeviceProfileConfigMapping; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/DeviceProfileConfigMapping/[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/DeviceProfileConfigMapping and the JSON format can be used to import instances of data/DeviceProfileConfigMapping.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/DeviceProfileConfigMapping/[pkid]/+tag/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/DeviceProfileConfigMapping/[pkid]/ | hierarchy=[hierarchy] | The data/DeviceProfileConfigMapping instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/DeviceProfileConfigMapping/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/DeviceProfileConfigMapping. |