Description
Provide the reason why a job remains queued.
URL parameters
URL parameter ordering
The URL parameters below are listed in the order they should be entered in the API URL.
| Name | Required | Type | Description |
|---|---|---|---|
JobID |
True | numeric | Unique identifier of the job. Comma-separated list of JobID’s to see the details of more than one job. |
Responses
| Name | Type | Description |
|---|---|---|
Result |
string | Success if the operation was successful. |
JobCount |
numeric | Total number of jobs returned. |
Job |
Job | Information about the jobs in the account. |
Example request url
curl -X GET 'https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=Job.GetWaitInfo&JobID=JobID'
Example responses
XML
<?xml version="1.0" encoding="utf-8"?>
<JobGetWaitInfoResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Result>Success</Result>
<JobCount>1</JobCount>
<JobList>
<Job>
<ItemID>22089</ItemID>
<Modified>2025-11-12 04:17:37</Modified>
<JobType>WebPageHarvest</JobType>
<Status>Queued</Status>
<AccountJobMax>50</AccountJobMax>
<ParentAccountJobMax>100</ParentAccountJobMax>
<JobRestriction>mozenda.com</JobRestriction>
<JobRestrictionGroup>System-US64</JobRestrictionGroup>
<AccountJobRestrictionMax>1</AccountJobRestrictionMax>
<ScheduleItemMax>10</ScheduleItemMax>
<Priority>4</Priority>
<ModificationSeconds>36.5596897</ModificationSeconds>
<WaitInfo>Maximum number of jobs running for schedule item "1197" is "10"</WaitInfo>
</Job>
</JobList>
</JobGetWaitInfoResponse>
JSON (add &ResponseFormat=JSON)
{
"JobCount": 1,
"Job": [
{
"ItemID": 22089,
"Modified": "2025-11-12 04:17:37",
"JobType": "WebPageHarvest",
"Status": "Queued",
"AccountJobMax": "50",
"ParentAccountJobMax": "100",
"JobRestriction": "mozenda.com",
"JobRestrictionGroup": "System-US64",
"AccountJobRestrictionMax": "1",
"ScheduleItemMax": 10,
"Priority": "4",
"ModificationSeconds": 20.9927949,
"WaitInfo": "Maximum number of jobs running for schedule item \"1197\" is \"10\""
}
],
"JsonResult": {
"Command": "Job.GetWaitInfo",
"AutoLoggedIn": false,
"WebConsoleKey": "",
"Result": "Success",
"ErrorCode": "",
"ErrorDescription": "",
"ErrorList": []
}
}