[Index]
Static profiles to apply different end to end configurations to Cucm/cuc
Model ref.: data/ucprep_UC_Profiles
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": { "unity_usertemplatearray": { "items": { "type": "object", "properties": { "unity_ut_partition": { "description": "Partition", "title": "Partition", "format": "uri", "choices": [], "target_attr": "Name", "target_model_type": "device/cuc/Partition", "type": "string", "target": "/api/device/cuc/Partition/choices/?field=Name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "unity_ut_css": { "description": "Search Scope", "title": "Search Scope", "format": "uri", "choices": [], "target_attr": "Name", "target_model_type": "device/cuc/SearchSpace", "type": "string", "target": "/api/device/cuc/SearchSpace/choices/?field=Name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "unity_ut_phonesystem": { "description": "Phone System", "title": "Phone System", "format": "uri", "choices": [], "target_attr": "DisplayName", "target_model_type": "device/cuc/PhoneSystem", "type": "string", "target": "/api/device/cuc/PhoneSystem/choices/?field=DisplayName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "unity_ut_alias": { "type": "string", "description": "Alias", "title": "Alias" }, "unity_ut_bat": { "description": "Based On Template", "title": "Based On Template", "format": "uri", "choices": [], "target_attr": "Alias", "target_model_type": "device/cuc/UserTemplate", "type": "string", "target": "/api/device/cuc/UserTemplate/choices/?field=Alias&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "unity_chosencft": { "target_attr": "name", "description": "CUC User Template CFT", "type": "string", "target": "data/ConfigurationTemplate", "title": "CUC User Template CFT" }, "unity_ut_display": { "type": "string", "description": "Display Name", "title": "Display Name" }, "unity_ut_cos": { "description": "Class Of Service", "title": "Class Of Service", "format": "uri", "choices": [], "target_attr": "DisplayName", "target_model_type": "device/cuc/Cos", "type": "string", "target": "/api/device/cuc/Cos/choices/?field=DisplayName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "unity_ut_map": { "description": "Message Aging Policy", "title": "Message Aging Policy", "format": "uri", "choices": [], "target_attr": "DisplayName", "target_model_type": "device/cuc/MessageAgingPolicy", "type": "string", "target": "/api/device/cuc/MessageAgingPolicy/choices/?field=DisplayName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] } } }, "type": "array", "description": "Unity User Template", "title": "Unity User Template" }, "cucm_routefilter_array": { "items": { "type": "object", "properties": { "rf_cft": { "target_attr": "name", "description": "Route Filter Template to Apply", "type": "string", "target": "data/ConfigurationTemplate", "title": "Route Filter Template to Apply" } } }, "type": "array", "title": "Route Filters" }, "ucprep_profile_notes": { "type": "string", "title": "UC Prep Profile Notes" }, "add_cucvmauthcft": { "target_attr": "name", "description": "Voice Authentication Rule CFT", "type": "string", "target": "data/ConfigurationTemplate", "title": "Voice Authentication Rule CFT" }, "add_cucwebauth": { "type": "boolean", "description": "Web Authentication Update Option", "title": "Update Web Authentication Rules" }, "cucm_ip_array": { "items": { "type": "object", "properties": { "cucm_autoreg_ult": { "description": "Required ULT for autoregistration", "title": "Call Manager Universal Line Template", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "device/cucm/UniversalLineTemplate", "type": "string", "target": "/api/device/cucm/UniversalLineTemplate/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "cucm_autoreg_enddn": { "type": "string", "description": "Ending Directory Number", "title": "Ending Directory Number" }, "cucm_currenthost": { "description": "Current ID Used in Call Manager", "title": "Current ID", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "device/cucm/CallManager", "type": "string", "target": "/api/device/cucm/CallManager/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "cucm_autoreg_disabled": { "title": "Auto-registration on this Cisco Unified Communications Manager", "type": "string", "choices": [ { "value": "true", "title": "Enabled" }, { "value": "false", "title": "Disabled" } ] }, "cucm_newname": { "type": "string", "description": "New Host Identifier", "title": "New Host Identifier" }, "cucm_autoreg_udt": { "description": "Required UDT for autoregistration", "title": "Call Manager Universal Device Template", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "device/cucm/UniversalDeviceTemplate", "type": "string", "target": "/api/device/cucm/UniversalDeviceTemplate/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "cucm_autoreg_startdn": { "type": "string", "description": "Starting Directory Number", "title": "Starting Directory Number" } } }, "type": "array", "description": "Call Manager Hostname", "title": "Call Manager Hostname" }, "tz_cft": { "target_attr": "name", "type": "string", "description": "Template to conifigure the details of the Date Time groups. eg: separator, format", "title": "Date/Time Group Configuration Template" }, "cucm_phone_services_remove": { "items": { "type": "string" }, "type": "array", "description": "CUCM Phone Services to remove", "title": "Remove CUCM Phone Services" }, "add_cucmgroup": { "items": { "type": "object", "properties": { "cmg_membersarray": { "items": { "type": "object", "properties": { "cmg_members": { "description": "Member", "title": "Member", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "device/cucm/CallManager", "type": "string", "target": "/api/device/cucm/CallManager/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] } } }, "type": "array", "description": "Members (In Order)", "title": "Members (In Order)" }, "cmg_Name": { "type": "string", "title": "Call Manager Group Name" } } }, "type": "array", "description": "Add Standard CUCM Group", "title": "Standard CUCM Group" }, "cucm_audiocodecprefs": { "items": { "type": "object", "properties": { "acpl_cft": { "target_attr": "name", "description": "Configuration Template to apply", "type": "string", "target": "data/ConfigurationTemplate", "title": "Configuration Template to Apply" } } }, "type": "array", "description": "Audio Codec Preference List", "title": "Audio Codec Preference List" }, "cucm_phone_services_add": { "items": { "type": "object", "properties": { "serviceCategory": { "default": "XML Service", "type": "string", "title": "Service Category" }, "enabled": { "default": false, "type": "boolean", "title": "Enabled" }, "serviceType": { "default": "Standard IP Phone Service", "type": "string", "title": "Service Type" }, "serviceName": { "type": "string", "title": "Service Name" }, "serviceUrl": { "type": "string", "title": "Service URL" }, "enterpriseSubscription": { "default": false, "type": "boolean", "title": "Enterprise Subscription" }, "serviceDescription": { "type": "string", "title": "Service Description" } } }, "type": "array", "description": "CUCM Phone Services to add", "title": "Add CUCM Phone Services" }, "add_cucvmauth": { "type": "boolean", "description": "Voice Authentication Rule Modify Option", "title": "Update Voice Mail Authentication Rules" }, "ucprep_profilename": { "type": "string", "title": "UC Prep Profile Name" }, "TimeZone": { "items": { "type": "object", "properties": { "timezone": { "target": "/api/data/ucprep_friendlytimezones/choices/?field=timezone&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "choices": [], "target_attr": "timezone", "target_model_type": "data/ucprep_friendlytimezones", "type": "string" }, "dtg_custom": { "type": "string", "description": "DTG Custom Name", "title": "DTG Custom Name" } } }, "type": "array", "description": "TimeZone add as an array from data model of friendly time zone names", "title": "Date/Time Group Add" }, "cucm_fcp_array": { "items": { "type": "object", "properties": { "policy_reportcaller": { "type": "boolean", "description": "Report Caller", "title": "Report Caller" }, "policy_callpickup": { "type": "boolean", "description": "Call Pickup", "title": "Call Pickup" }, "policy_mobility": { "type": "boolean", "description": "Mobility", "title": "Mobility" }, "policy_redial": { "type": "boolean", "description": "Redial", "title": "Redial" }, "policy_divertalert": { "type": "boolean", "description": "Divert (Alerting)", "title": "Divert (Alerting)" }, "policy_fwdall": { "type": "boolean", "description": "Forward All", "title": "Forward All" }, "policy_reportquality": { "type": "boolean", "description": "Report Quality", "title": "Report Quality" }, "policy_divertconn": { "type": "boolean", "description": "Divert (Connected)", "title": "Divert (Connected)" }, "policy_name": { "type": "string", "description": "Unique Name of Policy", "title": "Policy Name" }, "policy_conflist": { "type": "boolean", "description": "Conference List", "title": "Conference List" }, "policy_park": { "type": "boolean", "description": "Park", "title": "Park" }, "policy_ocp": { "type": "boolean", "description": "Other Call PickUp", "title": "Other Call PickUp" }, "policy_speeddial": { "type": "boolean", "description": "Speed Dial", "title": "Speed Dial" }, "policy_desc": { "type": "string", "description": "Policy Description", "title": "Policy Description" }, "policy_callback": { "type": "boolean", "description": "Call Back", "title": "Call Back" }, "policy_groupcallpu": { "type": "boolean", "description": "Group Call PickUp", "title": "Group Call PickUp" }, "policy_barge": { "type": "boolean", "title": "Barge" }, "policy_meetme": { "type": "boolean", "description": "Meet Me", "title": "Meet Me" } } }, "type": "array", "title": "Feature Control Policy" }, "add_cucwebauthcft": { "target_attr": "name", "type": "string", "description": "Web Authentication Rule CFT to update the CUC Web Authentication Rules", "title": "Web Authentication Rule CFT" }, "cucm_sipprof_array": { "items": { "type": "object", "properties": { "sip_p_trk_clidp": { "title": "Trunk Configuration: Calling Line Identification Presentation", "type": "string", "choices": [ { "value": "Default", "title": "Default" }, { "value": "Strict From URI presentation Only", "title": "Strict From URI presentation Only" }, { "value": "Strict Identity Headers presentation Only", "title": "Strict Identity Headers presentation Only" } ] }, "sip_p_trk_rel1xx": { "title": "Trunk Configuration: SIP Rel1XX Options", "type": "string", "choices": [ { "value": "Disabled", "title": "Disabled" }, { "value": "Send PRACK if 1xx Contains SDP", "title": "Send PRACK if 1xx Contains SDP" }, { "value": "Send PRACK for all 1xx Messages", "title": "Send PRACK for all 1xx Messages" } ] }, "sip_p_phtimesubdelta": { "default": "5", "type": "string", "title": "Phone Parameters: Timer Subscribe Delta (seconds)" }, "sip_p_phregdelta": { "default": "5", "type": "string", "description": "Phone Parameters: Timer Register Delta", "title": "Phone Parameters: Timer Register Delta" }, "sip_p_trk_anat": { "type": "boolean", "title": "Trunk Configuration: Enable ANAT" }, "sip_p_phsubexpires": { "default": "120", "type": "string", "title": "Phone Parameters: Timer Subscribe Expires (seconds)" }, "sip_p_phregexpires": { "default": "3600", "type": "string", "description": "Phone Parameters: Timer Register Expires (seconds)", "title": "Phone Parameters: Timer Register Expires (seconds)" }, "sip_p_trk_refreshmeth": { "title": "Trunk Configuration: Session Refresh Method", "type": "string", "choices": [ { "value": "Invite", "title": "Invite" }, { "value": "Update", "title": "Update" } ] }, "sip_p_fqdnreq": { "type": "boolean", "description": "Use Fully Qualified Domain Name in SIP Requests", "title": "Use Fully Qualified Domain Name in SIP Requests" }, "sip_p_name": { "type": "string", "title": "Name" }, "sip_p_trk_deliverid": { "type": "boolean", "title": "Trunk Configuration: Deliver Conference Bridge Identifier" }, "sip_p_desc": { "type": "string", "title": "Description" }, "sip_p_bfcp": { "type": "boolean", "title": "SDP Information: Allow Presentation Sharing using BFCP" }, "sip_p_phkaexpires": { "default": "120", "type": "string", "title": "Phone Parameters: Timer Keep Alive Expires (seconds)" }, "sip_p_ping_option": { "type": "boolean", "title": "Enable OPTIONS Ping to monitor destination status for Trunks with Service Type \"None (Default)\"" }, "sip_p_redirectByApplication": { "default": false, "type": "boolean", "description": "Redirect By Application", "title": "Redirect By Application" } } }, "type": "array", "title": "Call Manager SIP Profiles" }, "cucm_sip_normalization_scripts": { "items": { "type": "object", "properties": { "name": { "type": "string", "title": "Name" }, "maxMemoryThreshold": { "default": "50", "type": "string", "title": "Maximum Memory Threshold" }, "isStandard": { "default": false, "type": "boolean", "title": "Is Standard" }, "content": { "type": "string", "title": "Script" }, "systemResourceErrorRecoveryAction": { "default": "Disable Script", "type": "string", "title": "System Resource Error Recovery Action" }, "maxLuaInstructionsThreshold": { "default": "1000", "type": "string", "title": "Maximum Lua Instructions Threshold" }, "scriptExecutionErrorRecoveryAction": { "default": "Message Rollback Only", "type": "string", "title": "Script Execution Error Recovery Action" }, "description": { "type": "string", "title": "Description" } } }, "type": "array", "description": "CUCM SIP Normalization Scripts", "title": "CUCM SIP Normalization Scripts" }, "cucm_stsp_array": { "items": { "type": "object", "properties": { "stsp_outgoingtransport": { "title": "Outgoing Transport Type", "type": "string", "description": "Outgoing Transport Type", "choices": [ { "value": "TCP", "title": "TCP" }, { "value": "UDP", "title": "UDP" }, { "value": "TLS", "title": "TLS" } ] }, "stsp_acceptrepheader": { "type": "boolean", "description": "Accept replaces header", "title": "Accept replaces header" }, "stsp_inport": { "default": "5060", "type": "string", "description": "Incoming TCP SIP Port", "title": "Incoming SIP Port" }, "stsp_devicesecuritymode": { "title": "Device Security Mode", "type": "string", "description": "Device Security Mode", "choices": [ { "value": "Non Secure", "title": "Non Secure" }, { "value": "Authenticated", "title": "Authenticated" }, { "value": "Encrypted", "title": "Encrypted" } ] }, "stsp_description": { "type": "string", "description": "Description", "title": "Description" }, "stsp_incomingtransport": { "choices": [ { "value": "TLS", "title": "TLS" }, { "value": "TCP+UDP", "title": "TCP+UDP" } ], "required": true, "type": "string", "description": "Incoming Transport Type", "title": "Incoming Transport Type" }, "stsp_name": { "type": "string", "description": "name", "title": "Name" }, "stsp_acceptpresence": { "type": "boolean", "description": "Accept presence subscription", "title": "Accept presence subscription" }, "stsp_acceptoutofdialog": { "type": "boolean", "description": "Accept out-of-dialog refer", "title": "Accept out-of-dialog refer" }, "stsp_acceptunsolicited": { "type": "boolean", "description": "Accept unsolicited notification", "title": "Accept unsolicited notification" }, "stsp_enabledigest": { "type": "boolean", "description": "Enable Digest Authentication", "title": "Enable Digest Authentication" } } }, "type": "array", "description": "Sip Trunk Security Profile", "title": "Sip Trunk Security Profile" }, "cucm_appuserarray": { "items": { "type": "object", "properties": { "appuser_grouparray": { "items": { "type": "object", "properties": { "appuser_group": { "description": "Group", "title": "Group", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "device/cucm/UserGroup", "type": "string", "target": "/api/device/cucm/UserGroup/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] } } }, "type": "array", "description": "Group Permissions", "title": "Group Permissions" }, "appuser_pw": { "store_encrypted": false, "is_password": true, "type": "string", "description": "Password", "title": "Password" }, "appuser_userid": { "description": "User ID Dropdown driven by data/ucprep_appusers data model", "title": "User ID", "format": "uri", "choices": [], "target_attr": "username", "target_model_type": "data/ucprep_appusers", "type": "string", "target": "/api/data/ucprep_appusers/choices/?field=username&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "appuser_cntldevarray": { "items": { "type": "object", "properties": { "appuser_cntldev": { "description": "Device to add - Replace URI with gui rule for scope down", "title": "Device", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "device/cucm/Phone", "type": "string", "target": "/api/device/cucm/Phone/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] } } }, "type": "array", "description": "Controlled Devices", "title": "Controlled Devices" }, "appuser_contdparray": { "target_attr": "name", "items": { "type": "object", "properties": { "appuser_contdp": { "description": "Device Profile", "title": "Device Profile", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "device/cucm/DeviceProfile", "type": "string", "target": "/api/device/cucm/DeviceProfile/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] } } }, "type": "array", "description": "CTI Controlled Device Profiles", "title": "CTI Controlled Device Profiles" } } }, "type": "array", "description": "Add Application Users", "title": "Application Users" } }, "schema_version": "0.4" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/ucprep_UC_Profiles/add/ |
|
The GUI Add form of data/ucprep_UC_Profiles 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/ucprep_UC_Profiles | 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/ucprep_UC_Profiles/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/ucprep_UC_Profiles/[pkid1]", "/api/data/ucprep_UC_Profiles/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/ucprep_UC_Profiles/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/ucprep_UC_Profiles/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/ucprep_UC_Profiles/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/ucprep_UC_Profiles/[pkid1]", "/api/v0/data/ucprep_UC_Profiles/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/ucprep_UC_Profiles/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/ucprep_UC_Profiles; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/ucprep_UC_Profiles/export/ |
|
{ "hrefs":["/api/data/ucprep_UC_Profiles/[pkid1]", "/api/data/ucprep_UC_Profiles/[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/ucprep_UC_Profiles and the JSON format can be used to import instances of data/ucprep_UC_Profiles.
GET http://[host-proxy]/api/data/ucprep_UC_Profiles/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/ucprep_UC_Profiles | POST | /api/data/ucprep_UC_Profiles/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/ucprep_UC_Profiles/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/ucprep_UC_Profiles/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/ucprep_UC_Profiles/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/ucprep_UC_Profiles/ |
|
The data/ucprep_UC_Profiles schema and all instances as JSON. |
(The list will return 0 to 3 data/ucprep_UC_Profiles 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": "ucprep_profilename", "maximum_limit": 2000, "skip": 0, "current": "/api/data/ucprep_UC_Profiles/?skip=0&limit=3&order_by=ucprep_profilename&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 0 }, "meta": { "tags": [], "cached": true, "title": "?", "business_key": { "unique": [ "ucprep_profilename" ] }, "schema_version": "0.4", "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/ucprep_UC_Profiles/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/ucprep_UC_Profiles/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/data/ucprep_UC_Profiles/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/ucprep_UC_Profiles/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/ucprep_UC_Profiles/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/ucprep_UC_Profiles/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/ucprep_UC_Profiles/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/data/ucprep_UC_Profiles/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/ucprep_UC_Profiles/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/ucprep_UC_Profiles/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/ucprep_UC_Profiles/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/ucprep_UC_Profiles/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "transform": { "support_async": false, "class": "transform", "href": "/api/data/ucprep_UC_Profiles/transform/?hierarchy=[hierarchy]", "method": "GET", "title": "Transform Template" } } ], "model_type": "data/ucprep_UC_Profiles", "model_specific_actions": [ "add", "bulk_update_form", "clone", "configuration_template", "export", "export_bulkload_template", "field_display_policy", "get", "help", "list", "migration", "transform", "remove", "tag", "tag_version", "update" ], "summary_attrs": [ { "name": "ucprep_profilename", "title": "UC Prep Profile Name" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/ucprep_UC_Profiles. | GET | /api/data/ucprep_UC_Profiles/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/ucprep_UC_Profiles as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/ucprep_UC_Profiles/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/ucprep_UC_Profiles/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/ucprep_UC_Profiles/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/ucprep_UC_Profiles/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/ucprep_UC_Profiles; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/ucprep_UC_Profiles/[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/ucprep_UC_Profiles and the JSON format can be used to import instances of data/ucprep_UC_Profiles.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/ucprep_UC_Profiles/[pkid]/+tag | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/ucprep_UC_Profiles/[pkid] | hierarchy=[hierarchy] | The data/ucprep_UC_Profiles instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/ucprep_UC_Profiles/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/ucprep_UC_Profiles. |