McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 204

↗ View in doc context
page
204
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::170

Response Code: 201 /vmrest/users/0347d21e-c238-4079-8d77-662499c058ba JSON Example To create user, do the following: POST https://<Connection-server>/vmrest/adminusers?templateAlias=administratortemplate Accept: application/json Content_type: application/json Connection: keep_alive Request Body: { "UseDefaultLanguage" : "true" "Alias":"Davis", "DisplayName":"George" "FirstName" : "George" "LastName" : "Davis" "TimeZone":"190" "UseDefaultTimeZone" : "true" "IsTemplate" : "false" "Language" : "1033" "LdapType" : "3" "Initials" : "GD" "Title" : "Trainee" "Address" : "HNo4 Street Ville Parle" "State" : "Mumbai" "Undeletable" : "false" } The following is the response from the above POST request and the actual response will depend upon the information given by you: Response Code: 201 /vmrest/users/0347d21e-c238-4079-8d77-662499c058ba Updating Admin User without Mailbox The following is an example of the PUT request that update details of a user without mailbox: PUT https://<connection-server>/vmrest/adminusers/<user-objectid> <user> <Alias>Texoma</Alias> <DisplayName>richardtexoma</DisplayName> <IsTemplate>false</IsTemplate> <Language>1020</Language> <LocationObjectId>35ac99ba-e098-4195-9ffb-cecb5a7cab65</LocationObjectId> <Undeletable>true</Undeletable> <UseDefaultTimeZone>true</UseDefaultTimeZone> <ReadOnly>true</ReadOnly> <TimeZone>140</TimeZone> </user> The following is the response from the above PUT request and the actual response will depend upon the information given by you: Response Code: 204 Cisco Unity Connection Provisioning Interface (CUPI) API 172 Cisco Unity Connection Provisioning Interface (CUPI) API -- User Management API Updating Admin User without Mailbox