ServiceApi


Click here for a complete list of operations.

AddRepairOrder

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ServiceAPI.asmx HTTP/1.1
Host: ot.dms.dealertrack.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "opentrack.dealertrack.com/AddRepairOrder"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddRepairOrder xmlns="opentrack.dealertrack.com">
      <RepairOrder>
        <CustomerNumber>int</CustomerNumber>
        <CommonConsumerId>guid</CommonConsumerId>
        <Dealer>
          <CompanyNumber>string</CompanyNumber>
          <EnterpriseCode>string</EnterpriseCode>
          <ServerName>string</ServerName>
        </Dealer>
        <LineItems>
          <LineItem>
            <Comments>string</Comments>
            <CounterPersonID>string</CounterPersonID>
            <LaborOpCode>string</LaborOpCode>
            <LineStatus>string</LineStatus>
            <LineType>string</LineType>
            <ServiceDepartmentKey>string</ServiceDepartmentKey>
            <ServiceContractSequenceNumber>string</ServiceContractSequenceNumber>
            <OverrideLaborRate>decimal</OverrideLaborRate>
            <Part xsi:nil="true" xmlns="opentrack.dealertrack.com/transitional" />
            <SequenceNumber>int</SequenceNumber>
            <ServiceLineNumber>int</ServiceLineNumber>
            <ServiceType>string</ServiceType>
            <TechnicianID>string</TechnicianID>
            <TransCode>string</TransCode>
            <EstimateLaborHours>decimal</EstimateLaborHours>
            <LaborRateLevel>string</LaborRateLevel>
          </LineItem>
          <LineItem>
            <Comments>string</Comments>
            <CounterPersonID>string</CounterPersonID>
            <LaborOpCode>string</LaborOpCode>
            <LineStatus>string</LineStatus>
            <LineType>string</LineType>
            <ServiceDepartmentKey>string</ServiceDepartmentKey>
            <ServiceContractSequenceNumber>string</ServiceContractSequenceNumber>
            <OverrideLaborRate>decimal</OverrideLaborRate>
            <Part xsi:nil="true" xmlns="opentrack.dealertrack.com/transitional" />
            <SequenceNumber>int</SequenceNumber>
            <ServiceLineNumber>int</ServiceLineNumber>
            <ServiceType>string</ServiceType>
            <TechnicianID>string</TechnicianID>
            <TransCode>string</TransCode>
            <EstimateLaborHours>decimal</EstimateLaborHours>
            <LaborRateLevel>string</LaborRateLevel>
          </LineItem>
        </LineItems>
        <OdometerIn>int</OdometerIn>
        <PromisedDateTime>dateTime</PromisedDateTime>
        <RepairOrderNumber>string</RepairOrderNumber>
        <ServiceWriterID>string</ServiceWriterID>
        <TagNumber>string</TagNumber>
        <VIN>string</VIN>
        <PrinterID>string</PrinterID>
        <UseDefaultPromiseTime>boolean</UseDefaultPromiseTime>
      </RepairOrder>
      <Dealer>
        <CompanyNumber>string</CompanyNumber>
        <EnterpriseCode>string</EnterpriseCode>
        <ServerName>string</ServerName>
      </Dealer>
      <FordReportCard>boolean</FordReportCard>
    </AddRepairOrder>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddRepairOrderResult xmlns="opentrack.dealertrack.com/transitional">
      <Errors>
        <Error>
          <Code>string</Code>
          <Message>string</Message>
        </Error>
        <Error>
          <Code>string</Code>
          <Message>string</Message>
        </Error>
      </Errors>
      <Message>string</Message>
      <Key>string</Key>
      <Token>string</Token>
    </AddRepairOrderResult>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ServiceAPI.asmx HTTP/1.1
Host: ot.dms.dealertrack.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AddRepairOrder xmlns="opentrack.dealertrack.com">
      <RepairOrder>
        <CustomerNumber>int</CustomerNumber>
        <CommonConsumerId>guid</CommonConsumerId>
        <Dealer>
          <CompanyNumber>string</CompanyNumber>
          <EnterpriseCode>string</EnterpriseCode>
          <ServerName>string</ServerName>
        </Dealer>
        <LineItems>
          <LineItem>
            <Comments>string</Comments>
            <CounterPersonID>string</CounterPersonID>
            <LaborOpCode>string</LaborOpCode>
            <LineStatus>string</LineStatus>
            <LineType>string</LineType>
            <ServiceDepartmentKey>string</ServiceDepartmentKey>
            <ServiceContractSequenceNumber>string</ServiceContractSequenceNumber>
            <OverrideLaborRate>decimal</OverrideLaborRate>
            <Part xsi:nil="true" xmlns="opentrack.dealertrack.com/transitional" />
            <SequenceNumber>int</SequenceNumber>
            <ServiceLineNumber>int</ServiceLineNumber>
            <ServiceType>string</ServiceType>
            <TechnicianID>string</TechnicianID>
            <TransCode>string</TransCode>
            <EstimateLaborHours>decimal</EstimateLaborHours>
            <LaborRateLevel>string</LaborRateLevel>
          </LineItem>
          <LineItem>
            <Comments>string</Comments>
            <CounterPersonID>string</CounterPersonID>
            <LaborOpCode>string</LaborOpCode>
            <LineStatus>string</LineStatus>
            <LineType>string</LineType>
            <ServiceDepartmentKey>string</ServiceDepartmentKey>
            <ServiceContractSequenceNumber>string</ServiceContractSequenceNumber>
            <OverrideLaborRate>decimal</OverrideLaborRate>
            <Part xsi:nil="true" xmlns="opentrack.dealertrack.com/transitional" />
            <SequenceNumber>int</SequenceNumber>
            <ServiceLineNumber>int</ServiceLineNumber>
            <ServiceType>string</ServiceType>
            <TechnicianID>string</TechnicianID>
            <TransCode>string</TransCode>
            <EstimateLaborHours>decimal</EstimateLaborHours>
            <LaborRateLevel>string</LaborRateLevel>
          </LineItem>
        </LineItems>
        <OdometerIn>int</OdometerIn>
        <PromisedDateTime>dateTime</PromisedDateTime>
        <RepairOrderNumber>string</RepairOrderNumber>
        <ServiceWriterID>string</ServiceWriterID>
        <TagNumber>string</TagNumber>
        <VIN>string</VIN>
        <PrinterID>string</PrinterID>
        <UseDefaultPromiseTime>boolean</UseDefaultPromiseTime>
      </RepairOrder>
      <Dealer>
        <CompanyNumber>string</CompanyNumber>
        <EnterpriseCode>string</EnterpriseCode>
        <ServerName>string</ServerName>
      </Dealer>
      <FordReportCard>boolean</FordReportCard>
    </AddRepairOrder>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AddRepairOrderResult xmlns="opentrack.dealertrack.com/transitional">
      <Errors>
        <Error>
          <Code>string</Code>
          <Message>string</Message>
        </Error>
        <Error>
          <Code>string</Code>
          <Message>string</Message>
        </Error>
      </Errors>
      <Message>string</Message>
      <Key>string</Key>
      <Token>string</Token>
    </AddRepairOrderResult>
  </soap12:Body>
</soap12:Envelope>