Use the Get All Schedules method to list the schedules for services.
HTTP method: GET
URI: /scheduler/connection_name/
Request payload content type: None
Response payload content type: application/xml
Expected response: HTTP/1.1 200 OK
The method URI contains the following parameters.
| Name | Description | Required |
|---|---|---|
| connection_name | Enter the name that identifies the Optim™ directory connection that contains the schedules. | Y |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:schedules xmlns="http://www.w3.org/2005/Atom"
xmlns:ns2="http://www.ibm.com/optim/xsd/scheduler/9.1.0">
<link href="http://interface:8080/server/scheduler/OPTIMDIR1/fbf1cdd5-bdf7-4682-96ad-722672af0001"/>
<link href="http://interface:8080/server/scheduler/OPTIMDIR1/fbf1cdd5-bdf7-4682-96ad-722672af0002"/>
</ns2:schedules>
The following response codes can be received when the method is complete.
| Response code | Description |
|---|---|
| 200 | OK. The schedule list was successfully returned. |
| 400 | Bad Request. A malformed request was submitted. |
| 404 | Not Found. No schedules were found. |