Job.Get
August 10, 2015
Description
Gets the details of a job by the Job ID.
Required parameters
JobID (comma-separated list of JobID’s)
Optional parameters
IncludeJobStatistics (‘Yes’, ‘No’ – Yes to include job statistics. Default is No)
Returns
A response containing the Status, Command, CreatedDate, CreatedBy, AccountID, AgentID, and ErrorMessage of a particular job in the system.
Example request url
https://api.mozenda.com/rest?WebServiceKey=C70E1F84-E12B-4e73-B199-2EE6D43AF44E&Service=Mozenda10&Operation=Job.Get&JobID=EE64EC0E-F233-4549-8DF0-852298965F81
Example response
<?xml version="1.0" encoding="utf-8" ?> <JobGetResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Result>Success</Result> <Job> <ActiveJob>True</ActiveJob> <JobID>EE64EC0E-F233-4549-8DF0-852298965F81</JobID> <JobType>WebPageHarvest</JobType> <Created>2008-11-05 17:04:36</Created> <Modified>2008-11-14 13:20:19</Modified> <Status>Running</Status> <Started /> <Ended /> <ScheduleID /> <ScheduleItemType>WebPageHarvest</ScheduleItemType> <ScheduleItemID>1001</ScheduleItemID> <ErrorCode /> <ErrorMessage /> <ErrorFirst /> <ErrorLast /> <ErrorCount /> <WarningFirst /> <WarningLast /> <WarningCount /> </Job> </JobGetResponse>