Skip to content

jobEventsXmlV1

Supported, no replacement yet

This endpoint remains fully supported. No replacement exists in the new API yet, and no action is needed. When a replacement ships you will get 12 months' notice, and this site will be updated.

Reference

/rest/workflow/job/jobEventsXML/{period-in-hours}/{client-ID}/{event-ID}


GET
Gets job details for all jobs that have undergone the specified job event ID within the period specified, based on the client ref for the client supplied.

available response representations:
  • 200 - XML

<root>
    <jobs>
        <job jobRef="J007TG" 
             eventDateTime="12/07/2011 12:34:34" 
             eventRef="BDH6" 
             eventDescription="move"             
             eventNotes="notes"
             siteRef="abc123"
             workLogType="23"
             jobClientRef="hfhei"

             workTypeCode="CYCL"
             priorityRef="M34"
             jobDescription="fix tap"
             siteConsiderations="dkjf"
             reportedDateTime="11/07/2011 12:32:17"
             createDateTime="11/07/2011 12:32:17"
             targetDateTime="11/07/2011 12:32:17"
             plannedStartDateTime="11/07/2011 12:32:17"
             plannedEndDateTime="11/07/2011 12:32:17"
             actualStartDateTime="11/07/2011 12:32:17"
             actualEndDateTime="11/07/2011 12:32:17"
             jobVersion="2"
             damage="ABC23"
             versionStatus="3">

            <activities>
                <activity libraryActivityCode="fbfdjj" activityRef"dd" description="fix tap" quantity="2" />
            </activities>

            <appointments>
                <appointment ref="abjdjd" status="5" plannedStartDateTime="12/03/2011 12:34:34"
                             plannedEndDateTime="12/03/2011 12:34:34"
                             actualStartDateTime="12/03/2011 12:34:34"
                             actualEndDateTime="12/03/2011 12:34:34"
                             dayDivision="AM" />
            </appointments>
            <jobCosts>                <jobCost jobCostId="500" jobCostRef="null" description="description" activityCode="abc"                          supplier="" resource="" postingTypeId="1" statusId="1" financialDate="17/11/2011"                         quantity="50.0" unitCost="0.9" total="0.0" cost="0.0" supplierCost="0.9"                          plusTax="0.99" plusUplift="0.9" plusProfit="0.9"/>
            </jobCosts>

        </job>
    </jobs>
</root>


See the Workflow API matrix for the full list of endpoints in this category.