This call allows the client to view the Job history for any particular job. This might be used together with retrieveActiveJobsList
to check the status of all jobs for the client and to download them when the status changes to complete. The status information uses the event element. This gives the status for each event that takes place when a job is being worked on.
The job history is described in detail in the Job History section.
Here is an example:
<history> <event stage=”job” status=”start” timeStamp=”2004-01-01T18:00:00.000Z”> <event stage=”evaluation” status=”start” timeStamp=”2004-01-01T18:00:00.000Z”> <event stage=”job” status=”estimated completion” date=”2004-02-02T18:00:00.000Z” timeStamp=”2004-01-01T18:00:00.000Z”> <event stage=”evaluation” status=”complete” timeStamp=”2004-01-03T18:00:00.000Z”> <event stage=”job” status=”estimated completion” date=”2004-02-04T18:00:00.000Z” timeStamp=”2004-01-06T18:00:00.000Z”> </history>
<xsd:element name="retrieveJobInformationRequest"> <xsd:complexType> <xsd:sequence> <xsd:element ref="types:ticket"/> </xsd:sequence> </xsd:complexType> </xsd:element>
<xsd:element name="retrieveJobInformationResponse"> <xsd:complexType> <xsd:sequence> <xsd:element ref="types:ticket"/> <xsd:element ref="types:count-group"/> <xsd:element ref="types:service"/> <xsd:element ref="types:domain"/> <xsd:element ref="types:languagePair"/> <xsd:element ref="types:requiredBy"/> <xsd:element ref="types:info"/> <xsd:element ref="types:purchaseOrder"/> <xsd:element ref="types:associations"/> <xsd:element ref="types:history"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="count-group"> <xsd:complexType> <xsd:sequence minOccurs="0" maxOccurs="unbounded"> <xsd:element name="count" type="xlf:ElemType_count"/> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required"/> </xsd:complexType> <xsd:element name="associations"> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unbounded" minOccurs="0" ref="types:resource"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="resource"> <xsd:complexType> <xsd:attribute name="uri" type="anyURI" use="required"/> </xsd:complexType> </xsd:element> <xsd:element name="history"> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unbounded" minOccurs="0" ref="types:event"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="event"> <xsd:complexType> <xsd:attribute name="timeStamp" type="xsd:dateTime" use="required"/> <xsd:attribute name="stage" type="xsd:string" use="required"/> <xsd:attribute name="status" type="WSTransStatus:CodeContentType" use="required"/> <xsd:attribute name="date" type="xsd:date" use="optional"/> <xsd:attribute name="additionalInformation" type="xsd:string" use="optional"/> </xsd:complexType> </xsd:element>
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <retrieveJobInformationRequest xmlns="urn:oasis:names:tc:wstrans:v1:types"> <ticket jobId="job-001" projectId="proj-002" userId="user-003"/> </retrieveJobInformationRequest> </soapenv:Body> </soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <retrieveJobInformationResponse xmlns="urn:oasis:names:tc:wstrans:v1:types"> <ticket jobId="job-001" projectId="proj-002" userId="user-003"/> <count-group name='project-count'> <count count-type="total" unit="words">1001</count> </count-group> <service name="01.00"/> <domain>01.00</domain> <languagePair> <source> <locale country="US" language="en"/> </source> <target> <locale country="FR" language="fr"/> </target> </languagePair> <requiredBy date="2004-12-01T18:00:00.000Z"/> <info>Info string</info> <purchaseOrder id="PO-123-456"/> <associations> <resource uri="http://www.simship.com/TM.zip"/> <resource uri="ftp://ftp.connectcgs.com/pub/referenceDoc.pdf"/> </associations> <history> <event timeStamp="2004-10-01T09:00:00.000Z" stage="job" status="01" date="2004-09-20T07:00:00.000Z"/> <event timeStamp="2004-10-02T12:00:00.000Z" stage="translation" status="02" date="2004-09-24T09:00:00.000Z"/> </history> </retrieveJobInformationResponse> </soapenv:Body> </soapenv:Envelope>