McDewey

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

Page 756

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

A ScheduleSet can have at most 1 Schedule marked as Included, and that Schedule must not be a Holiday Schedule. A ScheduleSet can also have at most 1 Schedule marked as Excluded, and that Schedule must be a Holiday Schedule. If an administrator makes a POST to the schedulesetmembers resource in an attempt to Include or Exclude more than 1 Schedule of a given type to a ScheduleSet, then CUPI will return an HTTP 400 error with a descriptive error message. Similarly, if an administrator makes a POST to the schedulesetmembers resource in an attempt to Include a Holiday Schedule or Exclude a non-Holiday Schedule, then CUPI will return an HTTP 400 error with a descriptive error message. Note Changing a ScheduleSetMember The schedulesetmembers resource does not support the PUT method. In order to change a ScheduleSetMember, an administrator must delete the existing one and then add it back with the requested change. Deleting a ScheduleSetMember To delete an existing ScheduleSetMember for a particular ScheduleSet, an administrator makes a DELETE to the schedulesetmembers resource, specifying the ObjectIds of the ScheduleSet and the ScheduleSetMember they wish to delete in the URI: DELETE /vmrest/schedulesets/30d9c0df-534b-437a-a6b7-439adfd850da/schedulesetmembers/a1f34a57-b642-4d8b-9634-b4c2e37bfd2b This would return the following on success: 204 No Content This would return the following if the specified schedulesetmember does not exist: 404 Not Found <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ErrorDetails> <errors> <code>NOT_FOUND</code> <message>schedulesetmember - ObjectId=a1f34a57-b642-4d8b-9634-b4c2e37bfd2b</message> </errors> </ErrorDetails> ScheduleDetails in CUPI ScheduleDetails are sub-resources of Schedules in CUPI, and thus are at a sub-URI of the schedules resources: +/vmrest/schedules/+{}+<ScheduleObjectId>+{}+/scheduledetails+. A ScheduleDetail object has the following field: Notes Default Field Type Field Name NA None GUID ObjectId NA None String (2048) Subject Owning Schedule None GUID ScheduleObjectId Cisco Unity Connection Provisioning Interface (CUPI) API 724 Cisco Unity Connection Provisioning Interface (CUPI) API for Schedules Changing a ScheduleSetMember