SubmitTask
post
/CycleService/rest/services/submitTask
To Submit Cycle Batch for Processing
Request
Supported Media Types
- application/json
Header Parameters
Root Schema : schema
Type:
string
Response
Supported Media Types
- application/json
Default Response
successful operation
Examples
This example describes how to create a submit cycle batch for processing.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X POST -H "Accept: application/json" -u username:password "server:port/CycleService/rest/services/submitTask
Example Request Body
The following shows an example of the request body in JSON format:
"{ "cycleLevel": "03", "cycleAction": "P", "activityId": "C61EC1A9-1522-465F-A2A5-8A9C0DD989CE", "companyId": "05711222-7DB3-4EBD-A821-57A30A699B88", "processAll": false }"
Example Response Body
The following shows an example of the response body in JSON format:
"{ "interruptKey:": "CycleProcess:Interrupt", "cycleId": "0667119C-7D77-4147-AA58-964659F790A9" }"