[Index]
User relation
Model ref.: relation/User
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": { "last_name": { "type": "string", "description": "The User last name.", "title": "Last 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" }, "ldap_server": { "description": "A reference to the LDAP server which this user must authenticate against.", "title": "LDAP Server", "format": "uri", "required": false, "choices": [], "target_model_type": "data/Ldap", "type": "string", "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "manager": { "type": "string", "description": "Manager.", "title": "Manager" }, "postal_code": { "type": "string", "description": "Contains code used by a Postal Service to identify postal service zones.", "title": "Postal Code" }, "jabber_id": { "type": "string", "description": "Jabber ID", "title": "Jabber ID" }, "display_name": { "type": "string", "description": "Display name of the user", "title": "Display Name" }, "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" }, "title": { "type": "string", "description": "Title.", "title": "Title" }, "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" }, "home_phone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's home phone number(s).", "title": "Home Phone" }, "UserProvisioningStatus": { "type": "object", "properties": { "msexchange_hierarchy": { "type": "string", "description": "MS Exchange User Hierarchy", "title": "MS Exchange User Hierarchy" }, "azure_hierarchy": { "type": "string", "description": "MS 365 User Hierarchy", "title": "MS 365 User Hierarchy" }, "msexchange_user_link": { "format": "link", "type": "string", "description": "MS Exchange User", "title": "MS Exchange User" }, "ldap_hierarchy": { "type": "string", "description": "LDAP User Hierarchy", "title": "LDAP User Hierarchy" }, "uccx_hierarchy": { "type": "string", "description": "UCCX User Hierarchy", "title": "UCCX User Hierarchy" }, "spark_hierarchy": { "type": "string", "description": "WEBEX TEAMS User Hierarchy", "title": "WEBEX TEAMS User Hierarchy" }, "cucm_bkey_20": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 20" }, "spark_user_link": { "format": "link", "type": "string", "description": "Link to Webex Teams User", "title": "Webex Teams User" }, "hcmf_hierarchy": { "type": "string", "description": "HCMF User Hierarchy", "title": "HCMF User Hierarchy" }, "cucm_bkey_23": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 23" }, "msteams_bkey": { "type": "string", "description": "MS Teams tenant where the user exists.", "title": "MS Teams Tenant" }, "msteams_hierarchy": { "type": "string", "description": "MS Teams User Hierarchy", "title": "MS Teams User Hierarchy" }, "cuc_user_link": { "format": "link", "type": "string", "description": "Link to CUC User", "title": "CUC User" }, "cucm_bkey_4": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 4" }, "cucm_bkey": { "type": "string", "description": "CUCM server where the user exists.", "title": "CUCM Server" }, "spark_bkey": { "type": "string", "description": "Webex Teams server where the user exists.", "title": "Webex Teams Server" }, "cuc_hierarchy": { "type": "string", "description": "UUC User Hierarchy", "title": "CUC User Hierarchy" }, "cucm_bkey_30": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 30" }, "cucm_bkey_14": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 14" }, "cucm_bkey_15": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 15" }, "cucm_bkey_16": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 16" }, "cucm_bkey_17": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 17" }, "cucm_bkey_10": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 10" }, "cucm_bkey_11": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 11" }, "cucm_bkey_12": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 12" }, "cucm_bkey_13": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 13" }, "pexip_user_link": { "format": "link", "type": "string", "description": "Link to Pexip User", "title": "Pexip" }, "cucm_bkey_18": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 18" }, "cucm_bkey_19": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 19" }, "hcmf_bkey": { "type": "string", "description": "HCMF server where the user exists.", "title": "HCMF Server" }, "username": { "type": "string", "description": "Username field as a placeholder, this field is not used.", "title": "VOSS User" }, "update_hybrid_status_link": { "format": "link", "type": "string", "description": "Update a Subscriber's Multi-Vendor Hybrid Status", "title": "Update Multi Vendor Hybrid Status" }, "cucm_bkey_26": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 26" }, "ldap_bkey": { "type": "string", "description": "LDAP server where the user exists.", "title": "LDAP Server" }, "cucm_bkey_2": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 2" }, "cucm_bkey_3": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 3" }, "cucm_bkey_1": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 1" }, "cucm_bkey_6": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 6" }, "cucm_bkey_7": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 7" }, "cucm_hierarchy": { "type": "string", "description": "UUCM User Hierarchy", "title": "CUCM User Hierarchy" }, "cucm_bkey_5": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 5" }, "cucm_bkey_27": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 27" }, "cucm_bkey_8": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 8" }, "pexip_hierarchy": { "type": "string", "description": "Pexip Conference Hierarchy", "title": "Pexip Conference Hierarchy" }, "msexchange_bkey": { "type": "string", "description": "MS Exchange tenant where the user exists.", "title": "MS Exchange Tenant" }, "msteams_user_link": { "format": "link", "type": "string", "description": "MS Teams User", "title": "MS Teams User" }, "cucm_bkey_29": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 29" }, "cucm_bkey_28": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 28" }, "cucm_bkey_9": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 9" }, "cucm_user_link": { "format": "link", "type": "string", "description": "Link to CUCM User", "title": "CUCM User" }, "cucm_bkey_25": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 25" }, "cuc_bkey": { "type": "string", "description": "CUC server where the user exists.", "title": "CUC Server" }, "uccx_user_link": { "format": "link", "type": "string", "description": "Link to UCCX Agent", "title": "UCCX Agent" }, "azure_user_link": { "format": "link", "type": "string", "description": "MS 365 User", "title": "MS 365 User" }, "cucm_bkey_21": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 21" }, "azure_bkey": { "type": "string", "description": "MS 365 tenant where the user exists.", "title": "MS 365 Tenant" }, "uccx_bkey": { "type": "string", "description": "UCCX server where the agent exists.", "title": "UCCX Server" }, "cucm_bkey_22": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 22" }, "pexip_bkey": { "type": "string", "description": "Pexip server where the user exists.", "title": "Pexip Server" }, "cucm_bkey_24": { "type": "string", "description": "CUCM servers where the user exists.", "title": "CUCM 24" }, "hide_not_provisioned": { "type": "boolean", "description": "Hide/Show provisioned and un-provisioned data.", "title": "Provisioned" }, "cucm_ldap_directory": { "type": "string", "description": "CUCM LDAP Directory.", "title": "CUCM LDAP Directory" }, "voss_hierarchy": { "type": "string", "description": "VOSS User Hierarchy", "title": "VOSS User Hierarchy" } }, "title": "User Provisioning Status" }, "customString3": { "type": "string", "description": "Custom String", "title": "Custom String 3" }, "customString2": { "type": "string", "description": "Custom String", "title": "Custom String 2" }, "customString1": { "type": "string", "description": "Custom String", "title": "Custom String 1" }, "customString7": { "type": "string", "description": "Custom String", "title": "Custom String 7" }, "customString6": { "type": "string", "description": "Custom String", "title": "Custom String 6" }, "customString5": { "type": "string", "description": "Custom String", "title": "Custom String 5" }, "customString4": { "type": "string", "description": "Custom String", "title": "Custom String 4" }, "customString9": { "type": "string", "description": "Custom String", "title": "Custom String 9" }, "customString8": { "type": "string", "description": "Custom String", "title": "Custom String 8" }, "mvs_primary_line_cos": { "type": "string", "title": "Primary Class of Service" }, "mvs_hybrid_status": { "required": false, "type": "string", "title": "Hybrid Status" }, "username_ldap": { "required": false, "type": "string", "description": "The username corresponding to the the Username in the LDAP Directory.", "title": "LDAP Directory User Name" }, "password": { "is_password": true, "description": "The User password.", "title": "Password", "pattern": ".{8,}", "store_encrypted": true, "type": "string" }, "mvs_primary_line": { "type": "string", "title": "Primary Line" }, "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": { "description": "Specifies the policy with the rules used to govern this user's credentials.", "title": "Credential Policy", "format": "uri", "required": false, "choices": [], "target_attr": "name", "target_model_type": "data/CredentialPolicy", "type": "string", "target": "/api/data/CredentialPolicy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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" }, "telephone_number": { "items": { "type": "string" }, "type": "array", "description": "Telephone Number.", "title": "Telephone Number" }, "AdLdapUser": { "type": "object", "properties": { "username": { "required": true, "type": "string", "description": "Username", "title": "User Name" }, "info": { "type": "string", "description": "Information about User", "title": "Info" }, "description": { "type": "string", "description": "Description", "title": "Description" }, "allow_write_back": { "type": "string", "description": "Flag to determine if write back is enabled.", "title": "LDAP write back enabled" }, "userAccountControl": { "default": "512", "choices": [ { "value": "512", "title": "Normal Account" }, { "value": "544", "title": "Enabled, Password Not Required" }, { "value": "66048", "title": "Enabled, Password Doesn\u2019t Expire" } ], "type": "string", "title": "User Account Control" }, "ldap_bkey": { "type": "string", "description": "LDAP server where the user is configured.", "title": "LDAP Server" }, "manage_ldap_user": { "type": "string", "description": "Flag to determine if users can be pushed or deleted from AD LDAP", "title": "Manage LDAP User" }, "sync_source": { "type": "string", "description": "Flag to determine the user sync source.", "title": "Sync Source" }, "password": { "is_password": true, "type": "string", "description": "Password", "title": "Password" } }, "title": "Ad Ldap User" }, "street": { "type": "string", "description": "Contains site information from a postal address.", "title": "Street" }, "object_class": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "title": "Object Class" }, "building_name": { "type": "string", "description": "Building name or number.", "title": "Building Name" }, "first_name": { "type": "string", "description": "The User first name.", "title": "First Name" }, "employee_number": { "type": "string", "description": "Employee number of the user", "title": "Employee Number" }, "username_cuc": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco Unity Connection.", "title": "Cisco Unity Connection User Name" }, "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" }, "state": { "type": "string", "description": "Contains full names of state or province.", "title": "State" }, "email": { "required": false, "type": "string", "description": "The User email address.", "title": "Email Address" }, "username_microsoft": { "required": false, "type": "string", "description": "The username corresponding to the the Microsoft Username.", "title": "Microsoft 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" }, "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" }, "sync_source": { "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).", "title": "Sync Source", "default": "LOCAL", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "data/UserSyncSource", "type": "string", "target": "/api/data/UserSyncSource/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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" }, "auth_method": { "default": "Local", "choices": [ { "value": "Local", "title": "Local" }, { "value": "Automatic", "title": "Automatic" }, { "value": "LDAP", "title": "LDAP" }, { "value": "SSO", "title": "SSO" } ], "type": "string", "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" }, "sso_idp": { "description": "The entity id of the SSO Identity Provider.", "title": "SSO Identity Provider", "format": "uri", "required": false, "choices": [], "target_attr": "entity_id", "target_model_type": "data/SsoIdentityProvider", "type": "string", "target": "/api/data/SsoIdentityProvider/choices/?field=entity_id&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "customListOfStrings7": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 7" }, "preferred_language": { "type": "string", "description": "Preferred Language.", "title": "Preferred Language" }, "country": { "type": "string", "description": "Country name.", "title": "Country" }, "username_open_ldap": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Opoen LDAP.", "title": "Open LDAP User Name" }, "unverified_mailbox": { "type": "string", "description": "Unverified Mail Box.", "title": "Unverified Mail Box" }, "mvs_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", "description": "Extensions to select primary details from.", "title": "Extensions" }, "ldap_username": { "type": "string", "description": "The login attribute of the associated LDAP device model instance", "title": "LDAP Username" }, "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" }, "facsimile_telephone_number": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's facsimile telephone Number(s).", "title": "Facsimile Telephone Number" }, "employee_type": { "type": "string", "description": "Employee type", "title": "Employee Type" }, "city": { "type": "string", "description": "Contains the name of a person's locality.", "title": "City" }, "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" }, "username": { "required": true, "type": "string", "description": "User's Username.", "title": "User Name" }, "physical_delivery_office_name": { "type": "string", "description": "Physical Delivery Office Name.", "title": "Physical Delivery Office Name" }, "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" }, "language": { "description": "The preferred language for this user.", "format": "uri", "default": "en-us", "required": false, "choices": [], "target_attr": "lcid", "target_model_type": "data/Language", "title": "Language", "type": "string", "target": "/api/data/Language/choices/?field=lcid&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "member_of": { "items": { "type": "string" }, "type": "array", "description": "The user can be a member of a variety of groups.", "title": "Member Of" }, "username_ms_ldap": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Microsoft LDAP.", "title": "Microsoft LDAP User Name" }, "customString10": { "type": "string", "description": "Custom String", "title": "Custom String 10" }, "ip_phone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's IP phone number(s).", "title": "IP Phone" }, "customListOfStrings10": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 10" }, "username_broadworks": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Broadworks.", "title": "Broadworks User Name" }, "customBoolean10": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 10" }, "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" } ], "type": "string" }, "timezone": { "type": "string", "description": "Timezone.", "title": "Timezone" }, "directory_uri": { "type": "string", "description": "Alphanumeric Directory URI (e.g. SIP URI)", "title": "Directory URI" }, "other_mailbox": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "title": "Other Mailbox" }, "role": { "description": "The role to which the user belongs. See: Role.", "title": "Role", "format": "uri", "required": true, "choices": [], "target_attr": "name", "target_model_type": "data/Role", "type": "string", "target": "/api/data/Role/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "department": { "type": "string", "description": "Department names and numbers.", "title": "Department" }, "username_zoom": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Zoom.", "title": "Zoom 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" }, "sso_username": { "required": false, "type": "string", "description": "The name identifier that is used for an SSO authenticated user.", "title": "SSO Username" }, "username_hcmf": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco HCMF.", "title": "HCMF User Name" }, "ou": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "description": "The name of the person's organization unit.", "title": "Organizational Unit" }, "photo_url": { "type": "string", "description": "Photo URL.", "title": "Photo URL" }, "customBoolean7": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 7" }, "customBoolean6": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 6" }, "customBoolean5": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 5" }, "customBoolean4": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 4" }, "customBoolean3": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 3" }, "customBoolean2": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 2" }, "customBoolean1": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 1" }, "mobile": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's IP mobile number(s).", "title": "Mobile" }, "customBoolean9": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 9" }, "customBoolean8": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 8" }, "organization": { "type": "string", "description": "The name of the person's organization.", "title": "Organization" }, "username_webex_teams": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Webex Teams.", "title": "Webex Teams User Name" }, "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" } } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/relation/User/add/ |
|
The GUI Add form of relation/User 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/User/ | 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/User/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/User/[pkid1]", "/api/relation/User/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/User/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/relation/User/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/relation/User/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/relation/User/[pkid1]", "/api/v0/relation/User/[pkid2]",...]}} |
GET http://[host-proxy]/api/relation/User/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move the instance with [pkid] to [target_hierarchy] | POST | /api/tool/DataMove/?model_type=relation/User |
|
{"hrefs": ["/api/relation/User/[pkid]"]} |
Bulk Move | POST | /api/tool/DataMove/?model_type=relation/User |
|
{"hrefs": ["/api/relation/User/[pkid1]", "/api/relation/User/[pkid2]",...]} |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/User; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/User/export/ |
|
{ "hrefs":["/api/relation/User/[pkid1]", "/api/relation/User/[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/User and the JSON format can be used to import instances of relation/User.
GET http://[host-proxy]/api/relation/User/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/User | POST | /api/relation/User/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/User/ |
|
The relation/User schema and all instances as JSON. |
(The list will return 0 to 3 relation/User instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "clone", "move", "list", "update", "remove", "add", "bulk_update", "export", "export_bulkload_template", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "username", "maximum_limit": 2000, "skip": 0, "current": "/api/relation/User/?skip=0&limit=3&order_by=username&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 347 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": null, "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": null, "href": "/api/relation/User/None/" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/relation/User/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/User/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/relation/User/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/?hierarchy=[hierarchy]&model_type=relation/User", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/User/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/User/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/relation/User/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/User/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/User", "model_specific_actions": [ "help", "get", "clone", "move", "list", "update", "remove", "add", "export", "export_bulkload_template", "bulk_update_form" ], "summary_attrs": [ { "name": "username", "title": "User Name" }, { "name": "first_name", "title": "First Name" }, { "name": "last_name", "title": "Last Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "name": "entitlement_profile", "title": "Entitlement Profile" }, { "name": "sync_source", "title": "Sync Source" }, { "name": "sync_type", "title": "Sync Type" }, { "name": "user_type", "title": "User Type" }, { "name": "auth_method", "title": "Auth Method" }, { "name": "department", "title": "Department" }, { "name": "telephone_number", "title": "Telephone Number" }, { "name": "language", "title": "Language" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.locked", "title": "Locked" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.disabled", "title": "Disabled" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "resources": [ { "pkid": "61b130e3eadb826afd7c017f", "meta": { "tags": [], "cached": true, "title": "#username", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.1.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b130e3eadb826afd7c017f", "href": "/api/relation/User/61b130e3eadb826afd7c017f/" } ], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ], "foreign_key": [ { "pkid": "61b12ee7eadb826afd7b7433", "path": "role", "model_type": "data/Role" }, { "pkid": "61b0d313cad9e4c0d6ccfdcb", "path": "language", "model_type": "data/Language" }, { "pkid": "61b0eafa41e9336d6e1fd142", "path": "sync_source", "model_type": "data/UserSyncSource" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/User/61b130e3eadb826afd7c017f/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/User/61b130e3eadb826afd7c017f/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/relation/User/61b130e3eadb826afd7c017f/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/61b130e3eadb826afd7c017f/?model_type=relation/User", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/User/61b130e3eadb826afd7c017f/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/User/61b130e3eadb826afd7c017f/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/User/61b130e3eadb826afd7c017f/help", "method": "GET", "title": "Help" } }, { "AlignHierarchyToSyncSource": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+AlignHierarchyToSyncSource/", "method": "POST", "title": "Align Hierarchy To Sync Source" } }, { "AlignHierarchyToUser": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+AlignHierarchyToUser/", "method": "POST", "title": "Align Hierarchy To User" } }, { "DeleteFromLdap": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+DeleteFromLdap/", "method": "POST", "title": "Delete From Ldap" } }, { "PushToLdap": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+PushToLdap/", "method": "POST", "title": "Push To Ldap" } }, { "RefreshSubscriber": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+RefreshSubscriber/", "method": "POST", "title": "Refresh Subscriber" } } ], "model_type": "relation/User", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b130e3eadb826afd7c017f" ], "summary_attrs": [ { "name": "username", "title": "User Name" }, { "name": "first_name", "title": "First Name" }, { "name": "last_name", "title": "Last Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "name": "entitlement_profile", "title": "Entitlement Profile" }, { "name": "sync_source", "title": "Sync Source" }, { "name": "sync_type", "title": "Sync Type" }, { "name": "user_type", "title": "User Type" }, { "name": "auth_method", "title": "Auth Method" }, { "name": "department", "title": "Department" }, { "name": "telephone_number", "title": "Telephone Number" }, { "name": "language", "title": "Language" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.locked", "title": "Locked" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.disabled", "title": "Disabled" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "username": "#username", "first_name": "#user", "last_name": "#ln", "display_name": "#user #ln", "sync_type": "CUCM-LDAP", "language": "en-us", "pkid": "61b130e5eadb826afd7c01f5", "auth_method": "Automatic", "ldap_server": "", "user_type": "End User", "ldap_username": "", "sso_username": "", "exclude_from_directory": false, "role": "AAAGlobalSelfService", "sync_source": "CUCM", "hierarchy_friendly_name": "AAAGlobal (Customer)", "set_language": false, "sso_idp": "", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal" } }, { "pkid": "61b18c09eadb826afd84e1e6", "meta": { "tags": [], "cached": true, "title": "*specialUser", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.1.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b18c09eadb826afd84e1e6", "href": "/api/relation/User/61b18c09eadb826afd84e1e6/" } ], "parent": [ { "pkid": "61b130c1eadb826afd7bf255", "href": "/api/data/HierarchyNode/61b130c1eadb826afd7bf255" } ], "foreign_key": [ { "pkid": "61b130f9eadb826afd7c0a4b", "path": "role", "model_type": "data/Role" }, { "pkid": "61b0d313cad9e4c0d6ccfdcb", "path": "language", "model_type": "data/Language" }, { "pkid": "61b0eafa41e9336d6e1fd142", "path": "sync_source", "model_type": "data/UserSyncSource" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/61b18c09eadb826afd84e1e6/?model_type=relation/User", "method": "POST", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/User/61b18c09eadb826afd84e1e6/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/help", "title": "Help", "class": "help", "method": "GET" } }, { "AlignHierarchyToSyncSource": { "support_async": true, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/+AlignHierarchyToSyncSource/", "title": "Align Hierarchy To Sync Source", "class": "custom", "method": "POST" } }, { "AlignHierarchyToUser": { "support_async": true, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/+AlignHierarchyToUser/", "title": "Align Hierarchy To User", "class": "custom", "method": "POST" } }, { "DeleteFromLdap": { "support_async": true, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/+DeleteFromLdap/", "title": "Delete From Ldap", "class": "custom", "method": "POST" } }, { "PushToLdap": { "support_async": true, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/+PushToLdap/", "title": "Push To Ldap", "class": "custom", "method": "POST" } }, { "RefreshSubscriber": { "support_async": true, "href": "/api/relation/User/61b18c09eadb826afd84e1e6/+RefreshSubscriber/", "title": "Refresh Subscriber", "class": "custom", "method": "POST" } } ], "model_type": "relation/User", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b130c1eadb826afd7bf255", "61b18c09eadb826afd84e1e6" ], "summary_attrs": [ { "name": "username", "title": "User Name" }, { "name": "first_name", "title": "First Name" }, { "name": "last_name", "title": "Last Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "name": "entitlement_profile", "title": "Entitlement Profile" }, { "name": "sync_source", "title": "Sync Source" }, { "name": "sync_type", "title": "Sync Type" }, { "name": "user_type", "title": "User Type" }, { "name": "auth_method", "title": "Auth Method" }, { "name": "department", "title": "Department" }, { "name": "telephone_number", "title": "Telephone Number" }, { "name": "language", "title": "Language" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.locked", "title": "Locked" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.disabled", "title": "Disabled" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "username": "*specialUser", "last_name": "SpecialUser", "sync_type": "CUCM-Local", "language": "en-us", "pkid": "61b18c09eadb826afd84e1f0", "ldap_server": "", "user_type": "End User", "ldap_username": "", "sso_username": "", "exclude_from_directory": false, "role": "LOC001SelfService", "sync_source": "CUCM", "hierarchy_friendly_name": "LOC001 (Site)", "set_language": false, "auth_method": "Automatic", "sso_idp": "", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.LOC001" } }, { "pkid": "61b18bdceadb826afd84e07e", "meta": { "tags": [], "cached": true, "title": "01_qas_10h23", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.1.0", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "61b18bdceadb826afd84e07e", "href": "/api/relation/User/61b18bdceadb826afd84e07e/" } ], "parent": [ { "pkid": "61b131b1eadb826afd7c55a3", "href": "/api/data/HierarchyNode/61b131b1eadb826afd7c55a3" } ], "foreign_key": [ { "pkid": "61b131beeadb826afd7c59fe", "path": "role", "model_type": "data/Role" }, { "pkid": "61b0d313cad9e4c0d6ccfdcb", "path": "language", "model_type": "data/Language" }, { "pkid": "61b13b98eadb826afd7ed59f", "path": "entitlement_profile", "model_type": "data/HcsEntitlementProfileDAT" }, { "pkid": "61b0eafa41e9336d6e1fd142", "path": "sync_source", "model_type": "data/UserSyncSource" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/relation/User/61b18bdceadb826afd84e07e/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/relation/User/61b18bdceadb826afd84e07e/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/relation/User/61b18bdceadb826afd84e07e/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "method": "POST", "href": "/api/tool/DataMove/61b18bdceadb826afd84e07e/?model_type=relation/User", "class": "move", "view": "/api/tool/DataMove/" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/relation/User/61b18bdceadb826afd84e07e/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/relation/User/61b18bdceadb826afd84e07e/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/relation/User/61b18bdceadb826afd84e07e/help", "class": "help", "title": "Help" } }, { "AlignHierarchyToSyncSource": { "support_async": true, "method": "POST", "href": "/api/relation/User/61b18bdceadb826afd84e07e/+AlignHierarchyToSyncSource/", "class": "custom", "title": "Align Hierarchy To Sync Source" } }, { "AlignHierarchyToUser": { "support_async": true, "method": "POST", "href": "/api/relation/User/61b18bdceadb826afd84e07e/+AlignHierarchyToUser/", "class": "custom", "title": "Align Hierarchy To User" } }, { "DeleteFromLdap": { "support_async": true, "method": "POST", "href": "/api/relation/User/61b18bdceadb826afd84e07e/+DeleteFromLdap/", "class": "custom", "title": "Delete From Ldap" } }, { "PushToLdap": { "support_async": true, "method": "POST", "href": "/api/relation/User/61b18bdceadb826afd84e07e/+PushToLdap/", "class": "custom", "title": "Push To Ldap" } }, { "RefreshSubscriber": { "support_async": true, "method": "POST", "href": "/api/relation/User/61b18bdceadb826afd84e07e/+RefreshSubscriber/", "class": "custom", "title": "Refresh Subscriber" } } ], "model_type": "relation/User", "path": [ "6t0ggef2c0deab00hb595101", "61b0e48541e9336d6e1ee12e", "61b12e93eadb826afd7b5dad", "61b12ed1eadb826afd7b6ddc", "61b12edfeadb826afd7b715a", "61b131b1eadb826afd7c55a3", "61b18bdceadb826afd84e07e" ], "summary_attrs": [ { "name": "username", "title": "User Name" }, { "name": "first_name", "title": "First Name" }, { "name": "last_name", "title": "Last Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "name": "entitlement_profile", "title": "Entitlement Profile" }, { "name": "sync_source", "title": "Sync Source" }, { "name": "sync_type", "title": "Sync Type" }, { "name": "user_type", "title": "User Type" }, { "name": "auth_method", "title": "Auth Method" }, { "name": "department", "title": "Department" }, { "name": "telephone_number", "title": "Telephone Number" }, { "name": "language", "title": "Language" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.locked", "title": "Locked" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.disabled", "title": "Disabled" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "username": "01_qas_10h23", "first_name": "01_qas_10h23fn", "last_name": "01_qas_10h23ln", "sync_type": "CUCM-Local", "language": "en-us", "title": "", "pkid": "61b18bdceadb826afd84e088", "ldap_server": "", "auth_method": "Automatic", "entitlement_profile": "[\"RST Entitlement Profile\", \"hcs.CS-P\"]", "user_type": "End User", "ldap_username": "", "sso_username": "", "exclude_from_directory": false, "role": "LOC003SelfService", "sync_source": "CUCM", "hierarchy_friendly_name": "LOC003 (Site)", "set_language": true, "email": "[email protected]", "sso_idp": "", "hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.LOC003" } } ] }
(Show the first instance)
{ "pkid": "61b130e3eadb826afd7c017f", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "#username", "business_key": {}, "schema_version": null, "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": "61b130e3eadb826afd7c017f", "href": "/api/relation/User/61b130e3eadb826afd7c017f/" } ], "children": [], "parent": [ { "pkid": "61b12edfeadb826afd7b715a", "href": "/api/data/HierarchyNode/61b12edfeadb826afd7b715a" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/User/61b130e3eadb826afd7c017f/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/User/61b130e3eadb826afd7c017f/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/relation/User/61b130e3eadb826afd7c017f/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "move": { "title": "Move", "support_async": true, "class": "move", "href": "/api/tool/DataMove/61b130e3eadb826afd7c017f/?hierarchy=[hierarchy]&model_type=relation/User", "method": "POST", "view": "/api/tool/DataMove/?auth_token=[authtoken] } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/User/61b130e3eadb826afd7c017f/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/User/61b130e3eadb826afd7c017f/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/User/61b130e3eadb826afd7c017f/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } }, { "AlignHierarchyToSyncSource": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+AlignHierarchyToSyncSource/?hierarchy=[hierarchy]", "method": "POST", "title": "Align Hierarchy To Sync Source" } }, { "AlignHierarchyToUser": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+AlignHierarchyToUser/?hierarchy=[hierarchy]", "method": "POST", "title": "Align Hierarchy To User" } }, { "DeleteFromLdap": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+DeleteFromLdap/?hierarchy=[hierarchy]", "method": "POST", "title": "Delete From Ldap" } }, { "PushToLdap": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+PushToLdap/?hierarchy=[hierarchy]", "method": "POST", "title": "Push To Ldap" } }, { "RefreshSubscriber": { "support_async": true, "class": "custom", "href": "/api/relation/User/61b130e3eadb826afd7c017f/+RefreshSubscriber/?hierarchy=[hierarchy]", "method": "POST", "title": "Refresh Subscriber" } } ], "model_type": "relation/User", "summary_attrs": [ { "name": "username", "title": "User Name" }, { "name": "first_name", "title": "First Name" }, { "name": "last_name", "title": "Last Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "name": "entitlement_profile", "title": "Entitlement Profile" }, { "name": "sync_source", "title": "Sync Source" }, { "name": "sync_type", "title": "Sync Type" }, { "name": "user_type", "title": "User Type" }, { "name": "auth_method", "title": "Auth Method" }, { "name": "department", "title": "Department" }, { "name": "telephone_number", "title": "Telephone Number" }, { "name": "language", "title": "Language" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.locked", "title": "Locked" }, { "allow_filtering": true, "allow_ordering": false, "name": "account_information.disabled", "title": "Disabled" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "21.2", "tagged_versions": [] }, "data": { "username": "#username", "first_name": "#user", "last_name": "#ln", "display_name": "#user #ln", "sync_type": "CUCM-LDAP", "language": "en-us", "auth_method": "Automatic", "ldap_server": "", "user_type": "End User", "ldap_username": "", "sso_username": "", "exclude_from_directory": false, "role": "AAAGlobalSelfService", "sync_source": "CUCM", "set_language": false, "sso_idp": "" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/User. | GET | /api/relation/User/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/User as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/User/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/User/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/relation/User/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/relation/User/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Move | POST | /api/tool/DataMove/[pkid]/?model_type=relation/User | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of relation/User; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/User/[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/User and the JSON format can be used to import instances of relation/User.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/User/[pkid]/ | hierarchy=[hierarchy] | The relation/User instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/User/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/User. |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Align Hierarchy To Sync Source | POST | /api/relation/User/[pkid]/+AlignHierarchyToSyncSource/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Align Hierarchy To User | POST | /api/relation/User/[pkid]/+AlignHierarchyToUser/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Delete From Ldap | POST | /api/relation/User/[pkid]/+DeleteFromLdap/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Push To Ldap | POST | /api/relation/User/[pkid]/+PushToLdap/ | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Refresh Subscriber | POST | /api/relation/User/[pkid]/+RefreshSubscriber/ | hierarchy=[hierarchy] | If payload required: |