RulePoint
- RulePoint 6.1
- All Products
POST http://invrw28cep14:8080/rulepoint/api/projects/1/sources/de27147d-22cf-4c62-b7c7-cbc365548717/schedules Accept: application/json Content-Type: application/json Cookie: JSESSIONID=<VALID SESSION ID>
{ "startDate": "2014-01-22T09:48:52+0530", "endDate": "2014-01-22T09:53:52+0530", "repeatInterval": 5000, "isScheduledForSpecificDaysOfWeek": false, "scheduleType": "STATIC" }
{ "id": "1997", "self": { "rel": "self", "href": "/api/projects/140/sources/0e923d83-0ac3-4f18-9979-f64159798992/schedules/1997", "id": "1997" }, "actions": [ { "rel": "update", "href": "/api/projects/140/sources/0e923d83-0ac3-4f18-9979-f64159798992/schedules/1997", "type": "PUT" }, { "rel": "delete", "href": "/api/projects/140/sources/0e923d83-0ac3-4f18-9979-f64159798992/schedules/1997", "type": "DELETE" } ], "scheduleType": "STATIC", "runState": "ACTIVE", "startDate": "2014-01-22T09:48:52+05:30", "isScheduledForSpecificDaysOfWeek": false, "repeatInterval": 5000, "numRuns": 0, "endDate": "2014-01-22T09:53:52+05:30" }
POST http://invrw28cep14:8080/rulepoint/api/projects/1/sources/de27147d-22cf-4c62-b7c7-cbc365548717/schedules Accept: application/xml Content-Type: application/xml Cookie: JSESSIONID=<VALID SESSION ID>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <schedule> <scheduleType>STATIC</scheduleType> <startDate>2013-09-25T19:30:00+0530</startDate> <endDate>2013-10-30T19:30:00+0530</endDate> <isScheduledForSpecificDaysOfWeek>false</isScheduledForSpecificDaysOfWeek> <numRuns>0</numRuns> <repeatInterval>120000</repeatInterval> </schedule>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <schedule> <actions> <action> <href>/api/projects/1/sources/de27147d-22cf-4c62-b7c7-cbc365548717/schedules/2</href> <rel>update</rel> <type>PUT</type> </action> <action> <href>/api/projects/1/sources/de27147d-22cf-4c62-b7c7-cbc365548717/schedules/2</href> <rel>delete</rel> <type>DELETE</type> </action> </actions> <id>2</id> <name/> <self> <href>/api/projects/1/sources/de27147d-22cf-4c62-b7c7-cbc365548717/schedules/2</href> <id>2</id> <rel>self</rel> </self> <endDate>2013-09-30T19:30:00+0530</endDate> <isScheduledForSpecificDaysOfWeek>false</isScheduledForSpecificDaysOfWeek> <numRuns>0</numRuns> <repeatInterval>120000</repeatInterval> <runState>ACTIVE</runState> <scheduleType>STATIC</scheduleType> <startDate>2013-09-25T19:30:00+0530</startDate> </schedule>