[Index]
Model ref.: relation/HcsUserREL
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": { "customString3": { "type": "string", "description": "Custom String", "title": "Custom String 3" }, "sdrUser": { "items": { "type": "object", "properties": { "bkDirectoryDomain_name": { "readonly": true, "type": [ "string", "null" ], "name": "bkDirectoryDomain_name", "title": "bkDirectoryDomain_name" }, "street": { "type": [ "string", "null" ], "name": "street", "title": "street" }, "cdmUpdateTimestamp": { "readonly": true, "type": [ "string", "null" ], "name": "cdmUpdateTimestamp", "title": "cdmUpdateTimestamp" }, "id": { "type": [ "string", "null" ], "name": "id", "title": "id" }, "city": { "type": [ "string", "null" ], "name": "city", "title": "city" }, "userName": { "required": true, "type": "string", "name": "userName", "searchable": "DirectoryDomain", "title": "userName" }, "scopeOrgUnit": { "target": "/api/device/hcmf/OrgUnit/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "scopeOrgUnit", "format": "uri", "required": false, "choices": [], "target_model_type": "device/hcmf/OrgUnit", "type": [ "string", "null" ], "name": "scopeOrgUnit" }, "typeDMARoles": { "title": "typeDMARoles", "type": [ "string", "null" ], "name": "typeDMARoles", "choices": [ [ "PROVIDER_ADMIN", "PROVIDER_ADMIN" ], [ "PROVIDER_OPERATOR", "PROVIDER_OPERATOR" ], [ "RESELLER_ADMIN", "RESELLER_ADMIN" ], [ "RESELLER_OPERATOR", "RESELLER_OPERATOR" ], [ "CUSTOMER_ADMIN", "CUSTOMER_ADMIN" ], [ "CUSTOMER_OPERATOR", "CUSTOMER_OPERATOR" ], [ "PROVIDER_ADMIN_SA", "PROVIDER_ADMIN_SA" ], [ "PROVIDER_OPERATOR_SA", "PROVIDER_OPERATOR_SA" ], [ "PROVIDER_ADMIN_FF", "PROVIDER_ADMIN_FF" ], [ "PROVIDER_OPERATOR_FF", "PROVIDER_OPERATOR_FF" ], [ "RESELLER_ADMIN_SA", "RESELLER_ADMIN_SA" ], [ "RESELLER_OPERATOR_SA", "RESELLER_OPERATOR_SA" ], [ "RESELLER_ADMIN_FF", "RESELLER_ADMIN_FF" ], [ "RESELLER_OPERATOR_FF", "RESELLER_OPERATOR_FF" ], [ "CUSTOMER_ADMIN_SA", "CUSTOMER_ADMIN_SA" ], [ "CUSTOMER_OPERATOR_SA", "CUSTOMER_OPERATOR_SA" ], [ "CUSTOMER_ADMIN_FF", "CUSTOMER_ADMIN_FF" ], [ "CUSTOMER_OPERATOR_FF", "CUSTOMER_OPERATOR_FF" ] ] }, "state": { "type": [ "string", "null" ], "name": "state", "title": "state" }, "isModifiable": { "readonly": true, "type": [ "boolean", "null" ], "name": "isModifiable", "title": "isModifiable" }, "postalCode": { "type": [ "string", "null" ], "name": "postalCode", "title": "postalCode" }, "telephoneNumber": { "type": [ "string", "null" ], "name": "telephoneNumber", "title": "telephoneNumber" }, "isDeletable": { "readonly": true, "type": [ "boolean", "null" ], "name": "isDeletable", "title": "isDeletable" }, "type": { "name": "type", "title": "type", "default": "User", "required": true, "readonly": true, "type": "string" }, "identityStoreUUID": { "readonly": true, "type": [ "string", "null" ], "name": "identityStoreUUID", "searchable": "User", "title": "identityStoreUUID" }, "directoryDomain": { "target": "/api/device/hcmf/DirectoryDomain/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "directoryDomain", "format": "uri", "required": true, "choices": [], "target_model_type": "device/hcmf/DirectoryDomain", "type": "string", "name": "directoryDomain" }, "description": { "type": [ "string", "null" ], "name": "description", "title": "description" }, "emailAddress": { "type": [ "string", "null" ], "name": "emailAddress", "title": "emailAddress" }, "customerLocation": { "target": "/api/device/hcmf/CustomerLocation/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "customerLocation", "format": "uri", "required": false, "choices": [], "target_model_type": "device/hcmf/CustomerLocation", "type": [ "string", "null" ], "name": "customerLocation" }, "building": { "type": [ "string", "null" ], "name": "building", "title": "building" }, "displayName": { "type": [ "string", "null" ], "name": "displayName", "title": "displayName" }, "firstName": { "type": [ "string", "null" ], "name": "firstName", "title": "firstName" }, "lastName": { "type": [ "string", "null" ], "name": "lastName", "title": "lastName" }, "country": { "type": [ "string", "null" ], "name": "country", "title": "country" }, "syncTimestamp": { "readonly": true, "type": [ "string", "null" ], "name": "syncTimestamp", "title": "syncTimestamp" } } }, "type": "array", "maxItems": 1, "title": "Sdr User" }, "directoryUri": { "type": "string", "description": "Alphanumeric Directory URI (e.g. SIP URI)", "title": "Directory URI" }, "customString2": { "type": "string", "description": "Custom String", "title": "Custom String 2" }, "objectClass": { "is_password": false, "title": "Object Class", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "unverifiedMailBox": { "is_password": false, "title": "Unverified Mail Box", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "userType": { "is_password": false, "title": "User Type", "required": false, "displayable": true, "choices": [ { "value": "CUCM Local", "title": "CUCM Local" }, { "value": "VOSS Only", "title": "VOSS Only" }, { "value": "CUCM-LDAP Synced", "title": "CUCM-LDAP Synced" }, { "value": "VOSS-LDAP Synced", "title": "VOSS-LDAP Synced" }, { "value": "Unknown", "title": "Unknown" } ], "readonly": false, "type": "string" }, "manager": { "is_password": false, "title": "Manager", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "street": { "is_password": false, "description": "Contains site information from a postal address.", "title": "Street", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "timezone": { "is_password": false, "title": "Timezone", "required": false, "readonly": false, "maxLength": 1024, "type": "string" }, "uid": { "is_password": false, "description": "Contains computer login names for the user.", "title": "Userid", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "jabberID": { "is_password": false, "title": "Jabber ID", "required": false, "readonly": false, "maxLength": 1024, "type": "string" }, "buildingName": { "is_password": false, "description": "Building name or number.", "title": "Building", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "ps": { "type": "object", "properties": { "username": { "is_password": false, "title": "Username", "required": true, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "cucm_device_user_pkid": { "is_password": false, "title": "CUCM Device User PKID", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "sync_to_hn": { "is_password": false, "target_model_type": "data/HierarchyNode", "target": "/api/data/HierarchyNode/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "Synced To", "type": "string" }, "entitlement_profile": { "is_password": false, "target_model_type": "data/HcsEntitlementProfileDAT", "target": "/api/data/HcsEntitlementProfileDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "Entitlement Profile", "type": "string" }, "ldap_server": { "is_password": false, "target_model_type": "data/Ldap", "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "LDAP Server", "type": "string" }, "cucm_server": { "is_password": false, "target_model_type": "data/CallManager", "target": "/api/data/CallManager/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "CUCM Server", "type": "string" }, "ldap_device_user_pkid": { "is_password": false, "title": "LDAP Device User PKID", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } }, "title": "Ps" }, "employeeType": { "is_password": false, "title": "Employee Type", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "otherMailbox": { "is_password": false, "title": "Other Mailbox", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "title": { "is_password": false, "title": "Title", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "facsimileTelephoneNumber": { "is_password": false, "title": "Facsimile Telephone Number", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "customString4": { "type": "string", "description": "Custom String", "title": "Custom String 4" }, "ldap": { "type": "object", "properties": { "ldap_server": { "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "LDAP Server", "format": "uri", "required": false, "choices": [], "target_model_type": "data/Ldap", "type": "string", "description": "A reference to the LDAP server which this user must authenticate against." }, "data_username": { "target": "/api/data/User/choices/?field=username&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Data Username", "format": "uri", "required": false, "choices": [], "target_attr": "username", "target_model_type": "data/User", "type": "string", "description": "The data username that is mapped to the associated LDAP device model instance." }, "ldap_username": { "required": true, "type": "string", "description": "The login attribute of the associated LDAP device model instance", "title": "LDAP Username" } }, "title": "Ldap" }, "postalCode": { "is_password": false, "description": "Contains codes used by a Postal Service to identify postal service zones.", "title": "Postal Code", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "mail": { "is_password": false, "title": "Email Address", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "hf_view": { "type": "object", "properties": { "password": { "store_encrypted": false, "is_password": true, "type": "string", "title": "Password" } }, "title": "Hf View" }, "username": { "is_password": false, "description": "Login in username.", "title": "Username", "required": true, "readonly": false, "maxLength": 1024, "type": "string" }, "departmentNumber": { "is_password": false, "description": "Department names and numbers.", "title": "Department", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "customString1": { "type": "string", "description": "Custom String", "title": "Custom String 1" }, "customString5": { "type": "string", "description": "Custom String", "title": "Custom String 5" }, "photoURL": { "is_password": false, "title": "Photo URL", "required": false, "readonly": false, "maxLength": 1024, "type": "string" }, "rbac": { "type": "object", "properties": { "username": { "required": true, "type": "string", "description": "The username corresponding to the the Username in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "User Name" }, "first_name": { "type": "string", "description": "The first name corresponding to the user first name in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "First Name" }, "last_name": { "type": "string", "description": "The last name corresponding to user last name in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "Last Name" }, "language": { "target": "/api/data/Language/choices/?field=lcid&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "default": "en-us", "required": false, "choices": [], "target_attr": "lcid", "target_model_type": "data/Language", "title": "Language", "type": "string", "description": "The preferred language for this user." }, "account_information": { "properties": { "reason_for_disabled": { "required": false, "type": "string", "description": "A description of why the account is disabled.", "title": "Reason for Disabled" }, "locked": { "required": false, "type": "boolean", "description": "Indicates if the account has been locked to prevent the user from logging in.", "title": "Locked" }, "change_password_on_login": { "required": false, "type": "boolean", "description": "Indicates if the user must be forced to change their password the next time that login.", "title": "Change Password on Next Login" }, "security_questions": { "items": { "type": "object", "properties": { "answer": { "title": "Answer", "required": true, "type": "string", "maxLength": 128 }, "question": { "maxLength": 128, "required": true, "type": "string", "displayable": true, "title": "Question" } } }, "type": "array", "title": "Security Questions" }, "disabled": { "required": false, "type": "boolean", "description": "Indicates if the account has been disabled to prevent the user from logging in until an administrator enables the account again.", "title": "Disabled" }, "credential_policy": { "target": "/api/data/CredentialPolicy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Credential Policy", "format": "uri", "required": false, "choices": [], "target_attr": "name", "target_model_type": "data/CredentialPolicy", "type": "string", "description": "Specifies the policy with the rules used to govern this user's credentials." }, "failed_login_lock_date": { "title": "Time Locked Due to Failed Login Attempts", "required": false, "type": "string", "description": "The time when the user account was locked as result of the number of failed login attempts exceeding the permitted thresholds.", "format": "date-time" }, "password_last_change_time_by_user": { "description": "The time when the password was last changed by the user.", "title": "Time of Last Password Change By User", "format": "date-time", "required": false, "readonly": true, "type": "string" }, "password_last_change_time": { "description": "The time when the password was last changed.", "title": "Time of Last Password Change", "format": "date-time", "required": false, "readonly": true, "type": "string" }, "num_of_failed_login_attempts": { "default": "0", "required": false, "type": "integer", "description": "The total number of failed login attempts since last successful login.", "title": "Number of Failed Login Attempts Since Last Successful Login" }, "used_passwords": { "items": { "type": "object", "properties": { "password": { "type": "string", "description": "Used password", "title": "Password" }, "time_created": { "type": "string", "description": "Time when password was created.", "title": "Time Created" } } }, "type": "array", "description": "List of passwords that have been used by user.", "title": "Used Passwords" }, "last_login_time": { "description": "The time the user last logged in successfully.", "title": "Time of Last Successful Login", "format": "date-time", "required": false, "readonly": true, "type": "string" } }, "required": false, "type": "object", "description": "Additional account information for the given user.", "title": "Account Information" }, "set_language": { "default": false, "required": false, "type": "boolean", "description": "Indicate if the user's language is set by language default in the hierarchy.", "title": "Set by Default Language" }, "role": { "target": "/api/data/Role/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Role", "format": "uri", "required": true, "choices": [], "target_attr": "name", "target_model_type": "data/Role", "type": "string", "description": "The role to which the user belongs. See: Role." }, "password": { "is_password": true, "description": "The password corresponding to the user password in Cisco Unified Communications Manager. The password is hidden.", "title": "Password", "pattern": ".{8,}", "store_encrypted": true, "type": "string" }, "email": { "required": false, "type": "string", "description": "The email address corresponding to the the Username in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "Email Address" } }, "title": "Rbac" }, "employeeNumber": { "is_password": false, "title": "Employee Number", "required": false, "readonly": false, "maxLength": 1024, "type": "string" }, "physicalDeliveryOfficeName": { "is_password": false, "title": "Physical Delivery Office Name", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "customListOfStrings2": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 2" }, "customListOfStrings3": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 3" }, "customListOfStrings4": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 4" }, "customListOfStrings5": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 5" }, "homePhone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's home phone number(s).", "title": "Home Phone" }, "telephoneNumber": { "is_password": false, "title": "Telephone Number", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "c": { "is_password": false, "description": "Country name.", "title": "Country", "required": false, "readonly": false, "maxLength": 1024, "type": "string" }, "displayName": { "is_password": false, "title": "Display Name", "required": false, "readonly": false, "maxLength": 1024, "type": "string" }, "mobile": { "is_password": false, "title": "Mobile", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "memberOf": { "items": { "type": "string" }, "type": "array", "description": "The user can be a member of a variety of groups.", "title": "Member Of" }, "customListOfStrings1": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 1" }, "l": { "is_password": false, "description": "Contains the name of a person's locality.", "title": "City", "required": false, "readonly": false, "maxLength": 1024, "type": "string" }, "o": { "is_password": false, "description": "The name of the person's organization.", "title": "Organization", "required": false, "readonly": false, "maxLength": 1024, "type": "string" }, "st": { "is_password": false, "description": "Contains full names of states or provinces.", "title": "State", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "preferredLanguage": { "is_password": false, "title": "Preferred Language", "required": false, "readonly": false, "maxLength": 1024, "type": "string" }, "ssoUser": { "items": { "type": "object", "properties": { "sso_username": { "required": true, "type": "string", "description": "The name identifier that is used for an SSO authenticated user.", "title": "SSO Username" }, "data_username": { "target": "/api/data/User/choices/?field=username&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Data Username", "format": "uri", "required": false, "choices": [], "target_attr": "username", "target_model_type": "data/User", "type": "string", "description": "The data username that is mapped to the associated SSO authenticated user." }, "sso_idp": { "target": "/api/data/SsoIdentityProvider/choices/?field=entity_id&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "SSO Identity Provider", "format": "uri", "required": true, "choices": [], "target_attr": "entity_id", "target_model_type": "data/SsoIdentityProvider", "type": "string", "description": "The entity id of the SSO Identity Provider." } } }, "type": "array", "maxItems": 1, "title": "Sso User" }, "sn": { "is_password": false, "description": "Contains strings for the family names of a person.", "title": "Surname", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": true, "readonly": false, "type": "array" }, "ou": { "is_password": false, "description": "The name of the person's organization unit.", "title": "Organizational Unit", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "givenName": { "is_password": false, "description": "Contains strings that are part of the person's name excluding surnames.", "title": "Given Name", "minItems": 0, "items": { "is_password": false, "type": "string" }, "required": false, "readonly": false, "type": "array" }, "ipPhone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's IP phone number(s).", "title": "IP Phone" } }, "schema_version": "3.0.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/relation/HcsUserREL/add/ |
|
The GUI Add form of relation/HcsUserREL 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/HcsUserREL/ | 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/HcsUserREL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/HcsUserREL/[pkid1]", "/api/relation/HcsUserREL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/HcsUserREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/HcsUserREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/HcsUserREL/export/ |
|
{ "hrefs":["/api/relation/HcsUserREL/[pkid1]", "/api/relation/HcsUserREL/[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/HcsUserREL and the JSON format can be used to import instances of relation/HcsUserREL.
GET http://[host-proxy]/api/relation/HcsUserREL/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/HcsUserREL | POST | /api/relation/HcsUserREL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/relation/HcsUserREL/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/HcsUserREL/ |
|
The relation/HcsUserREL schema and all instances as JSON. |
(The list will return 0 to 3 relation/HcsUserREL instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "add", "bulk_update", "export" ], "pagination": { "direction": "asc", "order_by": "username", "maximum_limit": 2000, "skip": 0, "current": "/api/relation/HcsUserREL/?skip=0&limit=3&order_by=username&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 256 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "3.0.0", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": null, "href": "/api/relation/HcsUserREL/None/" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/relation/HcsUserREL/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsUserREL/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsUserREL/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/HcsUserREL/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/relation/HcsUserREL/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/relation/HcsUserREL/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsUserREL/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsUserREL", "model_specific_actions": [ "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "add", "export" ], "summary_attrs": [ { "name": "username", "title": "Username" }, { "name": "givenName", "title": "Given Name" }, { "name": "sn", "title": "Surname" }, { "name": "mail", "title": "Email Address" }, { "name": "userType", "title": "User Type" }, { "name": "departmentNumber", "title": "Department" }, { "name": "street", "title": "Street" }, { "name": "l", "title": "City" }, { "name": "st", "title": "State" }, { "name": "postalCode", "title": "Postal Code" }, { "name": "buildingName", "title": "Building" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "resources": [ { "pkid": "5e8a9799ce894e001675324d", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.7", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5e8a9799ce894e001675324d", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/" } ], "parent": [ { "pkid": "5e8a976dce894e00167529be", "href": "/api/data/HierarchyNode/5e8a976dce894e00167529be" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/help", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsUserREL", "path": [ "6t0ggef2c0deab00hb595101", "5e839364ce894e0015b96604", "5e8a787fce894e001671ce1b", "5e8a78bece894e001671de53", "5e8a78cdce894e001671e1fb", "5e8a976dce894e00167529be", "5e8a9799ce894e001675324d" ], "summary_attrs": [ { "name": "username", "title": "Username" }, { "name": "givenName", "title": "Given Name" }, { "name": "sn", "title": "Surname" }, { "name": "mail", "title": "Email Address" }, { "name": "userType", "title": "User Type" }, { "name": "departmentNumber", "title": "Department" }, { "name": "street", "title": "Street" }, { "name": "l", "title": "City" }, { "name": "st", "title": "State" }, { "name": "postalCode", "title": "Postal Code" }, { "name": "buildingName", "title": "Building" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "username": "2221", "pkid": "5e8a9799ce894e001675324e", "userType": "CUCM Local", "sn": [ "2221" ], "hierarchy_friendly_name": "LOCALIZE001 (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.LOCALIZE001" } }, { "pkid": "5e8a9802ce894e00167538a0", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.7", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5e8a9802ce894e00167538a0", "href": "/api/relation/HcsUserREL/5e8a9802ce894e00167538a0/" } ], "parent": [ { "pkid": "5e8a976dce894e00167529be", "href": "/api/data/HierarchyNode/5e8a976dce894e00167529be" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "href": "/api/relation/HcsUserREL/5e8a9802ce894e00167538a0/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/relation/HcsUserREL/5e8a9802ce894e00167538a0/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsUserREL/5e8a9802ce894e00167538a0/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/relation/HcsUserREL/5e8a9802ce894e00167538a0/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/relation/HcsUserREL/5e8a9802ce894e00167538a0/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "relation/HcsUserREL", "path": [ "6t0ggef2c0deab00hb595101", "5e839364ce894e0015b96604", "5e8a787fce894e001671ce1b", "5e8a78bece894e001671de53", "5e8a78cdce894e001671e1fb", "5e8a976dce894e00167529be", "5e8a9802ce894e00167538a0" ], "summary_attrs": [ { "name": "username", "title": "Username" }, { "name": "givenName", "title": "Given Name" }, { "name": "sn", "title": "Surname" }, { "name": "mail", "title": "Email Address" }, { "name": "userType", "title": "User Type" }, { "name": "departmentNumber", "title": "Department" }, { "name": "street", "title": "Street" }, { "name": "l", "title": "City" }, { "name": "st", "title": "State" }, { "name": "postalCode", "title": "Postal Code" }, { "name": "buildingName", "title": "Building" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "username": "2223", "pkid": "5e8a9802ce894e00167538a1", "userType": "CUCM Local", "sn": [ "2223" ], "hierarchy_friendly_name": "LOCALIZE001 (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.LOCALIZE001" } }, { "pkid": "5e8a99c6ce894e0016756b35", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.7", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5e8a99c6ce894e0016756b35", "href": "/api/relation/HcsUserREL/5e8a99c6ce894e0016756b35/" } ], "parent": [ { "pkid": "5e8a79e7ce894e00167220bd", "href": "/api/data/HierarchyNode/5e8a79e7ce894e00167220bd" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/relation/HcsUserREL/5e8a99c6ce894e0016756b35/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/relation/HcsUserREL/5e8a99c6ce894e0016756b35/", "class": "delete", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsUserREL/5e8a99c6ce894e0016756b35/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/relation/HcsUserREL/5e8a99c6ce894e0016756b35/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/relation/HcsUserREL/5e8a99c6ce894e0016756b35/help", "class": "help", "title": "Help" } } ], "model_type": "relation/HcsUserREL", "path": [ "6t0ggef2c0deab00hb595101", "5e839364ce894e0015b96604", "5e8a787fce894e001671ce1b", "5e8a78bece894e001671de53", "5e8a78cdce894e001671e1fb", "5e8a79e7ce894e00167220bd", "5e8a99c6ce894e0016756b35" ], "summary_attrs": [ { "name": "username", "title": "Username" }, { "name": "givenName", "title": "Given Name" }, { "name": "sn", "title": "Surname" }, { "name": "mail", "title": "Email Address" }, { "name": "userType", "title": "User Type" }, { "name": "departmentNumber", "title": "Department" }, { "name": "street", "title": "Street" }, { "name": "l", "title": "City" }, { "name": "st", "title": "State" }, { "name": "postalCode", "title": "Postal Code" }, { "name": "buildingName", "title": "Building" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "username": "_AAbattery", "pkid": "5e8a99c6ce894e0016756b36", "userType": "CUCM Local", "sn": [ "Battery" ], "hierarchy_friendly_name": "LOC001 (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.LOC001" } } ] }
(Show the first instance)
{ "pkid": "5e8a9799ce894e001675324d", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "2221", "business_key": {}, "schema_version": "3.0.0", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": "5e8a9799ce894e001675324d", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/" } ], "children": [], "parent": [ { "pkid": "5e8a976dce894e00167529be", "href": "/api/data/HierarchyNode/5e8a976dce894e00167529be" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsUserREL/5e8a9799ce894e001675324d/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsUserREL", "summary_attrs": [ { "name": "username", "title": "Username" }, { "name": "givenName", "title": "Given Name" }, { "name": "sn", "title": "Surname" }, { "name": "mail", "title": "Email Address" }, { "name": "userType", "title": "User Type" }, { "name": "departmentNumber", "title": "Department" }, { "name": "street", "title": "Street" }, { "name": "l", "title": "City" }, { "name": "st", "title": "State" }, { "name": "postalCode", "title": "Postal Code" }, { "name": "buildingName", "title": "Building" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "username": "2221", "ps": { "username": "2221", "cucm_device_user_pkid": "5e8a978ace894e0016752fcb", "cucm_server": "[\"192.168.100.15\", \"8443\", \"hcs.CS-P.CS-NB.AAAGlobal\"]", "sync_to_hn": "[\"AAAGlobal\", \"hcs.CS-P.CS-NB\"]" }, "sdrUser": [], "ssoUser": [ { "sso_username": "2221", "data_username": "2221", "sso_idp": "http://openam.visionoss.int:8080/openam" } ], "rbac": { "username": "2221", "last_name": "2221", "role": "LOCALIZE001SelfService", "set_language": true, "language": "en-us" }, "userType": "CUCM Local", "sn": [ "2221" ] } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/HcsUserREL. | GET | /api/relation/HcsUserREL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/HcsUserREL as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/HcsUserREL/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/HcsUserREL/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of relation/HcsUserREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/HcsUserREL/[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/HcsUserREL and the JSON format can be used to import instances of relation/HcsUserREL.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/HcsUserREL/[pkid]/ | hierarchy=[hierarchy] | The relation/HcsUserREL instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/HcsUserREL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/HcsUserREL. |