Wiki
reject Job

This call is allows for the translation to be rejected if it is incomplete or requires correction. It also allows for feedback to be submitted.

A rejected job will remain active even after the rejection deadline returned from retrieveJob.

An entry with the following information will be added to the <history> element returned from retrieveJobInformation:

<event stage="job" status="rejected" timeStamp="2005-01-01T12:00:00.000Z" additionalInformation="Rejection Details"/>

Passed In

Returned

Schema

Request

<xsd:element name="rejectJobRequest">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="types:ticket"/>
      <xsd:element ref="types:reason" />
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

Response

<xsd:element name="rejectJobResponse">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="types:ticket"/>
      <xsd:element ref="types:acknowledgement"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
<xsd:element name="reason" type="xsd:string"/>

Sample Message

Request

<?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>
    <rejectJobRequest xmlns="urn:oasis:names:tc:wstrans:v1:types">
      <ticket jobId="job-001" projectId="proj-002" userId="user-003"/>
      <reason>Poor quality translation. Contact PM for details.</reason>
    </rejectJobRequest>
  </soapenv:Body>
</soapenv:Envelope>

Response

<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>
    <rejectJobResponse xmlns="urn:oasis:names:tc:wstrans:v1:types">
      <ticket jobId="job-001" projectId="proj-002" userId="user-003"/>
      <acknowledgement>Job rejected with reason: Poor quality translation. Contact PM for details.</acknowledgement>
    </rejectJobResponse>
  </soapenv:Body>
</soapenv:Envelope>