[Index]
Provider version of Site Defaults Doc
Model ref.: data/SiteDefaultsDoc
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": { "defaultuserrole": { "target": "/api/data/Role/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Default User Role", "default": "selfservice", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "data/Role", "type": "string" }, "default_cucm_dp_e164_mask": { "type": "string", "title": "Default CUCM Device Profile Line E164 Mask" }, "includeHeadset": { "type": "boolean", "description": "Move all headsets that match search-criteria, to destination site.", "title": "Headsets" }, "defaultREG": { "is_password": false, "title": "Default CUCM Region", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "includeCUCUser": { "type": "boolean", "description": "Unity Connect Users associated to phones", "title": "CUC Users" }, "defaultplarcss": { "target": "device/cucm/Css", "title": "Default PLAR CSS", "items": { "is_password": false }, "required": false, "choices": [ { "value": "y", "title": "y" } ], "target_attr": "name", "readonly": false, "type": "string" }, "includeOverbuild": { "type": "boolean", "description": "Mark this site as to be included for Overbuild", "title": "Include Site for Overbuild" }, "default_user_subscriber_css": { "type": "string", "title": "Default CUCM User Subscribe CSS" }, "default_cucm_phone_commondeviceconfig": { "is_password": false, "title": "Default CUCM Phone Common Profile", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_cucm_phone_presencegroup": { "is_password": false, "title": "Default CUCM Phone Presence Group", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultuserprofile": { "type": "string", "title": "Default User Profile (for User Self Provisioning)" }, "includeWebexTeamsUser": { "type": "boolean", "description": "Webex Teams Users that have a User at Site level with same email address.", "title": "Webex Teams Users" }, "defaultlinecfnricss": { "type": "string", "title": "Default CUCM Line Call Forward On Failure Internal CSS" }, "default_cucm_dp_protocol": { "is_password": false, "title": "Default CUCM Device Profile Protocol", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_cucm_sip_profile": { "type": "string", "title": "Default CUCM SIP Profile" }, "default_cucm_phone_e164_mask": { "type": "string", "title": "Default CUCM Phone Line E164 Mask" }, "deviceLimitYN": { "description": "Select the method of device selection", "title": "Overbuild Device Control", "default": "all", "items": { "is_password": false }, "required": false, "choices": [ { "value": "all", "title": "Move All Devices" }, { "value": "limit", "title": "Limit Moved Devices" } ], "readonly": false, "type": "string" }, "defaultlinecfnrcss": { "type": "string", "title": "Default CUCM Line Call Forward Not Registered CSS" }, "defaultlinecfnccss": { "type": "string", "title": "Default CUCM Line Call Forward No Coverage CSS" }, "default_cucm_phone_protocol": { "is_password": false, "title": "Default CUCM Phone Protocol", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_cucm_rdp_dndoption": { "is_password": false, "title": "Default CUCM Renote Destination DND Option", "items": { "is_password": false }, "required": false, "choices": [ { "value": "Ringer Off", "title": "Ringer Off" }, { "value": "Call Reject", "title": "Call Reject" }, { "value": "Use Common Phone Profile Setting", "title": "Use Common Phone Profile Setting" } ], "readonly": false, "type": "string" }, "default_cucm_phone_softkey": { "is_password": false, "title": "Default CUCM Phone Softkey Template", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "includeUser": { "type": "boolean", "description": "Move Users down to associated phones", "title": "Users" }, "default_cucm_dp_template": { "is_password": false, "title": "Default CUCM Device Profile Button Template", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_cucm_rdp_e164_mask": { "type": "string", "title": "Default CUCM Remote Destination Profile Line E164 Mask" }, "includeLine": { "type": "boolean", "description": "Lines associated to 1) phones, 2) device profiles, 3) RDP's.", "title": "Lines" }, "defaultcuclanguage": { "type": "string", "title": "Default CUC Language" }, "defaultlineseccss": { "type": "string", "title": "Default CUCM Line Call Forward Secondary CSS" }, "defaultLOC": { "is_password": false, "title": "Default CUCM Location", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "additionalDevicePools": { "items": { "type": "object", "properties": { "dpName": { "target": "/api/device/cucm/DevicePool/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Device Pool Name", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "device/cucm/DevicePool", "type": "string", "description": "Device Pool to be used during Overbuild for this site." }, "dpReplace": { "type": "boolean", "description": "Replace the Device Pool with the site default Device Pool", "title": "Replace With Default Device Pool" } } }, "type": "array", "description": "Choose the Device Pools to include for the move.", "title": "Additional Device Pools" }, "defaultlinept": { "is_password": false, "target": "data/DialPlan", "title": "Default CUCM Line Partition", "items": { "is_password": false }, "required": false, "choices": [ { "value": "y", "title": "y" } ], "target_attr": "AddSitePartitions.SitePT", "readonly": false, "type": "string" }, "default_alternate_enterprise_pt": { "type": "string", "title": "Default CUCM Line Alternate Enterprise Partition" }, "includeDP": { "type": "boolean", "description": "Move User Device Profiles down to associated User", "title": "Device Profiles" }, "default_self_service_language": { "is_password": false, "title": "Default Self-service Language ", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultlinecfapcss": { "type": "string", "title": "Default CUCM Line Call Forward Alternate Party CSS" }, "defaultmmpt": { "is_password": false, "target": "data/DialPlan", "title": "Default CUCM MeetMe Partition", "items": { "is_password": false }, "required": false, "choices": [ { "value": "y", "title": "y" } ], "target_attr": "AddSitePartitions", "readonly": false, "type": "string" }, "defaultlinecfofcss": { "type": "string", "title": "Default CUCM Line Call Forward On Failure CSS" }, "includeContactCenterAgent": { "type": "boolean", "description": "Contact Center Agents that have a User at Site level with same user ID.", "title": "Contact Center Agents" }, "defaultcucsubscribertemplate": { "type": "string", "title": "Default CUC Subscriber Template" }, "hotdial_time_zone": { "type": "string", "title": "Default HotDial Time Zone" }, "defaultlinecfbcss": { "type": "string", "title": "Default CUCM Line Call Forward Busy CSS" }, "defaultDP": { "is_password": false, "title": "Default CUCM Device Pool", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_phone_subscriber_css": { "type": "string", "title": "Default CUCM Phone Subscribe CSS" }, "defaultlinecfnaicss": { "type": "string", "title": "Default CUCM Line Call Forward No Answer Internal CSS" }, "defaultlinecfncicss": { "type": "string", "title": "Default CUCM Line Call Forward No Coverage Internal CSS" }, "defaultcuctimezone": { "type": "string", "title": "Default CUC Timezone" }, "default_cucm_user_presencegroup": { "is_password": false, "title": "Default CUCM User Presence Group", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "customer_ini": { "default": "false", "type": "boolean", "description": "Creates Internal Number Inventory at Customer level when selected, else creates INIs at Site level", "title": "Create Internal Number Inventory at Customer" }, "defaultNL": { "is_password": false, "title": "Default Network Locale", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultUL": { "is_password": false, "title": "Default User Locale", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "useNationalMaskFormat": { "type": "boolean", "title": "Use National Mask Format" }, "default_cucm_phone_template": { "is_password": false, "title": "Default CUCM Phone Button Template", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultlinecfnacss": { "type": "string", "title": "Default CUCM Line Call Forward No Answer CSS" }, "includeRDP": { "type": "boolean", "description": "Move Remote Destination Profiles that match search-criteria, to destination site.", "title": "Remote Destination Profiles" }, "default_cucm_dp_product": { "is_password": false, "title": "Default CUCM Device Profile Product", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultcucsmppprovider": { "type": "string", "title": "Default CUC SMPP Provider" }, "defaultcucphonesystem": { "type": "string", "title": "Default CUC Phone System" }, "default_cucm_phone_securityprofile": { "is_password": false, "title": "Default CUCM Phone Security Profile", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_cucm_phone_sipprofile": { "is_password": false, "title": "Default CUCM Phone SIP Profile", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_cucm_phone_product": { "is_password": false, "title": "Default CUCM Phone Product", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultcpupt": { "is_password": false, "target": "data/DialPlan", "title": "Default CUCM Call Pickup Partition", "items": { "is_password": false }, "required": false, "choices": [ { "value": "y", "title": "y" } ], "target_attr": "AddSitePartitions", "readonly": false, "type": "string" }, "name": { "is_password": false, "title": "Name", "items": { "is_password": false }, "required": true, "readonly": false, "type": "string" }, "defaultDTG": { "is_password": false, "title": "Default CUCM Date/Time Group", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultlinecfacss": { "type": "string", "title": "Default CUCM Line Call Forward All CSS" }, "default_rdp_css": { "type": "string", "title": "Default CUCM Remote Destination Profile CSS" }, "defaultcucmgroup": { "type": "string", "title": "Default CUCM Group" }, "defaultcppt": { "is_password": false, "target": "data/DialPlan", "title": "Default CUCM Call Park Partition", "items": { "is_password": false }, "required": false, "choices": [ { "value": "y", "title": "y" } ], "target_attr": "AddSitePartitions", "readonly": false, "type": "string" }, "includePRD": { "type": "boolean", "description": "Remote Destinations associated to Dual-Mode Phones", "title": "Dual-mode Remote Destinations" }, "defaultlinecss": { "is_password": false, "target": "data/DialPlan", "title": "Default CUCM Line CSS", "items": { "is_password": false }, "required": false, "choices": [ { "value": "y", "title": "y" } ], "target_attr": "AddSiteCSS", "readonly": false, "type": "string" }, "includePhone": { "type": "boolean", "description": "Move all phones that match search-criteria, to destination site.", "title": "Phones" }, "defaultlinecfbicss": { "type": "string", "title": "Default CUCM Line Call Forward Busy Internal CSS" }, "default_alternate_e164_pt": { "type": "string", "title": "Default CUCM Line Alternate E164 Partition" }, "system_flag_onopen_dp": { "is_password": false, "title": "System Flag to detect On-Open.", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_rdp_rr_css": { "type": "string", "title": "Default CUCM Remote Destination Profile ReRouting CSS" }, "defaultcuchtmlnotificationtemplate": { "type": "string", "title": "Default CUC HTML Notification Template" }, "defaultdevicecss": { "is_password": false, "target": "data/DialPlan", "title": "Default CUCM Device CSS", "items": { "is_password": false }, "required": false, "choices": [ { "value": "y", "title": "y" } ], "target_attr": "AddSiteCSS", "readonly": false, "type": "string" }, "default_cucm_user_serviceprofile": { "is_password": false, "title": "Default CUCM Service Profile", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_cucm_line_presencegroup": { "is_password": false, "title": "Default CUCM Line Presence Group", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaulthppt": { "is_password": false, "target": "data/DialPlan", "title": "Default CUCM Hunt Pilot Partition", "items": { "is_password": false }, "required": false, "choices": [ { "value": "y", "title": "y" } ], "target_attr": "AddSitePartitions.SitePT", "readonly": false, "type": "string" }, "system_flag_onopen_phone": { "is_password": false, "title": "System Flag to detect On-Open.", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "includeRD": { "type": "boolean", "description": "Remote Destinations associated to RDP's", "title": "Remote Destinations" }, "defaultcuclanguagecallerhears": { "type": "string", "title": "Default Language That Callers Hear" }, "default_callforward_css": { "type": "string", "title": "Default CUCM Line Call Forward CSS" }, "default_dp_emcc_css": { "type": "string", "title": "Default CUCM Device Profile EMCC CSS" }, "default_cucm_line_vmprofile": { "type": "string", "title": "Default CUCM Line Voicemail Profile" } }, "schema_version": "2.2.1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/SiteDefaultsDoc/add/ |
|
The GUI Add form of data/SiteDefaultsDoc 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/SiteDefaultsDoc/ | 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/SiteDefaultsDoc/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/SiteDefaultsDoc/[pkid1]", "/api/data/SiteDefaultsDoc/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/SiteDefaultsDoc/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/SiteDefaultsDoc; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/SiteDefaultsDoc/export/ |
|
{ "hrefs":["/api/data/SiteDefaultsDoc/[pkid1]", "/api/data/SiteDefaultsDoc/[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/SiteDefaultsDoc and the JSON format can be used to import instances of data/SiteDefaultsDoc.
GET http://[host-proxy]/api/data/SiteDefaultsDoc/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/SiteDefaultsDoc | POST | /api/data/SiteDefaultsDoc/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/SiteDefaultsDoc/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/SiteDefaultsDoc/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/SiteDefaultsDoc/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/SiteDefaultsDoc/ |
|
The data/SiteDefaultsDoc schema and all instances as JSON. |
(The list will return 0 to 3 data/SiteDefaultsDoc 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/SiteDefaultsDoc/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 12 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.1", "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/SiteDefaultsDoc/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/SiteDefaultsDoc/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/SiteDefaultsDoc/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/SiteDefaultsDoc/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/data/SiteDefaultsDoc/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/SiteDefaultsDoc/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/SiteDefaultsDoc/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/SiteDefaultsDoc/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/SiteDefaultsDoc/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "bulk_update": { "support_async": true, "class": "update", "href": "/api/data/SiteDefaultsDoc/bulk_update/?hierarchy=[hierarchy]", "method": "POST", "title": "Bulk Modify" } } ], "model_type": "data/SiteDefaultsDoc", "model_specific_actions": [ "get", "list", "add", "update", "remove", "help", "export_bulkload_template", "bulk_update", "configuration_template", "field_display_policy", "export", "migration" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "includeOverbuild", "title": "Include Site for Overbuild" }, { "name": "defaultREG", "title": "Default CUCM Region" }, { "name": "defaultNL", "title": "Default Network Locale" }, { "name": "defaultUL", "title": "Default User Locale" }, { "name": "defaultcuclanguage", "title": "Default CUC Language" }, { "name": "default_self_service_language", "title": "Default Self-service Language " }, { "name": "defaultDTG", "title": "Default CUCM Date/Time Group" }, { "name": "hotdial_time_zone", "title": "Default HotDial Time Zone" }, { "name": "defaultcucmgroup", "title": "Default CUCM Group" }, { "name": "default_cucm_user_serviceprofile", "title": "Default CUCM Service Profile" }, { "name": "defaultcucsubscribertemplate", "title": "Default CUC Subscriber Template" }, { "name": "defaultcucphonesystem", "title": "Default CUC Phone System" }, { "name": "defaultcucsmppprovider", "title": "Default CUC SMPP Provider" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "resources": [ { "pkid": "5f3ae660ce894e0012057abc", "meta": { "tags": [], "cached": true, "title": "CL1-AB-C-Berlin", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5f3ae660ce894e0012057abc", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/" } ], "parent": [ { "pkid": "5f3ae657ce894e0012057858", "href": "/api/data/HierarchyNode/5f3ae657ce894e0012057858" } ], "foreign_key": [ { "pkid": "5f3ae65bce894e0012057987", "path": "defaultuserrole", "model_type": "data/Role" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/help", "method": "GET", "title": "Help" } } ], "model_type": "data/SiteDefaultsDoc", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae657ce894e0012057858", "5f3ae660ce894e0012057abc" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "includeOverbuild", "title": "Include Site for Overbuild" }, { "name": "defaultREG", "title": "Default CUCM Region" }, { "name": "defaultNL", "title": "Default Network Locale" }, { "name": "defaultUL", "title": "Default User Locale" }, { "name": "defaultcuclanguage", "title": "Default CUC Language" }, { "name": "default_self_service_language", "title": "Default Self-service Language " }, { "name": "defaultDTG", "title": "Default CUCM Date/Time Group" }, { "name": "hotdial_time_zone", "title": "Default HotDial Time Zone" }, { "name": "defaultcucmgroup", "title": "Default CUCM Group" }, { "name": "default_cucm_user_serviceprofile", "title": "Default CUCM Service Profile" }, { "name": "defaultcucsubscribertemplate", "title": "Default CUC Subscriber Template" }, { "name": "defaultcucphonesystem", "title": "Default CUC Phone System" }, { "name": "defaultcucsmppprovider", "title": "Default CUC SMPP Provider" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "defaultuserrole": "CL1-AB-C-BerlinSelfService", "default_cucm_dp_e164_mask": "+49421538XXXX", "defaultREG": "CL1-AB-C-Berlin-RGN1", "default_cucm_phone_commondeviceconfig": "Standard Common Phone Profile", "default_cucm_phone_softkey": "Standard User", "default_cucm_dp_protocol": "SIP", "default_cucm_sip_profile": "Standard SIP Profile", "hotdial_time_zone": "Europe-CET", "hierarchy_friendly_name": "CL1-AB-C-Berlin (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Berlin", "default_cucm_rdp_dndoption": "Call Reject", "default_cucm_dp_template": "Standard 9971 SIP", "pkid": "5f3ae660ce894e0012057abe", "defaultLOC": "Cu1Si6-Location", "defaultlinept": "Cu1-DirNum-PT", "defaultmmpt": "Cu1Si6-Feature-PT", "defaultcucsubscribertemplate": "Cu1-BasicVoiceMail-UT", "defaultDP": "Cu1Si6-DevicePool", "default_cucm_phone_protocol": "SIP", "default_cucm_user_presencegroup": "Standard Presence group", "customer_ini": false, "default_cucm_phone_template": "Standard 9971 SIP", "default_cucm_dp_product": "Cisco 9971", "defaultcucphonesystem": "PhoneSystem", "default_cucm_phone_securityprofile": "Cisco 9971 - Standard SIP Non-Secure Profile", "default_cucm_phone_sipprofile": "Standard SIP Profile", "default_cucm_phone_product": "Cisco 9971", "defaultcpupt": "Cu1Si6-Feature-PT", "default_cucm_phone_e164_mask": "+49421538XXXX", "defaultcppt": "Cu1Si6-Feature-PT", "defaultDTG": "Europe-CET", "defaultcucmgroup": "ABG-CL1-PhonesGroup-Sub3-Sub4", "name": "CL1-AB-C-Berlin", "default_cucm_rdp_e164_mask": "+49421538XXXX", "default_cucm_phone_presencegroup": "Standard Presence group", "default_cucm_line_presencegroup": "Standard Presence group", "defaulthppt": "Cu1Si6-Feature-PT", "defaultcuchtmlnotificationtemplate": "Default_Dynamic_Icons", "default_cucm_line_vmprofile": "Cu1-ABG-VMS-1-8880001" } }, { "pkid": "5f3ae62bce894e0012056efa", "meta": { "tags": [], "cached": true, "title": "CL1-AB-C-Grenoble", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5f3ae62bce894e0012056efa", "href": "/api/data/SiteDefaultsDoc/5f3ae62bce894e0012056efa/" } ], "parent": [ { "pkid": "5f3ae621ce894e0012056c72", "href": "/api/data/HierarchyNode/5f3ae621ce894e0012056c72" } ], "foreign_key": [ { "pkid": "5f3ae625ce894e0012056db3", "path": "defaultuserrole", "model_type": "data/Role" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/SiteDefaultsDoc/5f3ae62bce894e0012056efa/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/SiteDefaultsDoc/5f3ae62bce894e0012056efa/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/SiteDefaultsDoc/5f3ae62bce894e0012056efa/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/data/SiteDefaultsDoc/5f3ae62bce894e0012056efa/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/SiteDefaultsDoc/5f3ae62bce894e0012056efa/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/SiteDefaultsDoc", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae621ce894e0012056c72", "5f3ae62bce894e0012056efa" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "includeOverbuild", "title": "Include Site for Overbuild" }, { "name": "defaultREG", "title": "Default CUCM Region" }, { "name": "defaultNL", "title": "Default Network Locale" }, { "name": "defaultUL", "title": "Default User Locale" }, { "name": "defaultcuclanguage", "title": "Default CUC Language" }, { "name": "default_self_service_language", "title": "Default Self-service Language " }, { "name": "defaultDTG", "title": "Default CUCM Date/Time Group" }, { "name": "hotdial_time_zone", "title": "Default HotDial Time Zone" }, { "name": "defaultcucmgroup", "title": "Default CUCM Group" }, { "name": "default_cucm_user_serviceprofile", "title": "Default CUCM Service Profile" }, { "name": "defaultcucsubscribertemplate", "title": "Default CUC Subscriber Template" }, { "name": "defaultcucphonesystem", "title": "Default CUC Phone System" }, { "name": "defaultcucsmppprovider", "title": "Default CUC SMPP Provider" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "defaultuserrole": "CL1-AB-C-GrenobleSelfService", "default_cucm_dp_e164_mask": "+3356193XXXX", "defaultREG": "CL1-AB-C-Grenoble-RGN1", "default_cucm_phone_commondeviceconfig": "Standard Common Phone Profile", "default_cucm_phone_softkey": "Standard User", "default_cucm_dp_protocol": "SIP", "default_cucm_sip_profile": "Standard SIP Profile", "hotdial_time_zone": "Europe-CET", "hierarchy_friendly_name": "CL1-AB-C-Grenoble (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Grenoble", "default_cucm_rdp_dndoption": "Call Reject", "default_cucm_dp_template": "Standard 9971 SIP", "pkid": "5f3ae62bce894e0012056efc", "defaultLOC": "Cu1Si2-Location", "defaultlinept": "Cu1-DirNum-PT", "defaultmmpt": "Cu1Si2-Feature-PT", "defaultcucsubscribertemplate": "Cu1-BasicVoiceMail-UT", "defaultDP": "Cu1Si2-DevicePool", "default_cucm_phone_protocol": "SIP", "default_cucm_user_presencegroup": "Standard Presence group", "customer_ini": false, "default_cucm_phone_template": "Standard 9971 SIP", "default_cucm_dp_product": "Cisco 9971", "defaultcucphonesystem": "PhoneSystem", "default_cucm_phone_securityprofile": "Cisco 9971 - Standard SIP Non-Secure Profile", "default_cucm_phone_sipprofile": "Standard SIP Profile", "default_cucm_phone_product": "Cisco 9971", "defaultcpupt": "Cu1Si2-Feature-PT", "default_cucm_phone_e164_mask": "+3356193XXXX", "defaultcppt": "Cu1Si2-Feature-PT", "defaultDTG": "Europe-CET", "defaultcucmgroup": "ABG-CL1-PhonesGroup-Sub3-Sub4", "name": "CL1-AB-C-Grenoble", "default_cucm_rdp_e164_mask": "+3356193XXXX", "default_cucm_phone_presencegroup": "Standard Presence group", "default_cucm_line_presencegroup": "Standard Presence group", "defaulthppt": "Cu1Si2-Feature-PT", "defaultcuchtmlnotificationtemplate": "Default_Dynamic_Icons", "default_cucm_line_vmprofile": "Cu1-ABG-VMS-1-8880001" } }, { "pkid": "5f3ae655ce894e0012057805", "meta": { "tags": [], "cached": true, "title": "CL1-AB-C-Hannover", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.1", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5f3ae655ce894e0012057805", "href": "/api/data/SiteDefaultsDoc/5f3ae655ce894e0012057805/" } ], "parent": [ { "pkid": "5f3ae64ace894e0012057585", "href": "/api/data/HierarchyNode/5f3ae64ace894e0012057585" } ], "foreign_key": [ { "pkid": "5f3ae64ece894e00120576b5", "path": "defaultuserrole", "model_type": "data/Role" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/SiteDefaultsDoc/5f3ae655ce894e0012057805/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/SiteDefaultsDoc/5f3ae655ce894e0012057805/", "class": "delete", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/data/SiteDefaultsDoc/5f3ae655ce894e0012057805/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/SiteDefaultsDoc/5f3ae655ce894e0012057805/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/SiteDefaultsDoc/5f3ae655ce894e0012057805/help", "class": "help", "title": "Help" } } ], "model_type": "data/SiteDefaultsDoc", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae64ace894e0012057585", "5f3ae655ce894e0012057805" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "includeOverbuild", "title": "Include Site for Overbuild" }, { "name": "defaultREG", "title": "Default CUCM Region" }, { "name": "defaultNL", "title": "Default Network Locale" }, { "name": "defaultUL", "title": "Default User Locale" }, { "name": "defaultcuclanguage", "title": "Default CUC Language" }, { "name": "default_self_service_language", "title": "Default Self-service Language " }, { "name": "defaultDTG", "title": "Default CUCM Date/Time Group" }, { "name": "hotdial_time_zone", "title": "Default HotDial Time Zone" }, { "name": "defaultcucmgroup", "title": "Default CUCM Group" }, { "name": "default_cucm_user_serviceprofile", "title": "Default CUCM Service Profile" }, { "name": "defaultcucsubscribertemplate", "title": "Default CUC Subscriber Template" }, { "name": "defaultcucphonesystem", "title": "Default CUC Phone System" }, { "name": "defaultcucsmppprovider", "title": "Default CUC SMPP Provider" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "defaultuserrole": "CL1-AB-C-HannoverSelfService", "default_cucm_dp_e164_mask": "+49407437XXXX", "defaultREG": "CL1-AB-C-Hannover-RGN1", "default_cucm_phone_commondeviceconfig": "Standard Common Phone Profile", "default_cucm_phone_softkey": "Standard User", "default_cucm_dp_protocol": "SIP", "default_cucm_sip_profile": "Standard SIP Profile", "hotdial_time_zone": "Europe-CET", "hierarchy_friendly_name": "CL1-AB-C-Hannover (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Hannover", "default_cucm_rdp_dndoption": "Call Reject", "default_cucm_dp_template": "Standard 9971 SIP", "pkid": "5f3ae655ce894e0012057807", "defaultLOC": "Cu1Si5-Location", "defaultlinept": "Cu1-DirNum-PT", "defaultmmpt": "Cu1Si5-Feature-PT", "defaultcucsubscribertemplate": "Cu1-BasicVoiceMail-UT", "defaultDP": "Cu1Si5-DevicePool", "default_cucm_phone_protocol": "SIP", "default_cucm_user_presencegroup": "Standard Presence group", "customer_ini": false, "default_cucm_phone_template": "Standard 9971 SIP", "default_cucm_dp_product": "Cisco 9971", "defaultcucphonesystem": "PhoneSystem", "default_cucm_phone_securityprofile": "Cisco 9971 - Standard SIP Non-Secure Profile", "default_cucm_phone_sipprofile": "Standard SIP Profile", "default_cucm_phone_product": "Cisco 9971", "defaultcpupt": "Cu1Si5-Feature-PT", "default_cucm_phone_e164_mask": "+49407437XXXX", "defaultcppt": "Cu1Si5-Feature-PT", "defaultDTG": "Europe-CET", "defaultcucmgroup": "ABG-CL1-PhonesGroup-Sub1-Sub2", "name": "CL1-AB-C-Hannover", "default_cucm_rdp_e164_mask": "+49407437XXXX", "default_cucm_phone_presencegroup": "Standard Presence group", "default_cucm_line_presencegroup": "Standard Presence group", "defaulthppt": "Cu1Si5-Feature-PT", "defaultcuchtmlnotificationtemplate": "Default_Dynamic_Icons", "default_cucm_line_vmprofile": "Cu1-ABG-VMS-1-8880001" } } ] }
(Show the first instance)
{ "pkid": "5f3ae660ce894e0012057abc", "meta": { "tags": [], "cached": false, "title": "CL1-AB-C-Berlin", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.1", "references": { "parent": [ { "pkid": "5f3ae657ce894e0012057858", "href": "/api/data/HierarchyNode/5f3ae657ce894e0012057858" } ], "self": [ { "pkid": "5f3ae660ce894e0012057abc", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/" } ], "foreign_key": [ { "pkid": "5f3ae65bce894e0012057987", "path": "defaultuserrole", "model_type": "data/Role" } ], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/SiteDefaultsDoc/5f3ae660ce894e0012057abc/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/SiteDefaultsDoc", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae657ce894e0012057858", "5f3ae660ce894e0012057abc" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "includeOverbuild", "title": "Include Site for Overbuild" }, { "name": "defaultREG", "title": "Default CUCM Region" }, { "name": "defaultNL", "title": "Default Network Locale" }, { "name": "defaultUL", "title": "Default User Locale" }, { "name": "defaultcuclanguage", "title": "Default CUC Language" }, { "name": "default_self_service_language", "title": "Default Self-service Language " }, { "name": "defaultDTG", "title": "Default CUCM Date/Time Group" }, { "name": "hotdial_time_zone", "title": "Default HotDial Time Zone" }, { "name": "defaultcucmgroup", "title": "Default CUCM Group" }, { "name": "default_cucm_user_serviceprofile", "title": "Default CUCM Service Profile" }, { "name": "defaultcucsubscribertemplate", "title": "Default CUC Subscriber Template" }, { "name": "defaultcucphonesystem", "title": "Default CUC Phone System" }, { "name": "defaultcucsmppprovider", "title": "Default CUC SMPP Provider" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "defaultuserrole": "CL1-AB-C-BerlinSelfService", "default_cucm_dp_e164_mask": "+49421538XXXX", "defaultREG": "CL1-AB-C-Berlin-RGN1", "default_cucm_phone_commondeviceconfig": "Standard Common Phone Profile", "default_cucm_phone_softkey": "Standard User", "default_cucm_dp_protocol": "SIP", "default_cucm_sip_profile": "Standard SIP Profile", "hotdial_time_zone": "Europe-CET", "default_cucm_phone_protocol": "SIP", "default_cucm_rdp_dndoption": "Call Reject", "default_cucm_dp_template": "Standard 9971 SIP", "pkid": "5f3ae660ce894e0012057abe", "defaultLOC": "Cu1Si6-Location", "defaultlinept": "Cu1-DirNum-PT", "defaultmmpt": "Cu1Si6-Feature-PT", "defaultcucsubscribertemplate": "Cu1-BasicVoiceMail-UT", "defaultDP": "Cu1Si6-DevicePool", "default_cucm_user_presencegroup": "Standard Presence group", "customer_ini": false, "default_cucm_phone_template": "Standard 9971 SIP", "default_cucm_dp_product": "Cisco 9971", "defaultcucphonesystem": "PhoneSystem", "default_cucm_phone_sipprofile": "Standard SIP Profile", "default_cucm_phone_product": "Cisco 9971", "defaultcpupt": "Cu1Si6-Feature-PT", "default_cucm_phone_e164_mask": "+49421538XXXX", "name": "CL1-AB-C-Berlin", "defaultDTG": "Europe-CET", "defaultcuchtmlnotificationtemplate": "Default_Dynamic_Icons", "defaultcucmgroup": "ABG-CL1-PhonesGroup-Sub3-Sub4", "defaultcppt": "Cu1Si6-Feature-PT", "default_cucm_rdp_e164_mask": "+49421538XXXX", "default_cucm_phone_presencegroup": "Standard Presence group", "default_cucm_line_presencegroup": "Standard Presence group", "defaulthppt": "Cu1Si6-Feature-PT", "default_cucm_phone_securityprofile": "Cisco 9971 - Standard SIP Non-Secure Profile", "default_cucm_line_vmprofile": "Cu1-ABG-VMS-1-8880001" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/SiteDefaultsDoc. | GET | /api/data/SiteDefaultsDoc/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/SiteDefaultsDoc as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/SiteDefaultsDoc/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/SiteDefaultsDoc/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/SiteDefaultsDoc; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/SiteDefaultsDoc/[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/SiteDefaultsDoc and the JSON format can be used to import instances of data/SiteDefaultsDoc.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/SiteDefaultsDoc/[pkid]/ | hierarchy=[hierarchy] | The data/SiteDefaultsDoc instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/SiteDefaultsDoc/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/SiteDefaultsDoc. |