[Index]
The User model for user details that correspond with Cisco Unified Communications Manager and Cisco Unity Connection server.
Model ref.: data/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.", "format": "uri", "title": "LDAP Server", "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" }, "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.", "format": "uri", "title": "Credential Policy", "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" }, "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": "/api/data/HcsEntitlementProfileDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "title": "Entitlement Profile", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "target_model_type": "data/HcsEntitlementProfileDAT", "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.", "format": "uri", "title": "SSO Identity Provider", "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", "title": "Language", "required": false, "choices": [], "target_attr": "lcid", "target_model_type": "data/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" }, { "value": "End User + Admin", "title": "End User + Admin" } ], "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.", "format": "uri", "title": "Role", "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" }, "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", "title": "Authorized Admin Hierarchy", "required": false, "choices": [], "target_attr": "name", "target_model_type": "data/AuthorizedAdminHierarchy", "type": "string", "target": "/api/data/AuthorizedAdminHierarchy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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 App.", "title": "Webex App 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" } }, "schema_version": "1.1.4" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/User/add/ |
|
The GUI Add form of data/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/data/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/data/User/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/User/[pkid1]", "/api/data/User/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/User/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/User/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/User/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/User/[pkid1]", "/api/v0/data/User/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/User/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/User; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/User/export/ |
|
{ "hrefs":["/api/data/User/[pkid1]", "/api/data/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 data/User and the JSON format can be used to import instances of data/User.
GET http://[host-proxy]/api/data/User/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/User | POST | /api/data/User/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/data/User/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/User/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/User/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/User/ |
|
The data/User schema and all instances as JSON. |
(The list will return 0 to 3 data/User instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "move", "transform", "add", "export", "migration", "bulk_update_form" ], "pagination": { "direction": "asc", "order_by": "username", "maximum_limit": 2000, "skip": 0, "current": "/api/data/User/?skip=0&limit=3&order_by=username&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 283 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.1.4", "references": { "device": [ { "pkid": "", "href": "" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/data/User/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/User/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "bulk_update_form": { "support_async": false, "class": "update", "href": "/api/data/User/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Bulk Modify" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/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/data/User/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/User/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/User/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "support_async": false, "class": "config", "href": "/api/data/User/configuration_template/?hierarchy=[hierarchy]", "method": "GET", "title": "Configuration Template" } }, { "field_display_policy": { "support_async": false, "class": "display_policy", "href": "/api/data/User/field_display_policy/?hierarchy=[hierarchy]", "method": "GET", "title": "Field Display Policy" } }, { "migration": { "support_async": false, "class": "migration", "href": "/api/data/User/migration/?hierarchy=[hierarchy]", "method": "GET", "title": "Migration Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/data/User/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/User/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/User", "model_specific_actions": [ "get", "list", "add", "clone", "update", "remove", "export_bulkload_template", "bulk_update_form", "configuration_template", "field_display_policy", "export", "migration", "help", "tag", "tag_version" ], "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": "602fa141ce894e0011e7bead", "meta": { "tags": [], "cached": true, "title": "#username", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.1.4", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "602fa141ce894e0011e7bead", "href": "/api/data/User/602fa141ce894e0011e7bead/" } ], "parent": [ { "pkid": "5f3ae552ce894e00120537fa", "href": "/api/data/HierarchyNode/5f3ae552ce894e00120537fa" } ], "foreign_key": [ { "pkid": "5f3ae55bce894e00120539d1", "path": "role", "model_type": "data/Role" }, { "pkid": "5df34f15ce894e0012c600bb", "path": "language", "model_type": "data/Language" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/User/602fa141ce894e0011e7bead/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/User/602fa141ce894e0011e7bead/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/User/602fa141ce894e0011e7bead/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/User/602fa141ce894e0011e7bead/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/User/602fa141ce894e0011e7bead/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/User/602fa141ce894e0011e7bead/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/User/602fa141ce894e0011e7bead/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/User/602fa141ce894e0011e7bead/help", "method": "GET", "title": "Help" } } ], "model_type": "data/User", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "602fa141ce894e0011e7bead" ], "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": { "customString3": null, "customListOfStrings10": null, "last_name": "#ln", "customBoolean10": null, "user_type": "End User", "ldap_username": null, "preferred_language": null, "manager": null, "customString10": null, "postal_code": null, "facsimile_telephone_number": [], "photo_url": null, "timezone": null, "hierarchy_friendly_name": "AB_Group (Customer)", "customBoolean1": null, "object_class": null, "customListOfStrings2": null, "building_name": null, "city": null, "first_name": "#user", "jabber_id": null, "display_name": "#user #ln", "sync_type": "CUCM-LDAP", "directory_uri": null, "pkid": "602fa142ce894e0011e7bef9", "entitlement_profile": "[\"AB_Group-Standard-EP\", \"hcs.CS-P.CS-AB.AB_Group\"]", "other_mailbox": null, "customListOfStrings5": null, "state": null, "role": "AB_GroupSelfService", "customListOfStrings6": null, "home_phone": null, "department": null, "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group", "email": null, "username": "#username", "customString2": null, "customString1": null, "physical_delivery_office_name": null, "customString6": null, "customString5": null, "customString4": null, "ou": null, "customString9": null, "customString8": null, "sso_username": null, "customListOfStrings9": null, "customBoolean4": null, "sync_source": "CUCM", "customListOfStrings1": null, "employee_type": null, "customListOfStrings3": null, "customListOfStrings4": null, "auth_method": "Automatic", "sso_idp": null, "customListOfStrings7": null, "customBoolean7": null, "customBoolean6": null, "customBoolean5": null, "exclude_from_directory": false, "customBoolean3": null, "customBoolean2": null, "language": "en-us", "member_of": null, "customListOfStrings8": null, "country": null, "employee_number": null, "telephone_number": null, "customBoolean9": null, "customBoolean8": null, "customString7": null, "mobile": null, "street": null, "title": null, "ip_phone": null, "ldap_user": null, "organization": null, "unverified_mailbox": null, "set_language": true } }, { "pkid": "655efd8540d96fe47c2508b3", "meta": { "tags": [], "cached": true, "title": "00055", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.1.4", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "655efd8540d96fe47c2508b3", "href": "/api/data/User/655efd8540d96fe47c2508b3/" } ], "parent": [ { "pkid": "5f3ae552ce894e00120537fa", "href": "/api/data/HierarchyNode/5f3ae552ce894e00120537fa" } ], "foreign_key": [ { "pkid": "5f3ae55bce894e00120539d1", "path": "role", "model_type": "data/Role" }, { "pkid": "5df34f15ce894e0012c600bb", "path": "language", "model_type": "data/Language" }, { "pkid": "6130ccd7e04a4a00161b8d81", "path": "sync_source", "model_type": "data/UserSyncSource" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/User/655efd8540d96fe47c2508b3/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/User/655efd8540d96fe47c2508b3/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/data/User/655efd8540d96fe47c2508b3/clone/?schema=&schema_rules=true", "title": "Clone", "class": "clone", "method": "GET" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/User/655efd8540d96fe47c2508b3/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/data/User/655efd8540d96fe47c2508b3/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/data/User/655efd8540d96fe47c2508b3/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "href": "/api/data/User/655efd8540d96fe47c2508b3/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/User/655efd8540d96fe47c2508b3/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/User", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "655efd8540d96fe47c2508b3" ], "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": "00055", "last_name": "00055", "customBoolean10": false, "ldap_server": "", "user_type": "End User", "ldap_username": "", "manager": "", "customString10": "", "postal_code": "", "customString7": "", "hierarchy_friendly_name": "AB_Group (Customer)", "object_class": [ "top", "person", "organizationalPerson", "user" ], "building_name": "", "city": "", "first_name": "sbrload00055", "jabber_id": "", "display_name": "sbrload00055 S. 00055", "sync_type": "LDAP", "title": "Support", "pkid": "655efd8540d96fe47c250916", "state": "", "role": "AB_GroupSelfService", "department": "IT", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group", "customString3": "", "customString2": "", "customString1": "", "physical_delivery_office_name": "", "customString6": "", "customString5": "", "customString4": "", "customString9": "", "customString8": "", "sso_username": "", "language": "en-us", "customBoolean4": false, "sync_source": "LDAP", "employee_type": "", "auth_method": "Automatic", "sso_idp": "", "photo_url": "", "customBoolean7": false, "customBoolean6": false, "customBoolean5": false, "exclude_from_directory": false, "customBoolean3": false, "customBoolean2": false, "customBoolean1": false, "country": "", "employee_number": "S00055", "customBoolean9": false, "customBoolean8": false, "street": "", "organization": "", "unverified_mailbox": "", "set_language": false } }, { "pkid": "655efda040d96fe47c2514d6", "meta": { "tags": [], "cached": true, "title": "00060", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.1.4", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "655efda040d96fe47c2514d6", "href": "/api/data/User/655efda040d96fe47c2514d6/" } ], "parent": [ { "pkid": "5f3ae552ce894e00120537fa", "href": "/api/data/HierarchyNode/5f3ae552ce894e00120537fa" } ], "foreign_key": [ { "pkid": "5f3ae55bce894e00120539d1", "path": "role", "model_type": "data/Role" }, { "pkid": "5df34f15ce894e0012c600bb", "path": "language", "model_type": "data/Language" }, { "pkid": "6130ccd7e04a4a00161b8d81", "path": "sync_source", "model_type": "data/UserSyncSource" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/User/655efda040d96fe47c2514d6/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/User/655efda040d96fe47c2514d6/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/data/User/655efda040d96fe47c2514d6/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/data/User/655efda040d96fe47c2514d6/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/data/User/655efda040d96fe47c2514d6/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/data/User/655efda040d96fe47c2514d6/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/User/655efda040d96fe47c2514d6/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/User/655efda040d96fe47c2514d6/help", "class": "help", "title": "Help" } } ], "model_type": "data/User", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "655efda040d96fe47c2514d6" ], "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": "00060", "last_name": "00060", "customBoolean10": false, "ldap_server": "", "user_type": "End User", "ldap_username": "", "manager": "", "customString10": "", "postal_code": "", "customString7": "", "hierarchy_friendly_name": "AB_Group (Customer)", "object_class": [ "top", "person", "organizationalPerson", "user" ], "building_name": "", "city": "", "first_name": "sbrload00060", "jabber_id": "", "display_name": "sbrload00060 S. 00060", "sync_type": "LDAP", "title": "Support", "pkid": "655efda140d96fe47c25153e", "state": "", "role": "AB_GroupSelfService", "department": "IT", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group", "customString3": "", "customString2": "", "customString1": "", "physical_delivery_office_name": "", "customString6": "", "customString5": "", "customString4": "", "customString9": "", "customString8": "", "sso_username": "", "language": "en-us", "customBoolean4": false, "sync_source": "LDAP", "employee_type": "", "auth_method": "Automatic", "sso_idp": "", "photo_url": "", "customBoolean7": false, "customBoolean6": false, "customBoolean5": false, "exclude_from_directory": false, "customBoolean3": false, "customBoolean2": false, "customBoolean1": false, "country": "", "employee_number": "S00060", "customBoolean9": false, "customBoolean8": false, "street": "", "organization": "", "unverified_mailbox": "", "set_language": false } } ] }
(Show the first instance)
{ "pkid": "602fa141ce894e0011e7bead", "meta": { "tags": [], "cached": false, "title": "#username", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "1.1.4", "references": { "parent": [ { "pkid": "5f3ae552ce894e00120537fa", "href": "/api/data/HierarchyNode/5f3ae552ce894e00120537fa" } ], "self": [ { "pkid": "602fa141ce894e0011e7bead", "href": "/api/data/User/602fa141ce894e0011e7bead/" } ], "foreign_key": [ { "pkid": "5f3ae55bce894e00120539d1", "path": "role", "model_type": "data/Role" }, { "pkid": "5df34f15ce894e0012c600bb", "path": "language", "model_type": "data/Language" }, { "pkid": "5f3ae56fce894e0012054339", "path": "entitlement_profile", "model_type": "data/HcsEntitlementProfileDAT" } ], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/User/602fa141ce894e0011e7bead/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/User/602fa141ce894e0011e7bead/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/User/602fa141ce894e0011e7bead/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/User/602fa141ce894e0011e7bead/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/User/602fa141ce894e0011e7bead/+tag/?hierarchy=[hierarchy]", "class": "tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/User/602fa141ce894e0011e7bead/+tag_version/?hierarchy=[hierarchy]", "class": "tag_version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/User/602fa141ce894e0011e7bead/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/User/602fa141ce894e0011e7bead/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/User", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "602fa141ce894e0011e7bead" ], "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": "602fa142ce894e0011e7bef9", "entitlement_profile": "[\"AB_Group-Standard-EP\", \"hcs.CS-P.CS-AB.AB_Group\"]", "user_type": "End User", "set_language": true, "exclude_from_directory": false, "role": "AB_GroupSelfService", "sync_source": "CUCM", "auth_method": "Automatic" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/User. | GET | /api/data/User/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/User as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/User/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/User/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/User/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/User/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/User; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/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 data/User and the JSON format can be used to import instances of data/User.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/User/[pkid]/+tag | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/User/[pkid] | hierarchy=[hierarchy] | The data/User instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/User/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/User. |