[Index]
Model ref.: relation/HcsLdapServerREL
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": { "ext": { "type": "object", "properties": { "organizationID": { "is_password": false, "description": "The organization ID assigned to the tenant in the Common Identity Store. This is not used currently and does not need to be initialized.", "title": "Organization ID", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "cucmLdapDirectoryName": { "is_password": false, "description": "The name of the LDAP Directory configured on CUCM that we want this user to be considered synced from. The LDAP Directory must be configured on CUCM already. This is an optional parameter but the following should be considered: For top down sync scenario, Users will be added to CUCM as Local Users if this parameter is not set. For bottom up sync scenario, Users will not be able to log on to CUCDM if this parameter is not set.", "title": "CUCM LDAP Directory Name", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "adSyncMode": { "is_password": false, "description": "The mode in which users will be synced from the LDAP server. Currently, only Direct sync from the LDAP server is supported.", "title": "AD Sync Mode", "required": true, "displayable": false, "choices": [ { "value": "Direct", "title": "Direct" } ], "readonly": false, "maxLength": 1024, "type": "string" }, "host": { "is_password": false, "description": "The assoicated LDAP server host.", "title": "LDAP Server", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "uniqueId": { "is_password": false, "description": "This is an auto-generated internal identifier that does not need to be explicitly initialized.", "title": "Unique ID", "default": "Auto generated", "required": false, "displayable": true, "readonly": false, "maxLength": 1024, "type": "string" }, "port": { "is_password": false, "description": "The assoicated LDAP server port.", "title": "Port", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "search_base_dn": { "is_password": false, "description": "The assoicated LDAP server Search Base Dn.", "title": "Search_Base_Dn", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } }, "title": "Ext" }, "advanced_configuration": { "properties": { "custom_pk": { "type": "string", "description": "This field allows an administrator to specify the primary key attribute that will be used to retrieve records from the ldap server.", "title": "Primary Key Attribute" } }, "type": "object", "description": "Advanced configuration settings.", "title": "Advanced Configuration" }, "search_filter": { "required": false, "type": "string", "description": "A RFC 2254 conformant string that is used to restrict the results retuned by list operations on the LDAP server.", "title": "Search Filter" }, "description": { "required": false, "type": "string", "description": "The description of the LDAP server.", "title": "Description" }, "server_type": { "choices": [ { "value": "microsoft_active_directory", "title": "Microsoft Active Directory" }, { "value": "open_ldap", "title": "Open LDAP" } ], "required": true, "type": "string", "description": "The selected LDAP server type. The type can be Open LDAP or Microsoft Active Directory.", "title": "Server Type" }, "user_dn": { "required": true, "type": "string", "description": "The User Distinguished Name (DN) on the LDAP server.", "title": "User DN" }, "ldapsynclist": { "type": "object", "properties": { "note": { "type": "string", "description": "Note about certain fields that will always get synced.", "title": "Note" }, "ldap_sync_list_template_flag": { "type": "boolean", "description": "Flag to see if we need to show the LDAP Sync List Template field", "title": "LDAP Sync List Template Flag" }, "ldap_sync_list_template": { "type": "string", "description": "LDAP Sync List Template. A template contains a predefined list of fields that is normally used when syncing in LDAP servers.", "title": "LDAP Sync List Template" }, "ldap_sync_list_option": { "default": "none", "choices": [ { "value": "none", "title": "No sync list - all fields will be synced" }, { "value": "manual", "title": "Create sync list manually" }, { "value": "template", "title": "Create sync list from template" } ], "type": "string", "description": "LDAP Sync List Option. Please Note: LDAP server sync will allways sync in the following attributes, regardless of whether they are explicitly set in the sync list or not. (sAMAccountName, userPrincipalName, mail, cn, uid, description)", "title": "LDAP Sync List Option" } }, "title": "Ldapsynclist" }, "authentication": { "properties": { "scope": { "default": "Down", "choices": [ { "value": "Local", "title": "Current hierarchy level only" }, { "value": "Down", "title": "Current hierarchy level and below" } ], "type": "string", "description": "Hierarchical scope this server applies to", "title": "Authentication Scope" }, "auth_enabled": { "default": true, "type": "boolean", "description": "Authentication Enabled", "title": "Authentication Enabled" }, "user_type": { "default": "Synced_only", "choices": [ { "value": "Synced_only", "title": "LDAP synced users only" }, { "value": "All", "title": "All users" } ], "type": "string", "description": "Type of users that can authenticate against this server.", "title": "User Sync Type" } }, "type": "object", "description": "Authentication settings.", "title": "Authentication settings" }, "auth_attribute": { "required": false, "type": "object", "properties": { "model_type": { "choices": [ { "value": "device/ldap/inetOrgPerson", "title": "device/ldap/inetOrgPerson" }, { "value": "device/ldap/person", "title": "device/ldap/person" }, { "value": "device/ldap/user", "title": "device/ldap/user" } ], "required": false, "type": "string", "description": "The model type to be used for authentication. The defualt choices are device/ldap/inetOrgPerson, device/ldap/person, and device/ldap/user. If the default choices do not fit the deployment scenario, custom values are allowed for this field.", "title": "Model Type" }, "name": { "choices": [ { "value": "", "title": "" } ], "required": false, "type": "string", "description": "The selected attribute of the LDAP user login. When Server Type is Microsoft Active Directory, the following default choices are populated employeeNumber, mail, sAMAccountName, telephoneNumber, userPrincipalName. When Server Type is Open LDAP, the following choices are populated employeeNumber, mail, telephoneNumber, uid. If the default choices do not fit the deployment, custom values are allowed for this field.", "title": "Login Attribute Name" } }, "title": "Authentication Attribute" }, "host": { "required": true, "type": "string", "description": "The host name of the LDAP server.", "title": "Host Name" }, "data_sync_list": { "items": { "type": "object", "properties": { "model_type": { "target": "/api/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Model Type", "format": "uri", "choices": [], "type": "string", "description": "Model type whose attributes should be included (eg device/ldap/user)" }, "attributes": { "items": { "type": "object", "properties": { "name": { "type": "string", "title": "Name" } } }, "type": "array", "description": "Attributes to be included for model type.", "title": "Attributes" } } }, "type": "array", "description": "LDAP attributes to be included during data sync.", "title": "Data Sync List" }, "connection_security": { "type": "object", "properties": { "encryption_method": { "default": "no_encryption", "choices": [ { "value": "no_encryption", "title": "No Encryption" }, { "value": "ssl", "title": "Use SSL Encryption (ldaps://)" }, { "value": "start_tls", "title": "Use StartTLS Extension" } ], "type": "string", "description": "The encryption mechanism to be used. This can be No Encryption, Use SSL Encryption (ldaps://), or Use StartTLS Extension", "title": "Encryption Method" }, "certificate_validation": { "properties": { "server_root_certificate": { "description": "When trust_all is False, the LDAP server's SSL certificate will be validated against this root certificate. If this certificate is not specified, validation will done against any existing trusted CA certificates. Use this option for custom root certificates in (.pem format)", "title": "Server Root Certificate", "format": "uri", "choices": [], "target_model_type": "data/File", "type": "string", "target": "/api/data/File/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "trust_all": { "type": "boolean", "description": "When enabled, the system will not check if the server's certificate is trusted.", "title": "Trust All" } }, "type": "object", "description": "Specifies behavior for certificate validation eg. Trust all certificates (no validation).", "title": "Certificate Validation" } }, "title": "Connection Security" }, "password": { "is_password": true, "description": "The administrator Password associated with the Username to connect to the LDAP server.", "title": "Admin Password", "required": true, "store_encrypted": true, "type": "string" }, "port": { "default": "389", "type": "string", "description": "The port number for LDAP traffic. The ports a fully configurable.", "title": "Port" }, "search_base_dn": { "required": true, "type": "string", "description": "The base Distinguished Name for LDAP search.", "title": "Search Base DN" } }, "schema_version": "2.3" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/relation/HcsLdapServerREL/add/ |
|
The GUI Add form of relation/HcsLdapServerREL 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/relation/HcsLdapServerREL/ | 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/relation/HcsLdapServerREL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/HcsLdapServerREL/[pkid1]", "/api/relation/HcsLdapServerREL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/HcsLdapServerREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/HcsLdapServerREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/HcsLdapServerREL/export/ |
|
{ "hrefs":["/api/relation/HcsLdapServerREL/[pkid1]", "/api/relation/HcsLdapServerREL/[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 relation/HcsLdapServerREL and the JSON format can be used to import instances of relation/HcsLdapServerREL.
GET http://[host-proxy]/api/relation/HcsLdapServerREL/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/HcsLdapServerREL | POST | /api/relation/HcsLdapServerREL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/HcsLdapServerREL/ |
|
The relation/HcsLdapServerREL schema and all instances as JSON. |
(The list will return 0 to 3 relation/HcsLdapServerREL instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "add", "bulk_update", "export" ], "pagination": { "direction": "asc", "order_by": "description", "maximum_limit": 2000, "skip": 0, "current": "/api/relation/HcsLdapServerREL/?skip=0&limit=3&order_by=description&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 3 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "2.3", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": null, "href": "/api/relation/HcsLdapServerREL/None/" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/relation/HcsLdapServerREL/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsLdapServerREL/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsLdapServerREL/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/relation/HcsLdapServerREL/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/relation/HcsLdapServerREL/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsLdapServerREL/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsLdapServerREL", "model_specific_actions": [ "help", "get", "export_bulkload_template", "list", "update", "remove", "add", "export" ], "summary_attrs": [ { "name": "description", "title": "Description" }, { "name": "host", "title": "Host Name" }, { "name": "port", "title": "Port" }, { "name": "search_base_dn", "title": "Search Base DN" }, { "name": "server_type", "title": "Server Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "resources": [ { "pkid": "5fffa784ce894e00155743f9", "meta": { "tags": [], "cached": true, "title": "10.120.2.221 - 636 - OU=VOSSSOL9557,DC=vossqa,DC=net", "business_key": { "hierarchy": true, "unique": [ "host", "port", "search_base_dn" ] }, "schema_version": "0.2.7", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5fffa784ce894e00155743f9", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/" } ], "parent": [ { "pkid": "5fff5657ce894e001550592f", "href": "/api/data/HierarchyNode/5fff5657ce894e001550592f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/help", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsLdapServerREL", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff5657ce894e001550592f", "5fffa784ce894e00155743f9" ], "summary_attrs": [ { "name": "description", "title": "Description" }, { "name": "host", "title": "Host Name" }, { "name": "port", "title": "Port" }, { "name": "search_base_dn", "title": "Search Base DN" }, { "name": "server_type", "title": "Server Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "description": "AAAGlobal", "server_type": "microsoft_active_directory", "pkid": "5fffa784ce894e00155743fa", "user_dn": "CN=administrator,CN=Users,DC=vossqa,DC=net", "search_base_dn": "OU=VOSSSOL9557,DC=vossqa,DC=net", "connection_security": { "encryption_method": "ssl", "certificate_validation": { "trust_all": true } }, "port": "636", "host": "10.120.2.221", "hierarchy_friendly_name": "AAAGlobal (Customer)", "password": "==$cDTYC5e6n5jg9jjf$O1xfy6Y7Ims=$==", "auth_attribute": { "model_type": "device/ldap/user", "name": "sAMAccountName" }, "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "5fffdcecce894e00155c3fe8", "meta": { "tags": [], "cached": true, "title": "10.120.2.221 - 389 - OU=RAS,OU=AAAGlobal,DC=vossqa,DC=net", "business_key": { "hierarchy": true, "unique": [ "host", "port", "search_base_dn" ] }, "schema_version": "0.2.7", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5fffdcecce894e00155c3fe8", "href": "/api/relation/HcsLdapServerREL/5fffdcecce894e00155c3fe8/" } ], "parent": [ { "pkid": "5fff5657ce894e001550592f", "href": "/api/data/HierarchyNode/5fff5657ce894e001550592f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/relation/HcsLdapServerREL/5fffdcecce894e00155c3fe8/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/relation/HcsLdapServerREL/5fffdcecce894e00155c3fe8/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsLdapServerREL/5fffdcecce894e00155c3fe8/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/relation/HcsLdapServerREL/5fffdcecce894e00155c3fe8/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/relation/HcsLdapServerREL/5fffdcecce894e00155c3fe8/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "relation/HcsLdapServerREL", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff5657ce894e001550592f", "5fffdcecce894e00155c3fe8" ], "summary_attrs": [ { "name": "description", "title": "Description" }, { "name": "host", "title": "Host Name" }, { "name": "port", "title": "Port" }, { "name": "search_base_dn", "title": "Search Base DN" }, { "name": "server_type", "title": "Server Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "description": "RAS-LDAP", "server_type": "microsoft_active_directory", "pkid": "5fffdcecce894e00155c3fe9", "user_dn": "CN=administrator,CN=Users,DC=vossqa,DC=net", "auth_attribute": { "model_type": "device/ldap/user", "name": "sAMAccountName" }, "connection_security": { "encryption_method": "no_encryption" }, "search_base_dn": "OU=RAS,OU=AAAGlobal,DC=vossqa,DC=net", "host": "10.120.2.221", "hierarchy_friendly_name": "AAAGlobal (Customer)", "password": "==$WLuTuul1k2v2tzI5$erLHZ/8sR3k=$==", "port": "389", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "5fffd990ce894e00155bb46e", "meta": { "tags": [], "cached": true, "title": "10.120.2.221 - 389 - OU=RAV,OU=AAAGlobal,DC=vossqa,DC=net", "business_key": { "hierarchy": true, "unique": [ "host", "port", "search_base_dn" ] }, "schema_version": "0.2.7", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5fffd990ce894e00155bb46e", "href": "/api/relation/HcsLdapServerREL/5fffd990ce894e00155bb46e/" } ], "parent": [ { "pkid": "5fff5657ce894e001550592f", "href": "/api/data/HierarchyNode/5fff5657ce894e001550592f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/relation/HcsLdapServerREL/5fffd990ce894e00155bb46e/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/relation/HcsLdapServerREL/5fffd990ce894e00155bb46e/", "class": "delete", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/relation/HcsLdapServerREL/5fffd990ce894e00155bb46e/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/relation/HcsLdapServerREL/5fffd990ce894e00155bb46e/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/relation/HcsLdapServerREL/5fffd990ce894e00155bb46e/help", "class": "help", "title": "Help" } } ], "model_type": "relation/HcsLdapServerREL", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff5657ce894e001550592f", "5fffd990ce894e00155bb46e" ], "summary_attrs": [ { "name": "description", "title": "Description" }, { "name": "host", "title": "Host Name" }, { "name": "port", "title": "Port" }, { "name": "search_base_dn", "title": "Search Base DN" }, { "name": "server_type", "title": "Server Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "description": "RAV-LDAP", "server_type": "microsoft_active_directory", "pkid": "5fffd990ce894e00155bb46f", "user_dn": "CN=administrator,CN=Users,DC=vossqa,DC=net", "auth_attribute": { "model_type": "device/ldap/user", "name": "sAMAccountName" }, "connection_security": { "encryption_method": "no_encryption" }, "search_base_dn": "OU=RAV,OU=AAAGlobal,DC=vossqa,DC=net", "host": "10.120.2.221", "hierarchy_friendly_name": "AAAGlobal (Customer)", "password": "==$Rn1dHbRDznJvHfFm$ZTGDVYtTlDs=$==", "port": "389", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } } ] }
(Show the first instance)
{ "pkid": "5fffa784ce894e00155743f9", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "AAAGlobal", "business_key": {}, "schema_version": "2.3", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": "5fffa784ce894e00155743f9", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/" } ], "children": [], "parent": [ { "pkid": "5fff5657ce894e001550592f", "href": "/api/data/HierarchyNode/5fff5657ce894e001550592f" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsLdapServerREL/5fffa784ce894e00155743f9/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsLdapServerREL", "summary_attrs": [ { "name": "description", "title": "Description" }, { "name": "host", "title": "Host Name" }, { "name": "port", "title": "Port" }, { "name": "search_base_dn", "title": "Search Base DN" }, { "name": "server_type", "title": "Server Type" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "description": "AAAGlobal", "server_type": "microsoft_active_directory", "user_dn": "CN=administrator,CN=Users,DC=vossqa,DC=net", "ext": { "cucmLdapDirectoryName": "", "adSyncMode": "Direct", "host": "10.120.2.221", "uniqueId": "1", "port": "636", "search_base_dn": "OU=VOSSSOL9557,DC=vossqa,DC=net" }, "port": "636", "host": "10.120.2.221", "connection_security": { "encryption_method": "ssl", "certificate_validation": { "trust_all": true } }, "password": "==$cDTYC5e6n5jg9jjf$O1xfy6Y7Ims=$==", "auth_attribute": { "model_type": "device/ldap/user", "name": "sAMAccountName" }, "search_base_dn": "OU=VOSSSOL9557,DC=vossqa,DC=net" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/HcsLdapServerREL. | GET | /api/relation/HcsLdapServerREL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/HcsLdapServerREL as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/HcsLdapServerREL/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/HcsLdapServerREL/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of relation/HcsLdapServerREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/HcsLdapServerREL/[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 relation/HcsLdapServerREL and the JSON format can be used to import instances of relation/HcsLdapServerREL.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/HcsLdapServerREL/[pkid]/ | hierarchy=[hierarchy] | The relation/HcsLdapServerREL instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/HcsLdapServerREL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/HcsLdapServerREL. |