[Index]
NormalizedUser
Model ref.: data/NormalizedUser
The full URL would include the host-proxy name: https://[host-proxy].
Variables are enclosed in square brackets.
{ "$schema": "http://json-schema.org/draft-03/schema", "type": "object", "properties": { "username": { "title": "Username", "description": "Login in username.", "type": "string", "maxLength": 1024, "required": true, "readonly": false, "is_password": false }, "buildingName": { "title": "Building", "description": "Building name or number.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "userType": { "title": "User Type", "type": "string", "required": false, "readonly": false, "is_password": false, "displayable": true, "choices": [ { "value": "CUCM Local", "title": "CUCM Local" }, { "value": "VOSS Only", "title": "VOSS Only" }, { "value": "CUCM-LDAP Synced", "title": "CUCM-LDAP Synced" }, { "value": "VOSS-LDAP Synced", "title": "VOSS-LDAP Synced" }, { "value": "Unknown", "title": "Unknown" } ] }, "c": { "title": "Country", "description": "Country name.", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "departmentNumber": { "title": "Department", "description": "Department names and numbers.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "directoryUri": { "title": "Directory URI", "description": "Alphanumeric Directory URI (e.g. SIP URI)", "type": "string" }, "displayName": { "title": "Display Name", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "employeeNumber": { "title": "Employee Number", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "employeeType": { "title": "Employee Type", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "facsimileTelephoneNumber": { "title": "Facsimile Telephone Number", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "givenName": { "title": "Given Name", "description": "Contains strings that are part of the person's name excluding surnames.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "homePhone": { "title": "Home Phone", "description": "Contains strings that represent the user's home phone number(s).", "type": "array", "items": { "type": "string" } }, "ipPhone": { "title": "IP Phone", "description": "Contains strings that represent the user's IP phone number(s).", "type": "array", "items": { "type": "string" } }, "jabberID": { "title": "Jabber ID", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "l": { "title": "City", "description": "Contains the name of a person's locality.", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "mail": { "title": "Email Address", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "manager": { "title": "Manager", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "memberOf": { "title": "Member Of", "description": "The user can be a member of a variety of groups.", "type": "array", "items": { "type": "string" } }, "mobile": { "title": "Mobile", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "o": { "title": "Organization", "description": "The name of the person's organization.", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "objectClass": { "title": "Object Class", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "otherMailbox": { "title": "Other Mailbox", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "ou": { "title": "Organizational Unit", "description": "The name of the person's organization unit.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "photoURL": { "title": "Photo URL", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "physicalDeliveryOfficeName": { "title": "Physical Delivery Office Name", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "postalCode": { "title": "Postal Code", "description": "Contains codes used by a Postal Service to identify postal service zones.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "preferredLanguage": { "title": "Preferred Language", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "sn": { "title": "Surname", "description": "Contains strings for the family names of a person.", "type": "array", "minItems": 0, "required": true, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "st": { "title": "State", "description": "Contains full names of states or provinces.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "street": { "title": "Street", "description": "Contains site information from a postal address.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "telephoneNumber": { "title": "Telephone Number", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "timezone": { "title": "Timezone", "type": "string", "maxLength": 1024, "required": false, "readonly": false, "is_password": false }, "title": { "title": "Title", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "uid": { "title": "Userid", "description": "Contains computer login names for the user.", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "unverifiedMailBox": { "title": "Unverified Mail Box", "type": "array", "minItems": 0, "required": false, "readonly": false, "is_password": false, "items": { "type": "string", "is_password": false } }, "customString1": { "title": "Custom String 1", "description": "Custom String", "type": "string" }, "customString2": { "title": "Custom String 2", "description": "Custom String", "type": "string" }, "customString3": { "title": "Custom String 3", "description": "Custom String", "type": "string" }, "customString4": { "title": "Custom String 4", "description": "Custom String", "type": "string" }, "customString5": { "title": "Custom String 5", "description": "Custom String", "type": "string" }, "customListOfStrings1": { "title": "Custom List of Strings 1", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } }, "customListOfStrings2": { "title": "Custom List of Strings 2", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } }, "customListOfStrings3": { "title": "Custom List of Strings 3", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } }, "customListOfStrings4": { "title": "Custom List of Strings 4", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } }, "customListOfStrings5": { "title": "Custom List of Strings 5", "description": "Custom List of Strings", "type": "array", "items": { "type": "string" } } }, "schema_version": "1.7" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/NormalizedUser/add/ |
|
The GUI Add form of data/NormalizedUser 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/NormalizedUser | 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/NormalizedUser/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/NormalizedUser/[pkid1]", "/api/data/NormalizedUser/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/NormalizedUser/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/NormalizedUser; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/NormalizedUser/export/ |
|
{ "hrefs":["/api/data/NormalizedUser/[pkid1]", "/api/data/NormalizedUser/[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/NormalizedUser and the JSON format can be used to import instances of data/NormalizedUser.
GET http://[host-proxy]/api/data/NormalizedUser/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/NormalizedUser | POST | /api/data/NormalizedUser/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/NormalizedUser/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/NormalizedUser/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/NormalizedUser/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/NormalizedUser/ |
|
The data/NormalizedUser schema and all instances as JSON. |
(The list will return 0 to 3 data/NormalizedUser instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 0, "total_limit": null, "order_by": "username", "direction": "asc", "current": "/api/data/NormalizedUser/?skip=0&limit=3&order_by=username&direction=asc&traversal=down" }, "operations": [ "export", "help", "update", "migration", "get", "list", "remove", "move", "configuration_template", "add", "export_bulkload_template", "transform", "bulk_update_form", "field_display_policy" ], "meta": { "model_type": "data/NormalizedUser", "summary_attrs": [ { "name": "username", "title": "Username" }, { "name": "givenName", "title": "Given Name" }, { "name": "sn", "title": "Surname" }, { "name": "mail", "title": "Email Address" }, { "name": "userType", "title": "User Type" }, { "name": "departmentNumber", "title": "Department" }, { "name": "street", "title": "Street" }, { "name": "l", "title": "City" }, { "name": "st", "title": "State" }, { "name": "postalCode", "title": "Postal Code" }, { "name": "buildingName", "title": "Building" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "title format", "business_key": { "unique": [ "username" ], "hierarchy": true }, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "list", "get", "add", "update", "remove", "import", "execute", "export_bulkload_template", "bulk_update", "configuration_template", "field_display_policy", "export", "migration", "help" ], "schema_version": "1.7", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/data/NormalizedUser/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/NormalizedUser/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "POST", "class": "export", "href": "/api/data/NormalizedUser/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/data/NormalizedUser/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/data/NormalizedUser/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/data/NormalizedUser/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "migration": { "method": "GET", "class": "migration", "href": "/api/data/NormalizedUser/migration/?hierarchy=[hierarchy]", "support_async": false, "title": "Migration Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/NormalizedUser/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/NormalizedUser/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } }, { "bulk_update": { "method": "POST", "class": "update", "href": "/api/data/NormalizedUser/bulk_update/?hierarchy=[hierarchy]", "support_async": true, "title": "Bulk Modify" } } ] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/NormalizedUser. | GET | /api/data/NormalizedUser/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/NormalizedUser as HTML |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | POST | /api/data/NormalizedUser/bulk_update/ |
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/NormalizedUser/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/NormalizedUser/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Import | POST | /api/data/NormalizedUser/[pkid]/import | 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 data/NormalizedUser; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/NormalizedUser/[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/NormalizedUser and the JSON format can be used to import instances of data/NormalizedUser.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Execute | POST | /api/data/NormalizedUser/[pkid]/execute | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/NormalizedUser/[pkid] | hierarchy=[hierarchy] | The data/NormalizedUser instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/NormalizedUser/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/NormalizedUser. |