[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": { "username": { "title": "Username", "description": "Login in username.", "type": "string", "maxLength": 1024, "required": true, "readonly": false, "is_password": false }, "buildingName": { "title": "Building", "description": "Building name or number.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "userType": { "title": "User Type", "type": "string", "required": false, "readonly": false, "is_password": 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" } ] }, "c": { "title": "Country", "description": "Country name.", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "departmentNumber": { "title": "Department", "description": "Department names and numbers.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "directoryUri": { "title": "Directory URI", "description": "Alphanumeric Directory URI (e.g. SIP URI)", "type": "string" }, "displayName": { "title": "Display Name", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "employeeNumber": { "title": "Employee Number", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "employeeType": { "title": "Employee Type", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "facsimileTelephoneNumber": { "title": "Facsimile Telephone Number", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "givenName": { "title": "Given Name", "description": "Contains strings that are part of the person's name excluding surnames.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "homePhone": { "title": "Home Phone", "description": "Contains strings that represent the user's home phone number(s).", "type": "array", "items": { "type": "string" } }, "ipPhone": { "title": "IP Phone", "description": "Contains strings that represent the user's IP phone number(s).", "type": "array", "items": { "type": "string" } }, "jabberID": { "title": "Jabber ID", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "l": { "title": "City", "description": "Contains the name of a person's locality.", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "mail": { "title": "Email Address", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "manager": { "title": "Manager", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "memberOf": { "title": "Member Of", "description": "The user can be a member of a variety of groups.", "type": "array", "items": { "type": "string" } }, "mobile": { "title": "Mobile", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "o": { "title": "Organization", "description": "The name of the person's organization.", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "objectClass": { "title": "Object Class", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "otherMailbox": { "title": "Other Mailbox", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "ou": { "title": "Organizational Unit", "description": "The name of the person's organization unit.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "photoURL": { "title": "Photo URL", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "physicalDeliveryOfficeName": { "title": "Physical Delivery Office Name", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "postalCode": { "title": "Postal Code", "description": "Contains codes used by a Postal Service to identify postal service zones.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "preferredLanguage": { "title": "Preferred Language", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "sn": { "title": "Surname", "description": "Contains strings for the family names of a person.", "type": "array", "minItems": 0, "required": true, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "st": { "title": "State", "description": "Contains full names of states or provinces.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "street": { "title": "Street", "description": "Contains site information from a postal address.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "telephoneNumber": { "title": "Telephone Number", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "timezone": { "title": "Timezone", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "title": { "title": "Title", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "uid": { "title": "Userid", "description": "Contains computer login names for the user.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "unverifiedMailBox": { "title": "Unverified Mail Box", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "customString1": { "title": "Custom String 1", "description": "Custom String", "type": "string" }, "customString2": { "title": "Custom String 2", "description": "Custom String", "type": "string" }, "customString3": { "title": "Custom String 3", "description": "Custom String", "type": "string" }, "customString4": { "title": "Custom String 4", "description": "Custom String", "type": "string" }, "customString5": { "title": "Custom String 5", "description": "Custom String", "type": "string" }, "customListOfStrings1": { "title": "Custom List of Strings 1", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } }, "customListOfStrings2": { "title": "Custom List of Strings 2", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } }, "customListOfStrings3": { "title": "Custom List of Strings 3", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } }, "customListOfStrings4": { "title": "Custom List of Strings 4", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } }, "customListOfStrings5": { "title": "Custom List of Strings 5", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } }, "rbac": { "title": "Rbac", "type": "object", "properties": { "username": { "required": true, "type": "string", "description": "User's Username.", "title": "User Name" }, "email": { "required": false, "type": "string", "description": "The User email address.", "title": "Email Address" }, "first_name": { "type": "string", "description": "The User first name.", "title": "First Name" }, "last_name": { "type": "string", "description": "The User last name.", "title": "Last Name" }, "password": { "is_password": true, "description": "The User password.", "title": "Password", "pattern": ".{8,}", "type": "string", "store_encrypted": true }, "role": { "description": "The role to which the user belongs. See: Role.", "format": "uri", "required": true, "target_attr": "name", "target": "/api/data/Role/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Role", "type": "string", "target_model_type": "data/Role", "choices": [] }, "language": { "description": "The preferred language for this user.", "format": "uri", "default": "en-us", "required": false, "target_attr": "lcid", "target": "/api/data/Language/choices/?field=lcid&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Language", "type": "string", "target_model_type": "data/Language", "choices": [] }, "set_language": { "description": "Indicate if the user's language is set by language default in the hierarchy.", "title": "Set by Default Language", "default": false, "required": false, "type": "boolean" }, "account_information": { "description": "Additional account information for the given user.", "title": "Account Information", "required": false, "type": "object", "properties": { "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" }, "locked": { "required": false, "type": "boolean", "description": "Indicates if the account has been locked to prevent the user from logging in.", "title": "Locked" }, "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" }, "reason_for_disabled": { "required": false, "type": "string", "description": "A description of why the account is disabled.", "title": "Reason for Disabled" }, "credential_policy": { "description": "Specifies the policy with the rules used to govern this user's credentials.", "format": "uri", "required": false, "target_attr": "name", "target": "/api/data/CredentialPolicy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Credential Policy", "type": "string", "target_model_type": "data/CredentialPolicy", "choices": [] }, "failed_login_lock_date": { "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", "required": false, "title": "Time Locked Due to Failed Login Attempts", "type": "string" }, "password_last_change_time": { "description": "The time when the password was last changed.", "format": "date-time", "required": false, "readonly": true, "title": "Time of Last Password Change", "type": "string" }, "password_last_change_time_by_user": { "description": "The time when the password was last changed by the user.", "format": "date-time", "required": false, "readonly": true, "title": "Time of Last Password Change By User", "type": "string" }, "last_login_time": { "description": "The time the user last logged in successfully.", "format": "date-time", "required": false, "readonly": true, "title": "Time of Last Successful Login", "type": "string" }, "num_of_failed_login_attempts": { "description": "The total number of failed login attempts since last successful login.", "title": "Number of Failed Login Attempts Since Last Successful Login", "default": "0", "required": false, "type": "integer" }, "security_questions": { "items": { "type": "object", "properties": { "question": { "title": "Question", "required": true, "displayable": true, "maxLength": 128, "type": "string" }, "answer": { "maxLength": 128, "required": true, "type": "string", "title": "Answer" } } }, "type": "array", "title": "Security Questions" }, "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" } } }, "entitlement_profile": { "is_password": false, "format": "uri", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "title": "Entitlement Profile", "type": "string", "target": "/api/data/HcsEntitlementProfileDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HcsEntitlementProfileDAT", "choices": [] }, "sync_source": { "target": "/api/data/UserSyncSource/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "default": "LOCAL", "title": "Sync Source", "target_attr": "name", "type": "string", "description": "Sync source of the user. Identifies where the user was synced from. This value will determine the master of the data. The data in the User model will be derived from the fields of the master application (E.G. CUCM, CUC, MS-LDAP).", "target_model_type": "data/UserSyncSource", "choices": [] }, "sync_type": { "default": "LOCAL", "type": "string", "description": "Sync type of the user. Identifies the user type that was synced from device as indicated by Sync Source information, e.g. CUCM-Local, CUCM-LDAP, LOCAL.", "title": "Sync Type" }, "building_name": { "type": "string", "description": "Building name or number.", "title": "Building Name" }, "country": { "type": "string", "description": "Country name.", "title": "Country" }, "department": { "type": "string", "description": "Department names and numbers.", "title": "Department" }, "directory_uri": { "type": "string", "description": "Alphanumeric Directory URI (e.g. SIP URI)", "title": "Directory URI" }, "display_name": { "type": "string", "description": "Display name of the user", "title": "Display Name" }, "employee_number": { "type": "string", "description": "Employee number of the user", "title": "Employee Number" }, "employee_type": { "type": "string", "description": "Employee type", "title": "Employee Type" }, "facsimile_telephone_number": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's facsimile telephone Number(s).", "title": "Facsimile Telephone Number" }, "home_phone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's home phone number(s).", "title": "Home Phone" }, "ip_phone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's IP phone number(s).", "title": "IP Phone" }, "jabber_id": { "type": "string", "description": "Jabber ID", "title": "Jabber ID" }, "city": { "type": "string", "description": "Contains the name of a person's locality.", "title": "City" }, "manager": { "type": "string", "description": "Manager.", "title": "Manager" }, "member_of": { "items": { "type": "string" }, "type": "array", "description": "The user can be a member of a variety of groups.", "title": "Member Of" }, "mobile": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's IP mobile number(s).", "title": "Mobile" }, "organization": { "type": "string", "description": "The name of the person's organization.", "title": "Organization" }, "object_class": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "title": "Object Class" }, "other_mailbox": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "title": "Other Mailbox" }, "ou": { "description": "The name of the person's organization unit.", "title": "Organizational Unit", "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array" }, "photo_url": { "type": "string", "description": "Photo URL.", "title": "Photo URL" }, "physical_delivery_office_name": { "type": "string", "description": "Physical Delivery Office Name.", "title": "Physical Delivery Office Name" }, "postal_code": { "type": "string", "description": "Contains code used by a Postal Service to identify postal service zones.", "title": "Postal Code" }, "preferred_language": { "type": "string", "description": "Preferred Language.", "title": "Preferred Language" }, "state": { "type": "string", "description": "Contains full names of state or province.", "title": "State" }, "street": { "type": "string", "description": "Contains site information from a postal address.", "title": "Street" }, "telephone_number": { "items": { "type": "string" }, "type": "array", "description": "Telephone Number.", "title": "Telephone Number" }, "timezone": { "type": "string", "description": "Timezone.", "title": "Timezone" }, "title": { "type": "string", "description": "Title.", "title": "Title" }, "unverified_mailbox": { "type": "string", "description": "Unverified Mail Box.", "title": "Unverified Mail Box" }, "customString1": { "type": "string", "description": "Custom String", "title": "Custom String 1" }, "customString2": { "type": "string", "description": "Custom String", "title": "Custom String 2" }, "customString3": { "type": "string", "description": "Custom String", "title": "Custom String 3" }, "customString4": { "type": "string", "description": "Custom String", "title": "Custom String 4" }, "customString5": { "type": "string", "description": "Custom String", "title": "Custom String 5" }, "customString6": { "type": "string", "description": "Custom String", "title": "Custom String 6" }, "customString7": { "type": "string", "description": "Custom String", "title": "Custom String 7" }, "customString8": { "type": "string", "description": "Custom String", "title": "Custom String 8" }, "customString9": { "type": "string", "description": "Custom String", "title": "Custom String 9" }, "customString10": { "type": "string", "description": "Custom String", "title": "Custom String 10" }, "customListOfStrings1": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 1" }, "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" }, "customListOfStrings6": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 6" }, "customListOfStrings7": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 7" }, "customListOfStrings8": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 8" }, "customListOfStrings9": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 9" }, "customListOfStrings10": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 10" }, "customBoolean1": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 1" }, "customBoolean2": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 2" }, "customBoolean3": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 3" }, "customBoolean4": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 4" }, "customBoolean5": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 5" }, "customBoolean6": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 6" }, "customBoolean7": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 7" }, "customBoolean8": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 8" }, "customBoolean9": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 9" }, "customBoolean10": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 10" }, "auth_method": { "description": "The type of authentication that our user would be using. Typically this would be choices between a Standard VOSS 4 UC user, an LDAP user or an SSO user.", "title": "Auth Method", "default": "Local", "choices": [ { "value": "Local", "title": "Local" }, { "value": "Automatic", "title": "Automatic" }, { "value": "LDAP", "title": "LDAP" }, { "value": "SSO", "title": "SSO" } ], "type": "string" }, "ldap_server": { "description": "A reference to the LDAP server which this user must authenticate against.", "format": "uri", "required": false, "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "LDAP Server", "type": "string", "target_model_type": "data/Ldap", "choices": [] }, "ldap_username": { "type": "string", "description": "The login attribute of the associated LDAP device model instance", "title": "LDAP Username" }, "sso_idp": { "description": "The entity id of the SSO Identity Provider.", "format": "uri", "required": false, "target_attr": "entity_id", "target": "/api/data/SsoIdentityProvider/choices/?field=entity_id&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "SSO Identity Provider", "type": "string", "target_model_type": "data/SsoIdentityProvider", "choices": [] }, "sso_username": { "required": false, "type": "string", "description": "The name identifier that is used for an SSO authenticated user.", "title": "SSO Username" }, "user_type": { "description": "Indicate the user's login type.", "title": "User Type", "default": "Admin", "required": false, "choices": [ { "value": "Admin", "title": "Admin" }, { "value": "End User", "title": "End User" }, { "value": "End User + Admin", "title": "End User + Admin" } ], "type": "string" }, "exclude_from_directory": { "type": "boolean", "description": "Exclude from Directory flag to control the Phone Services directory lookup. If set to true the User's phone number will not appear in the directory lookup.", "title": "Exclude from Directory" }, "mvs_hybrid_status": { "required": false, "type": "string", "title": "Hybrid Status" }, "mvs_primary_line": { "type": "string", "title": "Primary Line" }, "mvs_primary_line_cos": { "type": "string", "title": "Primary Class of Service" }, "mvs_extensions": { "description": "Extensions to select primary details from.", "title": "Extensions", "items": { "type": "object", "properties": { "line": { "type": "string", "title": "Line" }, "line_e164": { "type": "string", "title": "Line E164" }, "line_cos": { "type": "string", "title": "Class of Service" } } }, "required": false, "type": "array" }, "username_avaya_system_manager": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Avaya System Manager.", "title": "Avaya System Manager User Name" }, "username_broadworks": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Broadworks.", "title": "Broadworks User Name" }, "username_cuc": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco Unity Connection.", "title": "Cisco Unity Connection User Name" }, "username_cucm": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco Unified Communication Manager.", "title": "Cisco Unified Communication Manager User Name" }, "username_hcmf": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco HCMF.", "title": "HCMF User Name" }, "username_ldap": { "required": false, "type": "string", "description": "The username corresponding to the the Username in the LDAP Directory.", "title": "LDAP Directory User Name" }, "username_microsoft": { "required": false, "type": "string", "description": "The username corresponding to the the Microsoft Username.", "title": "Microsoft User Name" }, "username_ms_365": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Microsoft Office 365.", "title": "Microsoft Office 365 User Name" }, "username_ms_ldap": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Microsoft LDAP.", "title": "Microsoft LDAP User Name" }, "username_ms_teams": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Microsoft Teams.", "title": "Microsoft Teams User Name" }, "username_open_ldap": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Opoen LDAP.", "title": "Open LDAP User Name" }, "username_uccx": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco Unified Contact Centre Express.", "title": "Cisco Unified Contact Centre Express User Name" }, "username_webex_teams": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Webex App.", "title": "Webex App User Name" }, "username_zoom": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Zoom.", "title": "Zoom User Name" }, "authorized_admin_hierarchy": { "description": "A reference an Authorized Admin Hierarchy instance that defines this user's administrative capabilities. This enables administrative capabilities for end users.", "format": "uri", "required": false, "target_attr": "name", "target": "/api/data/AuthorizedAdminHierarchy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Authorized Admin Hierarchy", "type": "string", "target_model_type": "data/AuthorizedAdminHierarchy", "choices": [] }, "license_audit_details": { "description": "License Audit Information.", "title": "License Audit Details", "required": false, "type": "object", "properties": { "last_checked": { "description": "The last time the License Audit Details were updated.", "format": "date-time", "required": false, "readonly": true, "title": "Last Checked", "type": "string" }, "status": { "description": "The License Audit status of the user.", "title": "License Audit Status", "default": "Unknown", "required": false, "choices": [ { "value": "Licensed", "title": "Licensed" }, { "value": "Unlicensed", "title": "Unlicensed" }, { "value": "Unknown", "title": "Unknown" } ], "readonly": true, "type": "string" } } } } }, "hf_view": { "title": "Hf View", "type": "object", "properties": { "password": { "title": "Password", "type": "string", "is_password": true, "store_encrypted": false } } }, "ps": { "title": "Ps", "type": "object", "properties": { "username": { "title": "Username", "type": "string", "maxLength": 1024, "required": true, "readonly": false, "is_password": false, "displayable": false }, "ldap_server": { "title": "LDAP Server", "type": "string", "maxLength": 1024, "format": "uri", "required": false, "readonly": false, "is_password": false, "displayable": false, "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/Ldap", "choices": [] }, "ldap_device_user_pkid": { "title": "LDAP Device User PKID", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false, "displayable": false }, "cucm_server": { "title": "CUCM Server", "type": "string", "maxLength": 1024, "format": "uri", "required": false, "readonly": false, "is_password": false, "displayable": false, "target": "/api/data/CallManager/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/CallManager", "choices": [] }, "cucm_device_user_pkid": { "title": "CUCM Device User PKID", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false, "displayable": false }, "sync_to_hn": { "title": "Synced To", "type": "string", "maxLength": 1024, "format": "uri", "required": false, "readonly": false, "is_password": false, "displayable": false, "target": "/api/data/HierarchyNode/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HierarchyNode", "choices": [] }, "entitlement_profile": { "title": "Entitlement Profile", "type": "string", "maxLength": 1024, "format": "uri", "required": false, "readonly": false, "is_password": false, "displayable": false, "target": "/api/data/HcsEntitlementProfileDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HcsEntitlementProfileDAT", "choices": [] } } }, "ldap": { "title": "Ldap", "type": "object", "properties": { "ldap_username": { "required": true, "type": "string", "description": "The login attribute of the associated LDAP device model instance", "title": "LDAP Username" }, "data_username": { "target": "/api/data/User/choices/?field=username&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "The data username that is mapped to the associated LDAP device model instance.", "required": false, "target_attr": "username", "title": "Data Username", "type": "string", "target_model_type": "data/User", "choices": [] }, "ldap_server": { "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "A reference to the LDAP server which this user must authenticate against.", "required": false, "title": "LDAP Server", "type": "string", "target_model_type": "data/Ldap", "choices": [] } } }, "ssoUser": { "title": "Sso User", "type": "array", "items": { "type": "object", "properties": { "sso_idp": { "target": "/api/data/SsoIdentityProvider/choices/?field=entity_id&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "The entity id of the SSO Identity Provider.", "required": true, "target_attr": "entity_id", "title": "SSO Identity Provider", "type": "string", "target_model_type": "data/SsoIdentityProvider", "choices": [] }, "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], "format": "uri", "description": "The data username that is mapped to the associated SSO authenticated user.", "required": false, "target_attr": "username", "title": "Data Username", "type": "string", "target_model_type": "data/User", "choices": [] } } }, "maxItems": 1 }, "sdrUser": { "title": "Sdr User", "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false, "displayable": false }, "userName": { "title": "User Name", "type": "string", "maxLength": 128, "required": true, "readonly": false, "is_password": false, "displayable": false }, "identityStoreUUID": { "title": "Identity Store UUID", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "description": { "title": "Description", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "lastName": { "title": "Last Name", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "firstName": { "title": "First Name", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "displayName": { "title": "Display Name", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "emailAddress": { "title": "Email Address", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "telephoneNumber": { "title": "Telephone Number", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "building": { "title": "Building", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "street": { "title": "Street", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "city": { "title": "City", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "state": { "title": "State", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "postalCode": { "title": "Postal Code", "type": "string", "maxLength": 32, "required": false, "readonly": false, "is_password": false, "displayable": false }, "country": { "title": "Country", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "cCDMIdentity": { "title": "CCDM Identity", "type": "string", "maxLength": 128, "required": false, "readonly": false, "is_password": false, "displayable": false }, "typeDMARoles": { "title": "Type DMA Roles", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false, "displayable": false, "choices": [ { "value": "PROVIDER_ADMIN", "title": "PROVIDER_ADMIN" }, { "value": "PROVIDER_OPERATOR", "title": "PROVIDER_OPERATOR" }, { "value": "RESELLER_ADMIN", "title": "RESELLER_ADMIN" }, { "value": "RESELLER_OPERATOR", "title": "RESELLER_OPERATOR" }, { "value": "CUSTOMER_ADMIN", "title": "CUSTOMER_ADMIN" }, { "value": "CUSTOMER_OPERATOR", "title": "CUSTOMER_OPERATOR" }, { "value": "PROVIDER_ADMIN_SA", "title": "PROVIDER_ADMIN_SA" }, { "value": "PROVIDER_OPERATOR_SA", "title": "PROVIDER_OPERATOR_SA" }, { "value": "PROVIDER_ADMIN_FF", "title": "PROVIDER_ADMIN_FF" }, { "value": "PROVIDER_OPERATOR_FF", "title": "PROVIDER_OPERATOR_FF" }, { "value": "RESELLER_ADMIN_SA", "title": "RESELLER_ADMIN_SA" }, { "value": "RESELLER_OPERATOR_SA", "title": "RESELLER_OPERATOR_SA" }, { "value": "RESELLER_ADMIN_FF", "title": "RESELLER_ADMIN_FF" }, { "value": "RESELLER_OPERATOR_FF", "title": "RESELLER_OPERATOR_FF" }, { "value": "CUSTOMER_ADMIN_SA", "title": "CUSTOMER_ADMIN_SA" }, { "value": "CUSTOMER_OPERATOR_SA", "title": "CUSTOMER_OPERATOR_SA" }, { "value": "CUSTOMER_ADMIN_FF", "title": "CUSTOMER_ADMIN_FF" }, { "value": "CUSTOMER_OPERATOR_FF", "title": "CUSTOMER_OPERATOR_FF" } ] }, "directoryDomain": { "title": "Directory Domain", "type": "string", "maxLength": 1024, "format": "uri", "required": true, "readonly": false, "is_password": false, "displayable": false, "target": "/api/data/HCSHcmfDirectoryDomainDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HCSHcmfDirectoryDomainDAT", "choices": [] }, "customerLocation": { "title": "Customer Location", "type": "string", "maxLength": 1024, "format": "uri", "required": false, "readonly": false, "is_password": false, "displayable": false, "target": "/api/data/HCSHcmfCustomerLocationDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HCSHcmfCustomerLocationDAT", "choices": [] }, "scopeOrgUnit": { "title": "Scope Org Unit", "type": "string", "maxLength": 1024, "format": "uri", "required": false, "readonly": false, "is_password": false, "displayable": false, "target": "/api/data/HCSHcmfOrgUnitDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HCSHcmfOrgUnitDAT", "choices": [] }, "bkDirectoryDomain_name": { "title": "Bk Directory Domain Name", "type": "string", "maxLength": 1024, "format": "uri", "required": false, "readonly": false, "is_password": false, "displayable": false, "target": "/api/data/HCSHcmfDirectoryDomainDAT/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_attr": "name", "target_model_type": "data/HCSHcmfDirectoryDomainDAT", "choices": [] } } }, "maxItems": 1 } }, "schema_version": "3.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)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 0, "total_limit": null, "order_by": "username", "direction": "asc", "current": "/api/relation/HcsUserREL/?skip=0&limit=3&order_by=username&direction=asc&traversal=down" }, "operations": [ "bulk_update", "help", "update", "add", "export", "get", "list", "export_bulkload_template", "remove", "configuration_template", "field_display_policy" ], "meta": { "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" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": {}, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [], "self": [ { "href": "/api/relation/HcsUserREL/None/", "pkid": null } ] }, "model_specific_actions": [ "help", "update", "add", "export", "get", "list", "export_bulkload_template", "remove", "configuration_template" ], "schema_version": "3.0", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/relation/HcsUserREL/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsUserREL/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "POST", "class": "export", "href": "/api/relation/HcsUserREL/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/relation/HcsUserREL/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/relation/HcsUserREL/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/relation/HcsUserREL/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsUserREL/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [] }
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. |