McDewey

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

Page 764

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

Updating the Holiday Schedule The following is an example of the PUT request that can be used to modify the holiday schedule where only description field can be updated: The following is an example of the PUT request that can be used to modify the holiday schedule where only description field can be updated: PUT https://<connection-server>/vmrest/schedules/<holidayscheduleobjectid> Request Body: <Schedule> <DisplayName>Texoma1_Holiday</DisplayName> <OwnerLocationObjectId>5150cb31-a665-47d8-a311-9cc4524810d3</OwnerLocationObjectId> </Schedule> Response Code: 204 JSON Example To update the holiday schedule, do the following: PUT https://<connection-server>/vmrest/schedules/<holidayscheduleobjectid> Accept: application/json Content-Type: application/json Connection: keep-alive Request Body: { "DisplayName":"Texoma1_Holiday ", "OwnerLocationObjectId":"5150cb31-a665-47d8-a311-9cc4524810d3" } 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 Deleting a Holiday Schedule This request can be used to delete an existing holiday Schedule; an administrator makes a DELETE to the schedules resource, specifying the object ID of the holiday schedule they wish to delete in the URI: DELETE https://<connection-server>/vmrest/schedules/<holidayscheduleobjectid> Response Code: 204 JSON Example DELETE https://<connection-ip>/vmrest/schedules/<holidayschedule-objectid> Accept: application/json Connection: keep-alive Response Code: 204 Cisco Unity Connection Provisioning Interface (CUPI) API 732 Cisco Unity Connection Provisioning Interface (CUPI) API for Schedules Updating the Holiday Schedule