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