The jobqueueSaveRule Web API Method
Create or modify a job queue rule.
Version: 1.3
Required Permissions: Full
HTTP method: POST
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
url |
Array |
No* |
A URL for the job. |
ruleId |
Integer |
No* |
The ID of the rule. If supplied, the existing rule will be updated |
vars |
Array |
No* |
Variables for the rule, passed to the ZendJobQueue API. |
options |
Array |
Yes |
Rule options, passed to the ZendJobQueue API. |
Expected Response Code: 200 OK - Returned for successfully creating the rule according to the provided parameters. For more information see Response Format.
Response Format: A list of jobs, their dependent information and a total count of records for the provided filter
Possible Action Specific Error Codes: None.
Example
|
Request
Response
|