[Index]
Configures the list of model types to sync to Reporter.
Model ref.: data/ReporterModels
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": { "name": { "title": "Name", "type": "string", "required": true }, "models": { "title": "Model Types", "type": "array", "items": { "type": "object", "properties": { "model_type": { "title": "Model Type", "type": "string", "format": "uri", "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "choices": [] }, "friendly_name": { "title": "Friendly Name", "type": "string" }, "friendly_model_type": { "title": "Friendly Model Type", "type": "string" }, "tablename": { "title": "Table Name", "type": "string" } } } } }, "schema_version": "0.8" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/ReporterModels/add/ |
|
The GUI Add form of data/ReporterModels 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/ReporterModels | 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/ReporterModels/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/ReporterModels/[pkid1]", "/api/data/ReporterModels/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/ReporterModels/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/ReporterModels/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/ReporterModels/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/ReporterModels/[pkid1]", "/api/v0/data/ReporterModels/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/ReporterModels/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/ReporterModels; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/ReporterModels/export/ |
|
{ "hrefs":["/api/data/ReporterModels/[pkid1]", "/api/data/ReporterModels/[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/ReporterModels and the JSON format can be used to import instances of data/ReporterModels.
GET http://[host-proxy]/api/data/ReporterModels/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/ReporterModels | POST | /api/data/ReporterModels/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Tag | PATCH | /api/data/ReporterModels/+tag/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Tag Version | PATCH | /api/data/ReporterModels/+tag_version/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/data/ReporterModels/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/ReporterModels/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/ReporterModels/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/ReporterModels/ |
|
The data/ReporterModels schema and all instances as JSON. |
(The list will return 0 to 3 data/ReporterModels instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 1, "total_limit": null, "order_by": "name", "direction": "asc", "current": "/api/data/ReporterModels/?skip=0&limit=3&order_by=name&direction=asc&traversal=fulltree" }, "operations": [ "field_display_policy", "update", "help", "remove", "move", "add", "export", "list", "configuration_template", "get", "bulk_update_form", "migration", "transform", "export_bulkload_template" ], "meta": { "model_type": "data/ReporterModels", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": { "unique": [ "name" ], "hierarchy": true }, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "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" ], "schema_version": "0.8", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/data/ReporterModels/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/ReporterModels/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "bulk_update_form": { "method": "GET", "class": "update", "href": "/api/data/ReporterModels/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Bulk Modify" } }, { "export": { "method": "POST", "class": "export", "href": "/api/data/ReporterModels/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/data/ReporterModels/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/data/ReporterModels/+tag/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "method": "PATCH", "class": "tag_version", "href": "/api/data/ReporterModels/+tag_version/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag Version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/data/ReporterModels/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/data/ReporterModels/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "migration": { "method": "GET", "class": "migration", "href": "/api/data/ReporterModels/migration/?hierarchy=[hierarchy]", "support_async": false, "title": "Migration Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/ReporterModels/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/ReporterModels/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "transform": { "method": "GET", "class": "transform", "href": "/api/data/ReporterModels/transform/?hierarchy=[hierarchy]", "support_async": false, "title": "Transform Template" } } ] }, "resources": [ { "data": { "name": "Default", "models": [ { "model_type": "data/MonitoringCluster", "friendly_name": "Monitoring Platform Cluster" }, { "model_type": "data/MonitoringQueue", "friendly_name": "Monitoring Transaction Queue" }, { "model_type": "data/MonitoringSessions", "friendly_name": "Monitoring Sessions" }, { "model_type": "data/MetricDatabaseCollectionStats", "friendly_name": "Monitoring Database Stats" }, { "model_type": "data/LicenseAuditCounts", "friendly_name": "Automate License Counts" }, { "model_type": "data/BaseSiteDAT", "friendly_name": "Site", "friendly_model_type": "relation/HcsSiteREL" }, { "model_type": "data/CountLimit", "friendly_name": "Subscriber Count Limit" }, { "model_type": "data/HcsDpDNE164AssociateDAT", "friendly_name": "E164 Number Association" }, { "model_type": "data/HcsDpE164InventoryDAT", "friendly_name": "E164 Number Inventory", "friendly_model_type": "data/HcsDpE164InventoryDAT" }, { "model_type": "data/HcsEntitlementProfileDAT", "friendly_name": "Entitlement Profile", "friendly_model_type": "data/HcsEntitlementProfileDAT" }, { "model_type": "data/HierarchyNode", "friendly_name": "Hierarchy" }, { "model_type": "data/InternalNumberInventory", "friendly_name": "Number Inventory", "friendly_model_type": "relation/NumberInventoryREL" }, { "model_type": "data/MicrosoftSubscriberQasStaging", "friendly_name": "Microsoft Subscriber Staging", "friendly_model_type": "data/MicrosoftSubscriberQasStaging" }, { "model_type": "data/User", "friendly_name": "User", "friendly_model_type": "relation/User" }, { "model_type": "device/cuc/User", "friendly_name": "Cisco CUC User", "friendly_model_type": "relation/Voicemail" }, { "model_type": "device/cuc/UserLicense", "friendly_name": "Cisco CUC User License" }, { "model_type": "device/cuc/Callhandler", "friendly_name": "Cisco CUC Call Handler", "friendly_model_type": "device/cuc/Callhandler" }, { "model_type": "device/cucm/CallPickupGroup", "friendly_name": "Cisco UCM Call Pickup Group", "friendly_model_type": "device/cucm/CallPickupGroup" }, { "model_type": "device/cucm/DeviceProfile", "friendly_name": "Cisco UCM Device Profile", "friendly_model_type": "relation/SubscriberDeviceProfile" }, { "model_type": "device/cucm/Gateway", "friendly_name": "Cisco UCM Gateway" }, { "model_type": "device/cucm/GatewaySccpEndpoints", "friendly_name": "Cisco UCM Gateway SCCP Endpoints" }, { "model_type": "device/cucm/HcsLicense", "friendly_name": "Cisco UCM License" }, { "model_type": "device/cucm/HuntList", "friendly_name": "Cisco UCM Hunt List" }, { "model_type": "device/cucm/HuntPilot", "friendly_name": "Cisco UCM Hunt Pilot", "friendly_model_type": "relation/HuntGroupRelation" }, { "model_type": "device/cucm/LicensingResourceUsage", "friendly_name": "Cisco UCM Licensing Resource Usage" }, { "model_type": "device/cucm/Line", "friendly_name": "Cisco UCM Line", "friendly_model_type": "relation/LineRelation" }, { "model_type": "device/cucm/LineGroup", "friendly_name": "Cisco UCM Line Group" }, { "model_type": "device/cucm/Phone", "friendly_name": "Cisco UCM Phone", "friendly_model_type": "relation/SubscriberPhone" }, { "model_type": "device/cucm/PhoneType", "friendly_name": "Cisco UCM Phone Type" }, { "model_type": "device/cucm/RemoteDestination", "friendly_name": "Cisco UCM Remote Destination" }, { "model_type": "device/cucm/RemoteDestinationProfile", "friendly_name": "Cisco UCM Remote Destination Profile", "friendly_model_type": "relation/SingleNumberReachREL" }, { "model_type": "device/cucm/User", "friendly_name": "Cisco UCM User", "friendly_model_type": "relation/Subscriber" }, { "model_type": "device/pexip/Conference", "friendly_name": "Pexip Conference" }, { "model_type": "device/pexip/ConferenceAlias", "friendly_name": "Pexip Conference Alias" }, { "model_type": "device/msexchangeonline/UserMailbox", "friendly_name": "Microsoft Exchange Online User Mailbox", "friendly_model_type": "device/msexchangeonline/UserMailbox" }, { "model_type": "device/msgraph/MsolAccountSku", "friendly_name": "Microsoft O365 User SKU" }, { "model_type": "device/msgraph/MsolUser", "friendly_name": "Microsoft O365 User", "friendly_model_type": "relation/MicrosoftSubscriber" }, { "model_type": "device/msteamsonline/CsAutoAttendant", "friendly_name": "Microsoft Teams Auto Attendant", "friendly_model_type": "device/msteamsonline/CsAutoAttendant" }, { "model_type": "device/msteamsonline/CsCallQueue", "friendly_name": "Microsoft Teams Call Queue", "friendly_model_type": "device/msteamsonline/CsCallQueue" }, { "model_type": "device/msteamsonline/CsOnlineUser", "friendly_name": "Microsoft Teams User", "friendly_model_type": "device/msteamsonline/CsOnlineUser" }, { "model_type": "device/msteamsonline/CsTeamsClientConfiguration", "friendly_name": "Microsoft Teams Client Configuration" }, { "model_type": "device/spark/Announcements", "friendly_name": "Webex Calling Announcements", "friendly_model_type": "device/spark/Announcements" }, { "model_type": "device/spark/AutoAttendants", "friendly_name": "Webex Calling Auto Attendants", "friendly_model_type": "device/spark/AutoAttendants" }, { "model_type": "device/spark/CallParkExtensions", "friendly_name": "Webex Calling Call Park Extensions", "friendly_model_type": "device/spark/CallParkExtensions" }, { "model_type": "device/spark/CallParkGroup", "friendly_name": "Webex Calling Call Park Group", "friendly_model_type": "device/spark/CallParkGroup" }, { "model_type": "device/spark/CallPickup", "friendly_name": "Webex Calling Call Pickup", "friendly_model_type": "device/spark/CallPickup" }, { "model_type": "device/spark/Device", "friendly_name": "Webex Calling Device", "friendly_model_type": "device/spark/Device" }, { "model_type": "device/spark/HuntGroup", "friendly_name": "Webex Calling Hunt Group", "friendly_model_type": "device/spark/HuntGroup" }, { "model_type": "device/spark/Group", "friendly_name": "Webex Calling Group", "friendly_model_type": "device/spark/Group" }, { "model_type": "device/spark/License", "friendly_name": "Webex Calling License", "friendly_model_type": "device/spark/License" }, { "model_type": "device/spark/Place", "friendly_name": "Webex Calling Place", "friendly_model_type": "relation/WebexTeamsPlace" }, { "model_type": "device/spark/Number", "friendly_name": "Webex Calling Number", "friendly_model_type": "device/spark/Number" }, { "model_type": "device/spark/Schedules", "friendly_name": "Webex Calling Schedule", "friendly_model_type": "device/spark/Schedules" }, { "model_type": "device/spark/Team", "friendly_name": "Webex Calling Team", "friendly_model_type": "device/spark/Team" }, { "model_type": "device/spark/User", "friendly_name": "Webex Calling User", "friendly_model_type": "relation/SparkUser" }, { "model_type": "device/uccx/Agent", "friendly_name": "Cisco UCCX Agent", "friendly_model_type": "relation/UccxAgent" }, { "model_type": "device/webex/User", "friendly_name": "Cisco Webex User", "friendly_model_type": "device/webex/User" } ], "pkid": "66787669fa938def24629466", "hierarchy_friendly_name": "sys (System)", "hierarchy_path": "sys" }, "meta": { "model_type": "data/ReporterModels", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [ "base", "core", "dashboard" ], "title": "Default", "business_key": { "unique": [ "name" ], "hierarchy": true }, "api_version": "21.2", "cached": true, "references": { "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [], "owner": [ { "pkid": "" } ], "self": [ { "href": "/api/data/ReporterModels/66787669fa938def24629465/", "pkid": "66787669fa938def24629465" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "66787669fa938def24629465" ], "schema_version": "0.8", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/ReporterModels/66787669fa938def24629465/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/ReporterModels/66787669fa938def24629465/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/ReporterModels/66787669fa938def24629465/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/ReporterModels/66787669fa938def24629465/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/data/ReporterModels/66787669fa938def24629465/+tag/", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "method": "PATCH", "class": "tag_version", "href": "/api/data/ReporterModels/66787669fa938def24629465/+tag_version/", "support_async": true, "title": "Tag Version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/ReporterModels/66787669fa938def24629465/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/ReporterModels/66787669fa938def24629465/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "66787669fa938def24629465" } ] }
(Show the first instance)
{ "data": { "name": "Default", "models": [ { "model_type": "data/MonitoringCluster", "friendly_name": "Monitoring Platform Cluster" }, { "model_type": "data/MonitoringQueue", "friendly_name": "Monitoring Transaction Queue" }, { "model_type": "data/MonitoringSessions", "friendly_name": "Monitoring Sessions" }, { "model_type": "data/MetricDatabaseCollectionStats", "friendly_name": "Monitoring Database Stats" }, { "model_type": "data/LicenseAuditCounts", "friendly_name": "Automate License Counts" }, { "model_type": "data/BaseSiteDAT", "friendly_name": "Site", "friendly_model_type": "relation/HcsSiteREL" }, { "model_type": "data/CountLimit", "friendly_name": "Subscriber Count Limit" }, { "model_type": "data/HcsDpDNE164AssociateDAT", "friendly_name": "E164 Number Association" }, { "model_type": "data/HcsDpE164InventoryDAT", "friendly_name": "E164 Number Inventory", "friendly_model_type": "data/HcsDpE164InventoryDAT" }, { "model_type": "data/HcsEntitlementProfileDAT", "friendly_name": "Entitlement Profile", "friendly_model_type": "data/HcsEntitlementProfileDAT" }, { "model_type": "data/HierarchyNode", "friendly_name": "Hierarchy" }, { "model_type": "data/InternalNumberInventory", "friendly_name": "Number Inventory", "friendly_model_type": "relation/NumberInventoryREL" }, { "model_type": "data/MicrosoftSubscriberQasStaging", "friendly_name": "Microsoft Subscriber Staging", "friendly_model_type": "data/MicrosoftSubscriberQasStaging" }, { "model_type": "data/User", "friendly_name": "User", "friendly_model_type": "relation/User" }, { "model_type": "device/cuc/User", "friendly_name": "Cisco CUC User", "friendly_model_type": "relation/Voicemail" }, { "model_type": "device/cuc/UserLicense", "friendly_name": "Cisco CUC User License" }, { "model_type": "device/cuc/Callhandler", "friendly_name": "Cisco CUC Call Handler", "friendly_model_type": "device/cuc/Callhandler" }, { "model_type": "device/cucm/CallPickupGroup", "friendly_name": "Cisco UCM Call Pickup Group", "friendly_model_type": "device/cucm/CallPickupGroup" }, { "model_type": "device/cucm/DeviceProfile", "friendly_name": "Cisco UCM Device Profile", "friendly_model_type": "relation/SubscriberDeviceProfile" }, { "model_type": "device/cucm/Gateway", "friendly_name": "Cisco UCM Gateway" }, { "model_type": "device/cucm/GatewaySccpEndpoints", "friendly_name": "Cisco UCM Gateway SCCP Endpoints" }, { "model_type": "device/cucm/HcsLicense", "friendly_name": "Cisco UCM License" }, { "model_type": "device/cucm/HuntList", "friendly_name": "Cisco UCM Hunt List" }, { "model_type": "device/cucm/HuntPilot", "friendly_name": "Cisco UCM Hunt Pilot", "friendly_model_type": "relation/HuntGroupRelation" }, { "model_type": "device/cucm/LicensingResourceUsage", "friendly_name": "Cisco UCM Licensing Resource Usage" }, { "model_type": "device/cucm/Line", "friendly_name": "Cisco UCM Line", "friendly_model_type": "relation/LineRelation" }, { "model_type": "device/cucm/LineGroup", "friendly_name": "Cisco UCM Line Group" }, { "model_type": "device/cucm/Phone", "friendly_name": "Cisco UCM Phone", "friendly_model_type": "relation/SubscriberPhone" }, { "model_type": "device/cucm/PhoneType", "friendly_name": "Cisco UCM Phone Type" }, { "model_type": "device/cucm/RemoteDestination", "friendly_name": "Cisco UCM Remote Destination" }, { "model_type": "device/cucm/RemoteDestinationProfile", "friendly_name": "Cisco UCM Remote Destination Profile", "friendly_model_type": "relation/SingleNumberReachREL" }, { "model_type": "device/cucm/User", "friendly_name": "Cisco UCM User", "friendly_model_type": "relation/Subscriber" }, { "model_type": "device/pexip/Conference", "friendly_name": "Pexip Conference" }, { "model_type": "device/pexip/ConferenceAlias", "friendly_name": "Pexip Conference Alias" }, { "model_type": "device/msexchangeonline/UserMailbox", "friendly_name": "Microsoft Exchange Online User Mailbox", "friendly_model_type": "device/msexchangeonline/UserMailbox" }, { "model_type": "device/msgraph/MsolAccountSku", "friendly_name": "Microsoft O365 User SKU" }, { "model_type": "device/msgraph/MsolUser", "friendly_name": "Microsoft O365 User", "friendly_model_type": "relation/MicrosoftSubscriber" }, { "model_type": "device/msteamsonline/CsAutoAttendant", "friendly_name": "Microsoft Teams Auto Attendant", "friendly_model_type": "device/msteamsonline/CsAutoAttendant" }, { "model_type": "device/msteamsonline/CsCallQueue", "friendly_name": "Microsoft Teams Call Queue", "friendly_model_type": "device/msteamsonline/CsCallQueue" }, { "model_type": "device/msteamsonline/CsOnlineUser", "friendly_name": "Microsoft Teams User", "friendly_model_type": "device/msteamsonline/CsOnlineUser" }, { "model_type": "device/msteamsonline/CsTeamsClientConfiguration", "friendly_name": "Microsoft Teams Client Configuration" }, { "model_type": "device/spark/Announcements", "friendly_name": "Webex Calling Announcements", "friendly_model_type": "device/spark/Announcements" }, { "model_type": "device/spark/AutoAttendants", "friendly_name": "Webex Calling Auto Attendants", "friendly_model_type": "device/spark/AutoAttendants" }, { "model_type": "device/spark/CallParkExtensions", "friendly_name": "Webex Calling Call Park Extensions", "friendly_model_type": "device/spark/CallParkExtensions" }, { "model_type": "device/spark/CallParkGroup", "friendly_name": "Webex Calling Call Park Group", "friendly_model_type": "device/spark/CallParkGroup" }, { "model_type": "device/spark/CallPickup", "friendly_name": "Webex Calling Call Pickup", "friendly_model_type": "device/spark/CallPickup" }, { "model_type": "device/spark/Device", "friendly_name": "Webex Calling Device", "friendly_model_type": "device/spark/Device" }, { "model_type": "device/spark/HuntGroup", "friendly_name": "Webex Calling Hunt Group", "friendly_model_type": "device/spark/HuntGroup" }, { "model_type": "device/spark/Group", "friendly_name": "Webex Calling Group", "friendly_model_type": "device/spark/Group" }, { "model_type": "device/spark/License", "friendly_name": "Webex Calling License", "friendly_model_type": "device/spark/License" }, { "model_type": "device/spark/Place", "friendly_name": "Webex Calling Place", "friendly_model_type": "relation/WebexTeamsPlace" }, { "model_type": "device/spark/Number", "friendly_name": "Webex Calling Number", "friendly_model_type": "device/spark/Number" }, { "model_type": "device/spark/Schedules", "friendly_name": "Webex Calling Schedule", "friendly_model_type": "device/spark/Schedules" }, { "model_type": "device/spark/Team", "friendly_name": "Webex Calling Team", "friendly_model_type": "device/spark/Team" }, { "model_type": "device/spark/User", "friendly_name": "Webex Calling User", "friendly_model_type": "relation/SparkUser" }, { "model_type": "device/uccx/Agent", "friendly_name": "Cisco UCCX Agent", "friendly_model_type": "relation/UccxAgent" }, { "model_type": "device/webex/User", "friendly_name": "Cisco Webex User", "friendly_model_type": "device/webex/User" } ], "pkid": "66787669fa938def24629466" }, "meta": { "model_type": "data/ReporterModels", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [ "base", "core", "dashboard" ], "title": "Default", "business_key": { "unique": [ "name" ], "hierarchy": true }, "api_version": "21.2", "cached": false, "references": { "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [], "owner": [ { "pkid": "" } ], "children": [], "self": [ { "href": "/api/data/ReporterModels/66787669fa938def24629465/", "pkid": "66787669fa938def24629465" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "66787669fa938def24629465" ], "schema_version": "0.8", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/ReporterModels/66787669fa938def24629465/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/ReporterModels/66787669fa938def24629465/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/ReporterModels/66787669fa938def24629465/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/ReporterModels/66787669fa938def24629465/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/data/ReporterModels/66787669fa938def24629465/+tag/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "method": "PATCH", "class": "tag_version", "href": "/api/data/ReporterModels/66787669fa938def24629465/+tag_version/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag Version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/ReporterModels/66787669fa938def24629465/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/ReporterModels/66787669fa938def24629465/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "pkid": "66787669fa938def24629465" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/ReporterModels. | GET | /api/data/ReporterModels/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/ReporterModels as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Transform Template | GET | /api/data/ReporterModels/transform/ |
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/ReporterModels/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/ReporterModels/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/ReporterModels/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/ReporterModels/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/ReporterModels; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/ReporterModels/[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/ReporterModels and the JSON format can be used to import instances of data/ReporterModels.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/ReporterModels/[pkid]/+tag | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/ReporterModels/[pkid] | hierarchy=[hierarchy] | The data/ReporterModels instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/ReporterModels/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/ReporterModels. |