[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": { "username": { "required": true, "type": "string", "description": "The username corresponding to the the Username in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "User Name" }, "first_name": { "type": "string", "description": "The first name corresponding to the user first name in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "First Name" }, "last_name": { "type": "string", "description": "The last name corresponding to user last name in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "Last Name" }, "language": { "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] }, "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" }, "set_language": { "default": false, "required": false, "type": "boolean", "description": "Indicate if the user's language is set by language default in the hierarchy.", "title": "Set by Default Language" }, "role": { "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] }, "password": { "is_password": true, "description": "The password corresponding to the user password in Cisco Unified Communications Manager. The password is hidden.", "title": "Password", "pattern": ".{8,}", "store_encrypted": true, "type": "string" }, "email": { "required": false, "type": "string", "description": "The email address corresponding to the the Username in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "Email Address" } }, "schema_version": "0.6.8" }
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": 73 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "0.6.8", "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": "last_name", "title": "Last Name" }, { "name": "first_name", "title": "First Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "resources": [ { "pkid": "5f3af070ce894e001207e8aa", "meta": { "tags": [], "cached": true, "title": "acarstel01", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "0.6.8", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5f3af070ce894e001207e8aa", "href": "/api/data/User/5f3af070ce894e001207e8aa/" } ], "parent": [ { "pkid": "5f3ae64ace894e0012057585", "href": "/api/data/HierarchyNode/5f3ae64ace894e0012057585" } ], "foreign_key": [ { "pkid": "5f3ae64ece894e00120576b5", "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/5f3af070ce894e001207e8aa/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/User/5f3af070ce894e001207e8aa/", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/User/5f3af070ce894e001207e8aa/clone/?schema=&schema_rules=true", "method": "GET", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/data/User/5f3af070ce894e001207e8aa/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "method": "PATCH", "href": "/api/data/User/5f3af070ce894e001207e8aa/+tag/", "class": "tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "method": "PATCH", "href": "/api/data/User/5f3af070ce894e001207e8aa/+tag_version/", "class": "tag_version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/data/User/5f3af070ce894e001207e8aa/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/User/5f3af070ce894e001207e8aa/help", "method": "GET", "title": "Help" } } ], "model_type": "data/User", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae64ace894e0012057585", "5f3af070ce894e001207e8aa" ], "summary_attrs": [ { "name": "username", "title": "User Name" }, { "name": "last_name", "title": "Last Name" }, { "name": "first_name", "title": "First Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "username": "acarstel01", "first_name": "Andy", "last_name": "Carstel", "language": "en-us", "pkid": "5f3af070ce894e001207e8b6", "set_language": true, "role": "CL1-AB-C-HannoverSelfService", "hierarchy_friendly_name": "CL1-AB-C-Hannover (Site)", "email": "[email protected]", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Hannover" } }, { "pkid": "5f3af060ce894e001207df1c", "meta": { "tags": [], "cached": true, "title": "adervers01", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "0.6.8", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5f3af060ce894e001207df1c", "href": "/api/data/User/5f3af060ce894e001207df1c/" } ], "parent": [ { "pkid": "5f3ae62dce894e0012056f66", "href": "/api/data/HierarchyNode/5f3ae62dce894e0012056f66" } ], "foreign_key": [ { "pkid": "5f3ae633ce894e00120570b7", "path": "role", "model_type": "data/Role" }, { "pkid": "5df34f15ce894e0012c600bb", "path": "language", "model_type": "data/Language" } ] }, "actions": [ { "update": { "support_async": true, "href": "/api/data/User/5f3af060ce894e001207df1c/", "title": "Modify", "class": "update", "method": "PUT" } }, { "remove": { "support_async": true, "href": "/api/data/User/5f3af060ce894e001207df1c/", "title": "Delete", "class": "delete", "method": "DELETE" } }, { "clone": { "support_async": false, "href": "/api/data/User/5f3af060ce894e001207df1c/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/5f3af060ce894e001207df1c/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/data/User/5f3af060ce894e001207df1c/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/data/User/5f3af060ce894e001207df1c/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "href": "/api/data/User/5f3af060ce894e001207df1c/", "title": "Get", "class": "get", "method": "GET" } }, { "help": { "support_async": false, "href": "/api/data/User/5f3af060ce894e001207df1c/help", "title": "Help", "class": "help", "method": "GET" } } ], "model_type": "data/User", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae62dce894e0012056f66", "5f3af060ce894e001207df1c" ], "summary_attrs": [ { "name": "username", "title": "User Name" }, { "name": "last_name", "title": "Last Name" }, { "name": "first_name", "title": "First Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "username": "adervers01", "first_name": "Andy", "last_name": "Dervers", "language": "en-us", "pkid": "5f3af060ce894e001207df28", "set_language": true, "role": "CL1-AB-C-RennesSelfService", "hierarchy_friendly_name": "CL1-AB-C-Rennes (Site)", "email": "[email protected]", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Rennes" } }, { "pkid": "5f3af07cce894e001207ef62", "meta": { "tags": [], "cached": true, "title": "andym", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "0.6.8", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5f3af07cce894e001207ef62", "href": "/api/data/User/5f3af07cce894e001207ef62/" } ], "parent": [ { "pkid": "5f3ae5bace894e00120559f8", "href": "/api/data/HierarchyNode/5f3ae5bace894e00120559f8" } ], "foreign_key": [ { "pkid": "5f3ae55bce894e00120539d1", "path": "role", "model_type": "data/Role" }, { "pkid": "5df34f15ce894e0012c600bb", "path": "language", "model_type": "data/Language" } ] }, "actions": [ { "update": { "support_async": true, "method": "PUT", "href": "/api/data/User/5f3af07cce894e001207ef62/", "class": "update", "title": "Modify" } }, { "remove": { "support_async": true, "method": "DELETE", "href": "/api/data/User/5f3af07cce894e001207ef62/", "class": "delete", "title": "Delete" } }, { "clone": { "support_async": false, "method": "GET", "href": "/api/data/User/5f3af07cce894e001207ef62/clone/?schema=&schema_rules=true", "class": "clone", "title": "Clone" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "method": "GET", "href": "/api/data/User/5f3af07cce894e001207ef62/export/", "class": "export", "view": "/api/view/ExportData/add/" } }, { "tag": { "title": "Tag", "support_async": true, "class": "tag", "href": "/api/data/User/5f3af07cce894e001207ef62/+tag/", "method": "PATCH", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "title": "Tag Version", "support_async": true, "class": "tag_version", "href": "/api/data/User/5f3af07cce894e001207ef62/+tag_version/", "method": "PATCH", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "support_async": false, "method": "GET", "href": "/api/data/User/5f3af07cce894e001207ef62/", "class": "get", "title": "Get" } }, { "help": { "support_async": false, "method": "GET", "href": "/api/data/User/5f3af07cce894e001207ef62/help", "class": "help", "title": "Help" } } ], "model_type": "data/User", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3af07cce894e001207ef62" ], "summary_attrs": [ { "name": "username", "title": "User Name" }, { "name": "last_name", "title": "Last Name" }, { "name": "first_name", "title": "First Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "username": "andym", "first_name": "Andy", "last_name": "Mathews", "language": "en-us", "pkid": "5f3af07cce894e001207ef6e", "email": "[email protected]", "role": "AB_GroupSelfService", "hierarchy_friendly_name": "AB-C (IntermediateNode)", "set_language": true, "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C" } } ] }
(Show the first instance)
{ "pkid": "5f3af070ce894e001207e8aa", "meta": { "tags": [], "cached": false, "title": "acarstel01", "business_key": { "hierarchy": true, "unique": [ "username" ] }, "schema_version": "0.6.8", "references": { "parent": [ { "pkid": "5f3ae64ace894e0012057585", "href": "/api/data/HierarchyNode/5f3ae64ace894e0012057585" } ], "self": [ { "pkid": "5f3af070ce894e001207e8aa", "href": "/api/data/User/5f3af070ce894e001207e8aa/" } ], "foreign_key": [ { "pkid": "5f3ae64ece894e00120576b5", "path": "role", "model_type": "data/Role" }, { "pkid": "5df34f15ce894e0012c600bb", "path": "language", "model_type": "data/Language" } ], "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "children": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/data/User/5f3af070ce894e001207e8aa/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/data/User/5f3af070ce894e001207e8aa/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "clone": { "support_async": false, "class": "clone", "href": "/api/data/User/5f3af070ce894e001207e8aa/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/5f3af070ce894e001207e8aa/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/5f3af070ce894e001207e8aa/+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/5f3af070ce894e001207e8aa/+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/5f3af070ce894e001207e8aa/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/data/User/5f3af070ce894e001207e8aa/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "data/User", "path": [ "6t0ggef2c0deab00hb595101", "5df35e48ce894e0012b345a1", "5f3ae1fcce894e001204e0ed", "5f3ae256ce894e001204f7db", "5f3ae552ce894e00120537fa", "5f3ae5bace894e00120559f8", "5f3ae64ace894e0012057585", "5f3af070ce894e001207e8aa" ], "summary_attrs": [ { "name": "username", "title": "User Name" }, { "name": "last_name", "title": "Last Name" }, { "name": "first_name", "title": "First Name" }, { "name": "email", "title": "Email Address" }, { "name": "role", "title": "Role" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "19.3.1", "tagged_versions": [] }, "data": { "username": "acarstel01", "first_name": "Andy", "last_name": "Carstel", "language": "en-us", "pkid": "5f3af070ce894e001207e8b6", "set_language": true, "role": "CL1-AB-C-HannoverSelfService", "email": "[email protected]" } }
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. |