McDewey

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

Page 770

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

Response Code: 201 /vmrest/schedulesets/e01b7fa7-521b-47f7-82d0-bb898aeec903 JSON Example To create a new schedule set, do the following: POST https://<connection-server>/vmrest/schedulesets Accept: application/json Content-Type: application/json Connection: keep-alive Request Body { "DisplayName":"Texoma_DayShift ", "OwnerLocationObjectId":"5150cb31-a665-47d8-a311-9cc4524810d3" } 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/schedulesets/e01b7fa7-521b-47f7-82d0-bb898aeec903 Updating the Schedule Set The following is an example of the PUT request that can be used to modify the schedule set where only description field can be updated: PUT https://<connection-server>/vmrest/schedulesets/<scheduleset-objectid> Request Body <ScheduleSet> <DisplayName>Texoma_Evening</DisplayName> <OwnerLocationObjectId>5150cb31-a665-47d8-a311-9cc4524810d3</OwnerLocationObjectId> </ScheduleSet> Response Code: 204 JSON Example To update the schedule set, do the following: PUT https://<connection-server>/vmrest/schedulesets/<scheduleset-objectid> Accept: application/json Content-Type: application/json Connection: keep-alive Request Body { "DisplayName":"Texoma_Evening ", "OwnerLocationObjectId":"5150cb31-a665-47d8-a311-9cc4524810d3" } Cisco Unity Connection Provisioning Interface (CUPI) API 738 Cisco Unity Connection Provisioning Interface (CUPI) API for Schedules Updating the Schedule Set