[Index]
License Audit Counts.
Model ref.: data/LicenseAuditCounts
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": { "timestamp": { "title": "Timestamp", "description": "The timestamp when the counts were created.", "type": "string", "format": "date-time", "required": true }, "provider": { "title": "Provider", "description": "Provider", "type": "string", "required": true }, "reseller": { "title": "Reseller", "description": "Reseller", "type": "string", "required": false }, "customer": { "title": "Customer", "description": "Customer", "type": "string", "required": false }, "provider_pkid": { "title": "Provider PKID", "description": "Provider PKID", "type": "string", "required": true }, "customer_pkid": { "title": "Customer PKID", "description": "Customer PKID", "type": "string", "required": false }, "user_licenses": { "title": "User Licenses", "description": "The user license count for this hierarchy.", "type": "integer", "required": true, "default": 0 }, "users_with_more_than_10_devices": { "title": "Users with more than 10 Devices", "description": "Users with more than 10 devices in this hierarchy.", "type": "integer", "required": true, "default": 0 }, "uccx_user_licenses": { "title": "Contact Center Express", "description": "The Cisco Unified Contact Centre Express user license count for this hierarchy.", "type": "integer", "required": true, "default": 0 }, "cisco_and_ms_integrated_services": { "title": "Cisco and MS Integrated Services", "description": "Cisco and Microsoft Integrated Service license count for this hierarchy.", "type": "integer", "required": true, "default": 0 }, "standalone_devices": { "title": "Standalone Devices", "description": "Standalone Device license count for this hierarchy.", "type": "integer", "required": true, "default": 0 }, "meeting_rooms": { "title": "Meeting Rooms", "description": "Meeting Room license count for this hierarchy.", "type": "integer", "required": true, "default": 0 }, "voss_phone_servers": { "title": "Voss Phone Servers", "description": "Voss Phone Server license count for this hierarchy.", "type": "integer", "required": true, "default": 0 }, "sites": { "title": "Sites", "description": "The site count for this hierarchy.", "type": "integer", "required": true, "default": 0 }, "msol_users": { "title": "MS Online Users", "description": "The MS Online user count for this hierarchy.", "type": "integer", "required": true, "default": 0 }, "ms_teams_voice_users": { "title": "MS Teams Voice Users", "description": "The MS Teams voice user count for this hierarchy.", "type": "integer", "required": true, "default": 0 }, "ms_exchange_users": { "title": "MS Exchange Users", "description": "The MS Exchange user count for this hierarchy.", "type": "integer", "required": true, "default": 0 } }, "schema_version": "1.4" }
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/LicenseAuditCounts; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/LicenseAuditCounts/export/ |
|
{ "hrefs":["/api/data/LicenseAuditCounts/[pkid1]", "/api/data/LicenseAuditCounts/[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/LicenseAuditCounts and the JSON format can be used to import instances of data/LicenseAuditCounts.
GET http://[host-proxy]/api/data/LicenseAuditCounts/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/LicenseAuditCounts/ |
|
The data/LicenseAuditCounts schema and all instances as JSON. |
(The list will return 0 to 3 data/LicenseAuditCounts instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 3, "total_limit": null, "order_by": "timestamp", "direction": "asc", "current": "/api/data/LicenseAuditCounts/?skip=0&limit=3&order_by=timestamp&direction=asc&traversal=down" }, "operations": [ "field_display_policy", "update", "help", "remove", "add", "export", "list", "configuration_template", "get", "bulk_update_form", "migration", "transform", "export_bulkload_template" ], "meta": { "model_type": "data/LicenseAuditCounts", "summary_attrs": [ { "name": "timestamp", "title": "Timestamp" }, { "name": "provider", "title": "Provider" }, { "name": "reseller", "title": "Reseller" }, { "name": "customer", "title": "Customer" }, { "name": "user_licenses", "title": "User Licenses" }, { "name": "users_with_more_than_10_devices", "title": "Users with more than 10 Devices" }, { "name": "uccx_user_licenses", "title": "Contact Center Express" }, { "name": "cisco_and_ms_integrated_services", "title": "Cisco and MS Integrated Services" }, { "name": "standalone_devices", "title": "Standalone Devices" }, { "name": "meeting_rooms", "title": "Meeting Rooms" }, { "name": "voss_phone_servers", "title": "Voss Phone Servers" }, { "name": "sites", "title": "Sites" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "export", "help", "list", "get" ], "schema_version": "1.4", "actions": [ { "export": { "method": "POST", "class": "export", "href": "/api/data/LicenseAuditCounts/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/LicenseAuditCounts/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/LicenseAuditCounts/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [ { "data": { "timestamp": "2024-06-25T03:01:36.242Z", "provider": "CS-P", "provider_pkid": "5ae89b62affa931cce3855c4", "user_licenses": 0, "users_with_more_than_10_devices": 0, "uccx_user_licenses": 0, "cisco_and_ms_integrated_services": 0, "standalone_devices": 0, "meeting_rooms": 0, "voss_phone_servers": 0, "sites": 0, "msol_users": 0, "ms_teams_voice_users": 0, "ms_exchange_users": 0, "pkid": "6678c53ba1d3af2473ed44b2", "hierarchy_friendly_name": "CS-P (Provider)", "hierarchy_path": "sys.hcs.CS-P" }, "meta": { "model_type": "data/LicenseAuditCounts", "summary_attrs": [ { "name": "timestamp", "title": "Timestamp" }, { "name": "provider", "title": "Provider" }, { "name": "reseller", "title": "Reseller" }, { "name": "customer", "title": "Customer" }, { "name": "user_licenses", "title": "User Licenses" }, { "name": "users_with_more_than_10_devices", "title": "Users with more than 10 Devices" }, { "name": "uccx_user_licenses", "title": "Contact Center Express" }, { "name": "cisco_and_ms_integrated_services", "title": "Cisco and MS Integrated Services" }, { "name": "standalone_devices", "title": "Standalone Devices" }, { "name": "meeting_rooms", "title": "Meeting Rooms" }, { "name": "voss_phone_servers", "title": "Voss Phone Servers" }, { "name": "sites", "title": "Sites" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "2024-06-25T03:01:36.242Z", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "parent": [ { "pkid": "5ae89b62affa931cce3855c4", "href": "/api/data/HierarchyNode/5ae89b62affa931cce3855c4" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [], "owner": [ { "pkid": "" } ], "self": [ { "href": "/api/data/LicenseAuditCounts/6678c539a1d3af2473ed44b1/", "pkid": "6678c539a1d3af2473ed44b1" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "6678c539a1d3af2473ed44b1" ], "schema_version": "1.4", "actions": [ { "export": { "method": "GET", "class": "export", "href": "/api/data/LicenseAuditCounts/6678c539a1d3af2473ed44b1/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/LicenseAuditCounts/6678c539a1d3af2473ed44b1/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/LicenseAuditCounts/6678c539a1d3af2473ed44b1/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "6678c539a1d3af2473ed44b1" }, { "data": { "timestamp": "2024-06-25T03:01:36.242Z", "provider": "CS-P", "reseller": "CS-NB", "customer": "RND", "provider_pkid": "5ae89b62affa931cce3855c4", "customer_pkid": "6644e9bcf14dbdc7695d37d1", "user_licenses": 22, "users_with_more_than_10_devices": 0, "uccx_user_licenses": 0, "cisco_and_ms_integrated_services": 0, "standalone_devices": 0, "meeting_rooms": 0, "voss_phone_servers": 0, "sites": 4, "msol_users": 143, "ms_teams_voice_users": 12, "ms_exchange_users": 10, "pkid": "6678c53ca1d3af2473ed44be", "hierarchy_friendly_name": "RND (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-NB.RND" }, "meta": { "model_type": "data/LicenseAuditCounts", "summary_attrs": [ { "name": "timestamp", "title": "Timestamp" }, { "name": "provider", "title": "Provider" }, { "name": "reseller", "title": "Reseller" }, { "name": "customer", "title": "Customer" }, { "name": "user_licenses", "title": "User Licenses" }, { "name": "users_with_more_than_10_devices", "title": "Users with more than 10 Devices" }, { "name": "uccx_user_licenses", "title": "Contact Center Express" }, { "name": "cisco_and_ms_integrated_services", "title": "Cisco and MS Integrated Services" }, { "name": "standalone_devices", "title": "Standalone Devices" }, { "name": "meeting_rooms", "title": "Meeting Rooms" }, { "name": "voss_phone_servers", "title": "Voss Phone Servers" }, { "name": "sites", "title": "Sites" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "2024-06-25T03:01:36.242Z", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "parent": [ { "pkid": "6644e9bcf14dbdc7695d37d1", "href": "/api/data/HierarchyNode/6644e9bcf14dbdc7695d37d1" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [], "owner": [ { "pkid": "" } ], "self": [ { "href": "/api/data/LicenseAuditCounts/6678c53ca1d3af2473ed44bd/", "pkid": "6678c53ca1d3af2473ed44bd" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89bd5affa931cce3863f9", "6644e9bcf14dbdc7695d37d1", "6678c53ca1d3af2473ed44bd" ], "schema_version": "1.4", "actions": [ { "export": { "method": "GET", "class": "export", "href": "/api/data/LicenseAuditCounts/6678c53ca1d3af2473ed44bd/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/LicenseAuditCounts/6678c53ca1d3af2473ed44bd/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/LicenseAuditCounts/6678c53ca1d3af2473ed44bd/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "6678c53ca1d3af2473ed44bd" }, { "data": { "timestamp": "2024-06-25T03:01:36.242Z", "provider": "CS-P", "reseller": "CS-AB", "customer": "AB_Group", "provider_pkid": "5ae89b62affa931cce3855c4", "customer_pkid": "5ae89ea2affa931cce38a523", "user_licenses": 45, "users_with_more_than_10_devices": 0, "uccx_user_licenses": 1, "cisco_and_ms_integrated_services": 0, "standalone_devices": 3, "meeting_rooms": 0, "voss_phone_servers": 0, "sites": 30, "msol_users": 0, "ms_teams_voice_users": 0, "ms_exchange_users": 0, "pkid": "6678c53ba1d3af2473ed44b8", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "data/LicenseAuditCounts", "summary_attrs": [ { "name": "timestamp", "title": "Timestamp" }, { "name": "provider", "title": "Provider" }, { "name": "reseller", "title": "Reseller" }, { "name": "customer", "title": "Customer" }, { "name": "user_licenses", "title": "User Licenses" }, { "name": "users_with_more_than_10_devices", "title": "Users with more than 10 Devices" }, { "name": "uccx_user_licenses", "title": "Contact Center Express" }, { "name": "cisco_and_ms_integrated_services", "title": "Cisco and MS Integrated Services" }, { "name": "standalone_devices", "title": "Standalone Devices" }, { "name": "meeting_rooms", "title": "Meeting Rooms" }, { "name": "voss_phone_servers", "title": "Voss Phone Servers" }, { "name": "sites", "title": "Sites" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "2024-06-25T03:01:36.242Z", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "parent": [ { "pkid": "5ae89ea2affa931cce38a523", "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [], "owner": [ { "pkid": "" } ], "self": [ { "href": "/api/data/LicenseAuditCounts/6678c53ba1d3af2473ed44b7/", "pkid": "6678c53ba1d3af2473ed44b7" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "6678c53ba1d3af2473ed44b7" ], "schema_version": "1.4", "actions": [ { "export": { "method": "GET", "class": "export", "href": "/api/data/LicenseAuditCounts/6678c53ba1d3af2473ed44b7/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/LicenseAuditCounts/6678c53ba1d3af2473ed44b7/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/LicenseAuditCounts/6678c53ba1d3af2473ed44b7/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "6678c53ba1d3af2473ed44b7" } ] }
(Show the first instance)
{ "data": { "timestamp": "2024-06-25T03:01:36.242Z", "provider": "CS-P", "provider_pkid": "5ae89b62affa931cce3855c4", "user_licenses": 0, "users_with_more_than_10_devices": 0, "uccx_user_licenses": 0, "cisco_and_ms_integrated_services": 0, "standalone_devices": 0, "meeting_rooms": 0, "voss_phone_servers": 0, "sites": 0, "msol_users": 0, "ms_teams_voice_users": 0, "ms_exchange_users": 0, "pkid": "6678c53ba1d3af2473ed44b2" }, "meta": { "model_type": "data/LicenseAuditCounts", "summary_attrs": [ { "name": "timestamp", "title": "Timestamp" }, { "name": "provider", "title": "Provider" }, { "name": "reseller", "title": "Reseller" }, { "name": "customer", "title": "Customer" }, { "name": "user_licenses", "title": "User Licenses" }, { "name": "users_with_more_than_10_devices", "title": "Users with more than 10 Devices" }, { "name": "uccx_user_licenses", "title": "Contact Center Express" }, { "name": "cisco_and_ms_integrated_services", "title": "Cisco and MS Integrated Services" }, { "name": "standalone_devices", "title": "Standalone Devices" }, { "name": "meeting_rooms", "title": "Meeting Rooms" }, { "name": "voss_phone_servers", "title": "Voss Phone Servers" }, { "name": "sites", "title": "Sites" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "2024-06-25T03:01:36.242Z", "business_key": {}, "api_version": "21.2", "cached": false, "references": { "parent": [ { "href": "/api/data/HierarchyNode/5ae89b62affa931cce3855c4", "pkid": "5ae89b62affa931cce3855c4" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [], "owner": [ { "pkid": "" } ], "children": [], "self": [ { "href": "/api/data/LicenseAuditCounts/6678c539a1d3af2473ed44b1/", "pkid": "6678c539a1d3af2473ed44b1" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "6678c539a1d3af2473ed44b1" ], "schema_version": "1.4", "actions": [ { "export": { "method": "GET", "class": "export", "href": "/api/data/LicenseAuditCounts/6678c539a1d3af2473ed44b1/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/LicenseAuditCounts/6678c539a1d3af2473ed44b1/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/LicenseAuditCounts/6678c539a1d3af2473ed44b1/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "pkid": "6678c539a1d3af2473ed44b1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/LicenseAuditCounts. | GET | /api/data/LicenseAuditCounts/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/LicenseAuditCounts as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/LicenseAuditCounts; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/LicenseAuditCounts/[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/LicenseAuditCounts and the JSON format can be used to import instances of data/LicenseAuditCounts.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/LicenseAuditCounts/[pkid] | hierarchy=[hierarchy] | The data/LicenseAuditCounts instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/LicenseAuditCounts/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/LicenseAuditCounts. |