[Index]
Enterprise 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" }, "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" }, "ldap_server": { "description": "A reference to the LDAP server which this user must authenticate against.", "format": "uri", "title": "LDAP Server", "required": false, "choices": [], "target_model_type": "data/Ldap", "type": "string", "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "custom_boolean_10": { "type": "boolean", "title": "custom_boolean_10" }, "default_cucm_sip_profile": { "type": "string", "title": "Default CUCM SIP Profile" }, "defaultlinecfnrcss": { "type": "string", "title": "Default CUCM Line Call Forward Not Registered CSS" }, "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" }, "additionalDevicePools": { "items": { "type": "object", "properties": { "dpName": { "description": "Device Pool to be used during Overbuild for this site.", "title": "Device Pool Name", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "device/cucm/DevicePool", "type": "string", "target": "/api/device/cucm/DevicePool/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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" }, "includeCUCUser": { "type": "boolean", "description": "Unity Connect Users associated to phones", "title": "CUC Users" }, "default_phone_subscriber_css": { "type": "string", "title": "Default CUCM Phone Subscribe CSS" }, "defaultlinecfncicss": { "type": "string", "title": "Default CUCM Line Call Forward No Coverage Internal CSS" }, "default_cucm_user_presencegroup": { "is_password": false, "title": "Default CUCM User Presence Group", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_data_user_password": { "pattern": "^$|.{8,}", "required": false, "type": "string", "description": "The default password to assign to a data user.", "title": "Default User Password" }, "system_flag_onopen_dp": { "is_password": false, "title": "System Flag to detect On-Open.", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultcuchtmlnotificationtemplate": { "type": "string", "title": "Default CUC HTML Notification Template" }, "custom_string_10": { "type": "string", "title": "custom_string_10" }, "default_user_subscriber_css": { "type": "string", "title": "Default CUCM User Subscribe CSS" }, "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" }, "defaultcucmgroup": { "type": "string", "title": "Default CUCM Group" }, "name": { "is_password": false, "title": "Name", "items": { "is_password": false }, "required": true, "readonly": false, "type": "string" }, "default_rdp_rr_css": { "type": "string", "title": "Default CUCM Remote Destination Profile ReRouting CSS" }, "custom_boolean_5": { "type": "boolean", "title": "custom_boolean_5" }, "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" }, "custom_boolean_7": { "type": "boolean", "title": "custom_boolean_7" }, "custom_boolean_6": { "type": "boolean", "title": "custom_boolean_6" }, "custom_boolean_1": { "type": "boolean", "title": "custom_boolean_1" }, "default_cucm_line_presencegroup": { "is_password": false, "title": "Default CUCM Line Presence Group", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "custom_boolean_3": { "type": "boolean", "title": "custom_boolean_3" }, "custom_boolean_2": { "type": "boolean", "title": "custom_boolean_2" }, "system_flag_onopen_phone": { "is_password": false, "title": "System Flag to detect On-Open.", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "custom_boolean_9": { "type": "boolean", "title": "custom_boolean_9" }, "custom_boolean_8": { "type": "boolean", "title": "custom_boolean_8" }, "default_dp_emcc_css": { "type": "string", "title": "Default CUCM Device Profile EMCC CSS" }, "useNationalMaskFormat": { "type": "boolean", "title": "Use National Mask Format" }, "defaultuserprofile": { "type": "string", "title": "Default User Profile (for User Self Provisioning)" }, "default_cucm_dp_protocol": { "is_password": false, "title": "Default CUCM Device Profile Protocol", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "custom_boolean_4": { "type": "boolean", "title": "custom_boolean_4" }, "defaultLOC": { "is_password": false, "title": "Default CUCM Location", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "includeContactCenterAgent": { "type": "boolean", "description": "Contact Center Agents that have a User at Site level with same user ID.", "title": "Contact Center Agents" }, "default_self_service_language": { "is_password": false, "title": "Default Self-service Language ", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultcucsubscribertemplate": { "type": "string", "title": "Default CUC Subscriber Template" }, "includeWebexTeamsUser": { "type": "boolean", "description": "Webex Teams Users that have a User at Site level with same email address.", "title": "Webex Teams Users" }, "defaultcuctimezone": { "type": "string", "title": "Default CUC Timezone" }, "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" }, "default_cucm_phone_template": { "is_password": false, "title": "Default CUCM Phone Button Template", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultcucphonesystem": { "type": "string", "title": "Default CUC Phone System" }, "default_cucm_phone_sipprofile": { "is_password": false, "title": "Default CUCM Phone SIP Profile", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "auth_method": { "title": "Auth Method", "type": "string", "description": "The type of authorization that our user would be using. Typically this would be choices between a Standard VOSS 4 UC user, an LDAP user or an SSO user.", "choices": [ { "value": "", "title": "" }, { "value": "standard", "title": "Standard" }, { "value": "ldap", "title": "LDAP" }, { "value": "sso", "title": "SSO" } ] }, "sso_idp": { "description": "The entity id of the SSO Identity Provider.", "format": "uri", "title": "SSO Identity Provider", "required": false, "choices": [], "target_attr": "entity_id", "target_model_type": "data/SsoIdentityProvider", "type": "string", "target": "/api/data/SsoIdentityProvider/choices/?field=entity_id&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "custom_string_9": { "type": "string", "title": "custom_string_9" }, "custom_string_8": { "type": "string", "title": "custom_string_8" }, "custom_string_1": { "type": "string", "title": "custom_string_1" }, "custom_string_3": { "type": "string", "title": "custom_string_3" }, "custom_string_2": { "type": "string", "title": "custom_string_2" }, "custom_string_5": { "type": "string", "title": "custom_string_5" }, "custom_string_4": { "type": "string", "title": "custom_string_4" }, "custom_string_7": { "type": "string", "title": "custom_string_7" }, "custom_string_6": { "type": "string", "title": "custom_string_6" }, "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" }, "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" }, "default_cucm_line_vmprofile": { "type": "string", "title": "Default CUCM Line Voicemail Profile" }, "includePhone": { "type": "boolean", "description": "Move all phones that match search-criteria, to destination site.", "title": "Phones" }, "default_cucm_dp_e164_mask": { "type": "string", "title": "Default CUCM Device Profile Line E164 Mask" }, "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_softkey": { "is_password": false, "title": "Default CUCM Phone Softkey Template", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultlinecfbicss": { "type": "string", "title": "Default CUCM Line Call Forward Busy Internal CSS" }, "hotdial_time_zone": { "type": "string", "title": "Default HotDial Time Zone" }, "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_dp_template": { "is_password": false, "title": "Default CUCM Device Profile Button Template", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "includeLine": { "type": "boolean", "description": "Lines associated to 1) phones, 2) device profiles, 3) RDP's.", "title": "Lines" }, "default_alternate_enterprise_pt": { "type": "string", "title": "Default CUCM Line Alternate Enterprise Partition" }, "includePRD": { "type": "boolean", "description": "Remote Destinations associated to Dual-Mode Phones", "title": "Dual-mode Remote Destinations" }, "default_cucm_phone_presencegroup": { "is_password": false, "title": "Default CUCM Phone Presence Group", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "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" }, "defaultlinecfnaicss": { "type": "string", "title": "Default CUCM Line Call Forward No Answer Internal CSS" }, "defaultUL": { "is_password": false, "title": "Default User Locale", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "default_rdp_css": { "type": "string", "title": "Default CUCM Remote Destination Profile CSS" }, "defaultlinecfnacss": { "type": "string", "title": "Default CUCM Line Call Forward No Answer CSS" }, "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" }, "default_cucm_phone_e164_mask": { "type": "string", "title": "Default CUCM Phone Line E164 Mask" }, "defaultlinecfacss": { "type": "string", "title": "Default CUCM Line Call Forward All CSS" }, "default_callforward_css": { "type": "string", "title": "Default CUCM Line Call Forward CSS" }, "defaultlinecfbcss": { "type": "string", "title": "Default CUCM Line Call Forward Busy CSS" }, "defaultlinecfofcss": { "type": "string", "title": "Default CUCM Line Call Forward On Failure CSS" }, "default_alternate_e164_pt": { "type": "string", "title": "Default CUCM Line Alternate E164 Partition" }, "default_cucm_rdp_e164_mask": { "type": "string", "title": "Default CUCM Remote Destination Profile Line E164 Mask" }, "default_cucm_phone_securityprofile": { "is_password": false, "title": "Default CUCM Phone Security Profile", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "includeRD": { "type": "boolean", "description": "Remote Destinations associated to RDP's", "title": "Remote Destinations" }, "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" }, "includeDP": { "type": "boolean", "description": "Move User Device Profiles down to associated User", "title": "Device Profiles" }, "includeOverbuild": { "type": "boolean", "description": "Mark this site as to be included for Overbuild", "title": "Include Site for Overbuild" }, "defaultDP": { "is_password": false, "title": "Default CUCM Device Pool", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultlinecfnricss": { "type": "string", "title": "Default CUCM Line Call Forward On Failure Internal CSS" }, "defaultcuclanguage": { "type": "string", "title": "Default CUC Language" }, "defaultlineseccss": { "type": "string", "title": "Default CUCM Line Call Forward Secondary CSS" }, "defaultlinecfapcss": { "type": "string", "title": "Default CUCM Line Call Forward Alternate Party CSS" }, "includeRDP": { "type": "boolean", "description": "Move Remote Destination Profiles that match search-criteria, to destination site.", "title": "Remote Destination Profiles" }, "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" }, "includeUser": { "type": "boolean", "description": "Move Users down to associated phones", "title": "Users" }, "defaultNL": { "is_password": false, "title": "Default Network Locale", "items": { "is_password": false }, "required": false, "readonly": false, "type": "string" }, "defaultcuclanguagecallerhears": { "type": "string", "title": "Default Language That Callers Hear" }, "default_cucm_phone_product": { "is_password": false, "target": "/api/device/cucm/PhoneType/choices/?field=PhoneType&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "items": { "is_password": false }, "required": false, "choices": [], "target_attr": "PhoneType", "readonly": false, "title": "Default CUCM Phone Product", "target_model_type": "device/cucm/PhoneType", "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" }, "defaultDTG": { "is_password": false, "title": "Default CUCM Date/Time Group", "items": { "is_password": false }, "required": false, "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" } }, "schema_version": "2.2.2" }
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": 20 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.2", "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" } } ], "model_type": "data/SiteDefaultsDoc", "model_specific_actions": [ "get", "list", "add", "update", "remove", "help", "export_bulkload_template", "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": "20.1.1", "tagged_versions": [] }, "resources": [ { "pkid": "5fffda51ce894e00155bd1bf", "meta": { "tags": [], "cached": true, "title": "AutoPushSite", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5fffda51ce894e00155bd1bf", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/" } ], "parent": [ { "pkid": "5fffda49ce894e00155bcf6f", "href": "/api/data/HierarchyNode/5fffda49ce894e00155bcf6f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/help", "method": "GET", "title": "Help" } } ], "model_type": "data/SiteDefaultsDoc", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff5657ce894e001550592f", "5fffda49ce894e00155bcf6f", "5fffda51ce894e00155bd1bf" ], "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": "20.1.1", "tagged_versions": [] }, "data": { "pkid": "5fffda51ce894e00155bd1c0", "hierarchy_friendly_name": "AutoPushSite (Site)", "customer_ini": false, "name": "AutoPushSite", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.AutoPushSite" } }, { "pkid": "5fff5660ce894e0015505ca3", "meta": { "tags": [], "cached": true, "title": "CUSTOMER_TEMPLATE", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5fff5660ce894e0015505ca3", "href": "/api/data/SiteDefaultsDoc/5fff5660ce894e0015505ca3/" } ], "parent": [ { "pkid": "5fff5657ce894e001550592f", "href": "/api/data/HierarchyNode/5fff5657ce894e001550592f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/SiteDefaultsDoc/5fff5660ce894e0015505ca3/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/SiteDefaultsDoc/5fff5660ce894e0015505ca3/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/SiteDefaultsDoc/5fff5660ce894e0015505ca3/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/data/SiteDefaultsDoc/5fff5660ce894e0015505ca3/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/SiteDefaultsDoc/5fff5660ce894e0015505ca3/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/SiteDefaultsDoc", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff5657ce894e001550592f", "5fff5660ce894e0015505ca3" ], "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": "20.1.1", "tagged_versions": [] }, "data": { "pkid": "5fff5660ce894e0015505ca4", "hierarchy_friendly_name": "AAAGlobal (Customer)", "name": "CUSTOMER_TEMPLATE", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "5fff8738ce894e001555a9fd", "meta": { "tags": [], "cached": true, "title": "CUSTOMER_TEMPLATE", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5fff8738ce894e001555a9fd", "href": "/api/data/SiteDefaultsDoc/5fff8738ce894e001555a9fd/" } ], "parent": [ { "pkid": "5fff8722ce894e001555a689", "href": "/api/data/HierarchyNode/5fff8722ce894e001555a689" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/SiteDefaultsDoc/5fff8738ce894e001555a9fd/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/SiteDefaultsDoc/5fff8738ce894e001555a9fd/", "class": "delete", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/data/SiteDefaultsDoc/5fff8738ce894e001555a9fd/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/SiteDefaultsDoc/5fff8738ce894e001555a9fd/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/SiteDefaultsDoc/5fff8738ce894e001555a9fd/help", "class": "help", "title": "Help" } } ], "model_type": "data/SiteDefaultsDoc", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff8722ce894e001555a689", "5fff8738ce894e001555a9fd" ], "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": "20.1.1", "tagged_versions": [] }, "data": { "pkid": "5fff8738ce894e001555a9fe", "hierarchy_friendly_name": "Overton (Customer)", "name": "CUSTOMER_TEMPLATE", "hierarchy_path": "sys.hcs.CS-P.CS-NB.Overton" } } ] }
(Show the first instance)
{ "pkid": "5fffda51ce894e00155bd1bf", "meta": { "tags": [], "cached": false, "title": "AutoPushSite", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "schema_version": "2.2.2", "references": { "parent": [ { "pkid": "5fffda49ce894e00155bcf6f", "href": "/api/data/HierarchyNode/5fffda49ce894e00155bcf6f" } ], "self": [ { "pkid": "5fffda51ce894e00155bd1bf", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/" } ], "foreign_key": [], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/SiteDefaultsDoc/5fffda51ce894e00155bd1bf/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/SiteDefaultsDoc", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff5657ce894e001550592f", "5fffda49ce894e00155bcf6f", "5fffda51ce894e00155bd1bf" ], "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": "20.1.1", "tagged_versions": [] }, "data": { "pkid": "5fffda51ce894e00155bd1c0", "customer_ini": false, "name": "AutoPushSite" } }
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. |