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"/>
<xsd:element name="rejectJobRequest"> <xsd:complexType> <xsd:sequence> <xsd:element ref="types:ticket"/> <xsd:element ref="types:reason" /> </xsd:sequence> </xsd:complexType> </xsd:element>
<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"/>
<?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>
<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>