McDewey

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

Page 72

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

</AlternateName> </AlternateNames> Response Code: 200 JSON Example GET https://<connection-server>/vmrest/alternatenames?query=(GlobalUserObjectId%20is%20<user-objectid>) Accept: application/json Connection: keep-alive The following is the response from the above GET request and the actual response will depend upon the information given by you: Response Code: 200 Create a new Alternate Name The mandatory fields for creation of an alternate name are: FirstName, LastName, and GlobalUserObjectId. The URI for getting partition object ID use: GET https://<connection-server>/vmrest/partitions The following URI is fetched from the response body of above URI: https://<connection-server>/vmrest/users/<user-objectid> The Request URI: POST https://<connection-server>/vmrest/alternatenames <AlternateName> <FirstName>sdwds</FirstName> <LastName>asd</LastName> <GlobalUserObjectId>9375d893-c8eb-437b-90bf-7de4b1d0c3e8</GlobalUserObjectId> </AlternateName> 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/alternatenames/f375d893-c8eb-437b-90bf-7de4b1d0c3e8 JSON Example POST https://<connection-server>/vmrest/alternatenames Accept: application/json Content-type: application/json Connection: keep-alive Request body: { "FirstName":"and", "LastName":"gupta", "GlobalUserObjectId":"9375d893-c8eb-437b-90bf-7de4b1d0c3e8" } 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/alternatenames/f375d893-c8eb-437b-90bf-7de4b1d0c3e8 Cisco Unity Connection Provisioning Interface (CUPI) API 40 Cisco Unity Connection Provisioning Interface (CUPI) API -- Alternate Names API Create a new Alternate Name