/mcpListing Specific Tenant Related ScheduleSets by System Administrator In Cisco Unity Connection 10.5(2) and later, the system administrator can use TenantObjectID to list the specific tenant related schedulesets using the following URI: GET https://<connection-server>/vmrest/schedulesets?query=(TenantObjectId is <Tenant-ObjectId>) To get the TenantObjectID, use the following URI: GET https://<connection-server>/vmrest/tenants Retrieving a ScheduleSet To retrieve a single ScheduleSet, an administrator makes a GET to the schedulesets resource, specifying the ObjectId of the requested ScheduleSet in the URI: GET /vmrest/schedulesets/30d9c0df-534b-437a-a6b7-439adfd850da This would return the following on success: 200 OK <?xml version="1.0" encoding="UTF-8"?> <ScheduleSet> <URI>/vmrest/schedulesets/30d9c0df-534b-437a-a6b7-439adfd850da</URI> <ObjectId>30d9c0df-534b-437a-a6b7-439adfd850da</ObjectId> <DisplayName>Weekdays</DisplayName> <OwnerLocationObjectId>6a56503e-c1c8-406c-85fd-76be40994d39</OwnerLocationObjectId> <OwnerLocationURI>/vmrest/locations/connectionlocations/6a56503e-c1c8-406c-85fd-76be40994d39</OwnerLocationURI> <Undeletable>true</Undeletable> <ScheduleSetMemberURI>/vmrest/schedulesets/30d9c0df-534b-437a-a6b7-439adfd850da/schedulesetmembers</ScheduleSetMemberURI> </ScheduleSet> This would return the following if the specified ScheduleSet does not exist: 404 Not Found <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ErrorDetails> <errors> <code>NOT_FOUND</code> <message>scheduleset - ObjectId=30d9c0df-534b-437a-a6b7-439adfd850da</message> </errors> </ErrorDetails> Adding a ScheduleSet To add a new ScheduleSet, an administrator makes a POST to the schedulesets resource, specifying the new ScheduleSet via XML: POST /vmrest/schedulesets <ScheduleSet> <DisplayName>Night Shift</DisplayName> <OwnerLocationObjectId>6a56503e-c1c8-406c-85fd-76be40994d39</OwnerLocationObjectId> </ScheduleSet> Cisco Unity Connection Provisioning Interface (CUPI) API 716 Cisco Unity Connection Provisioning Interface (CUPI) API for Schedules Listing Specific Tenant Related ScheduleSets by System Administrator