GetTodaysSchedule |
This method is used to retrieve schedules that are to run on the current date. GetTodaysSchedule
is a part of the Methodset Scheduler 1.0 in the Cordys Scheduler application package.
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <GetTodaysSchedule xmlns="http://schemas.cordys.com/scheduler/1.0"/> </SOAP:Body> </SOAP:Envelope>
SOAP Response
<data> <GetTodaysScheduleResponse xmlns="http://schemas.cordys.com/scheduler/1.0"> <dataset> <tuple> <old> <schedule count="-1" templateid="1000"> <scheduleid>{23ED17AC-FD44-41DB-B906-3314850A44BC}</scheduleid> <name>Testing</name> <organizationalcontext>o=system,cn=cordys,o=test.com</organizationalcontext> <datetime> <date>-1</date> <day>-1</day> <month>-1</month> <year>-1</year> <hour>-1</hour> <minute>0</minute> <second>0</second> <starttime>2007-02-22 13:00:00</starttime> <endtime>-1</endtime> </datetime> <scheduleat>2007-03-07 12:00:00</scheduleat> <listener>cn=Northwind Service,cn=soap nodes,o=system,cn=cordys,o=test.com</listener> <parameters> <GetEmployee xmlns="http://schemas.cordys.com/1.0/demo/northwind"> <EmployeeID>101</EmployeeID> </GetEmployee> </parameters> <owner>cn=Jdoe,cn=organizational users,o=system,cn=cordys,o=test.com</owner> </schedule> </old> </tuple> </dataset> </GetTodaysScheduleResponse> </data>
Response Parameters
Parameter |
Description |
---|---|
count |
Number of times the schedule instance will be executed:
|
templateid |
ID of the schedule model |
name |
Name of the schedule |
organizationalcontext |
Organization in which the schedule is set to run |
datetime |
Details of the schedule types as defined in the schedule model. For example, daily, hourly, and so on. If the model is defined only for manual execution, then the value will be 'runnow'. |
scheduleat |
Date and time when the schedule will run next |
listener (deprecated) |
DN of the service container, which must participate when the schedule is executed at the specified time. The value of the listener is based on the actions defined in the schedule model. Do not depend on the value of the listener as it is deprecated. |
parameters |
SOAP request that will be considered for triggering the action at the scheduled time |
owner |
User who instantiated the schedule. If the 'auto-deploy' is on, then the user will be the same as the user who deployed the model. If the 'auto-deploy' is off, then it will be the user who activated the schedule. |