McDewey

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

Page 761

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

Cisco Unity Connection Provisioning Interface (CUPI) API -- Holiday Schedules Holiday Schedules API Administrator can use this API to create/update/delete/fetch the holiday schedules. Various attributes of holiday schedules can also be updated using this API. Listing the Holiday Schedule Details The following is an example of the GET request that list the holiday schedules: GET https://<connection-server>/vmrest/schedules/<holidayschedule-objectid>/scheduledetails The following is the response from the above GET request and the actual response will depend upon the information given by you: <ScheduleDetails total="1"> <ScheduleDetail> <URI>/vmrest/schedules/f62e3780-4bfc-4c8f-91a4-3ac4e35803c4/scheduledetails/894f29bc-8ff1-4183-b8c1-f1c304d9109b</URI> <ObjectId>894f29bc-8ff1-4183-b8c1-f1c304d9109b</ObjectId> <ScheduleObjectId>f62e3780-4bfc-4c8f-91a4-3ac4e35803c4</ScheduleObjectId> <ScheduleURI>/vmrest/schedules/f62e3780-4bfc-4c8f-91a4-3ac4e35803c4</ScheduleURI> <IsActiveMonday>false</IsActiveMonday> <IsActiveTuesday>false</IsActiveTuesday> <IsActiveWednesday>false</IsActiveWednesday> <IsActiveThursday>false</IsActiveThursday> <IsActiveFriday>false</IsActiveFriday> <IsActiveSaturday>true</IsActiveSaturday> <IsActiveSunday>true</IsActiveSunday> <StartTime>480</StartTime> <EndTime>1020</EndTime> </ScheduleDetail> </ScheduleDetails> Response Code: 200 JSON Example To list all the holiday schedules, do the following: GET https://<connection-server>/vmrest/schedules/<holidayscheduleobjectid>/scheduleobjectid 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: Cisco Unity Connection Provisioning Interface (CUPI) API 729 Cisco Unity Connection Provisioning Interface (CUPI) API for Schedules Cisco Unity Connection Provisioning Interface (CUPI) API -- Holiday Schedules