Wiki
accept Quote

acceptQuote

Using the Job ticket a quote may be accepted, thereby initiating translation of the job. Payment details in the form of either Purchase Order or Credit Card Info should be supplied.

Passed In

Returned

Schema

Request

<xsd:element name="acceptQuoteRequest">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="types:ticket"/>
      <xsd:element ref="types:purchaseOrder"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
<xsd:element name="purchaseOrder">
  <xsd:complexType>
    <xsd:attribute name="id" type="string" use="required"/>
  </xsd:complexType>
</xsd:element>

Response

<xsd:element name="acceptQuoteResponse">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="types:ticket"/>
      <xsd:element ref="types:acknowledgement"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
<xsd:element name="acknowledgement" type="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>
    <acceptQuoteRequest xmlns="urn:oasis:names:tc:wstrans:v1:types">
      <ticket jobId="job-001" projectId="proj-001" userId="user-001"/>
      <purchaseOrder id="PO-123-456"/>
    </acceptQuoteRequest>
  </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>
    <acceptQuoteResponse xmlns="urn:oasis:names:tc:wstrans:v1:types">
      <ticket jobId="job-001" projectId="proj-001" userId="user-001"/>
      <acknowledgement>Quote for job job-001 accepted with PO: PO-123-456</acknowledgement>
    </acceptQuoteResponse>
  </soapenv:Body>
</soapenv:Envelope>