The jobqueueRequeueJobs Web API Method

Requeue a job.

Version: 1.3

Required Permissions: Full

HTTP method: POST

Supported by Editions: Zend Server

Request Parameters:  

Parameter

 Type

Required

Description

jobs

Array

Yes

A list of job ids

Expected Response Code: 200 OK - Returned for successfully retrieving a list of jobs according to the provided parameters. For more information see Response Format.

Possible Action Specific Error Codes: None

Example

Usage Example

Request

POST /ZendServer/Api/jobqueueRequeueJobs

jobs[]=1&jobs[]=2

Response

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.3">

<requestData>

<apiKeyName><![CDATA[Admin]]></apiKeyName>

<method>jobqueueDeleteJob</method>

</requestData>

<responseData>

<jobs>

<job>

<id>1</id>

<type>absolute</type>

<nodeId>5</nodeId>

<queueName>default</queueName>

<status>pending</status>

<priority>normal</priority>

<persistent>No</persistent>

<script><![CDATA[http://url/of/job]]></script>

<name><![CDATA[myqueue]]></name>

<creationTime></creationTime>

<startTime></startTime>

<endTime></endTime>

<schedule></schedule>

<scheduleTime></scheduleTime>

<scheduleId></scheduleId>

<job>

<job>

<id>2</id>

<type>absolute</type>

<nodeId>5</nodeId>

<queueName>default</queueName>

<status>pending</status>

<priority>normal</priority>

<persistent>No</persistent>

<script><![CDATA[http://url/of/job]]></script>

<name><![CDATA[myqueue]]></name>

<creationTime></creationTime>

<startTime></startTime>

<endTime></endTime>

<schedule></schedule>

<scheduleTime></scheduleTime>

<scheduleId></scheduleId>

<job>

</jobs>

<total>2</total>

</responseData>

<zendServerAPIResponse>