ServiceApi


Click here for a complete list of operations.

AppointmentUpdate

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/AppointmentUpdate"

<?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>
    <AppointmentUpdate xmlns="opentrack.dealertrack.com">
      <Dealer>
        <CompanyNumber>string</CompanyNumber>
        <EnterpriseCode>string</EnterpriseCode>
        <ServerName>string</ServerName>
      </Dealer>
      <Appointment>
        <CompanyNumber>string</CompanyNumber>
        <AppointmentNumber>string</AppointmentNumber>
        <AppointmentDateTime>string</AppointmentDateTime>
        <OpenTransactionDate>string</OpenTransactionDate>
        <ServiceWriterID>string</ServiceWriterID>
        <FranchiseCode>string</FranchiseCode>
        <TotalEstimate>string</TotalEstimate>
        <ROStatus>string</ROStatus>
        <CustomerKey>string</CustomerKey>
        <CustomerName>string</CustomerName>
        <CustomerAddress1>string</CustomerAddress1>
        <CustomerAddress2>string</CustomerAddress2>
        <CustomerCity>string</CustomerCity>
        <CustomerState>string</CustomerState>
        <CustomerZipCode>string</CustomerZipCode>
        <CustomerEmail>string</CustomerEmail>
        <CustomerPhoneNumber>string</CustomerPhoneNumber>
        <VIN>string</VIN>
        <StockNumber>string</StockNumber>
        <Make>string</Make>
        <Model>string</Model>
        <ModelYear>string</ModelYear>
        <Truck>string</Truck>
        <OdometerIn>string</OdometerIn>
        <CommonConsumerId>guid</CommonConsumerId>
        <Details>
          <AppointmentDetail>
            <ServiceLineNumber>string</ServiceLineNumber>
            <LineType>string</LineType>
            <SequenceNumber>string</SequenceNumber>
            <TransDate>string</TransDate>
            <TransCode>string</TransCode>
            <Comments>string</Comments>
            <ServiceType>string</ServiceType>
            <LinePaymentMethod>string</LinePaymentMethod>
            <TechnicianID>string</TechnicianID>
            <LaborOpCode>string</LaborOpCode>
            <LaborHours>string</LaborHours>
            <LaborCostHours>string</LaborCostHours>
            <ActualRetailAmount>string</ActualRetailAmount>
            <EstimatePrice>decimal</EstimatePrice>
          </AppointmentDetail>
          <AppointmentDetail>
            <ServiceLineNumber>string</ServiceLineNumber>
            <LineType>string</LineType>
            <SequenceNumber>string</SequenceNumber>
            <TransDate>string</TransDate>
            <TransCode>string</TransCode>
            <Comments>string</Comments>
            <ServiceType>string</ServiceType>
            <LinePaymentMethod>string</LinePaymentMethod>
            <TechnicianID>string</TechnicianID>
            <LaborOpCode>string</LaborOpCode>
            <LaborHours>string</LaborHours>
            <LaborCostHours>string</LaborCostHours>
            <ActualRetailAmount>string</ActualRetailAmount>
            <EstimatePrice>decimal</EstimatePrice>
          </AppointmentDetail>
        </Details>
      </Appointment>
    </AppointmentUpdate>
  </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>
    <AppointmentUpdateResult 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>
    </AppointmentUpdateResult>
  </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>
    <AppointmentUpdate xmlns="opentrack.dealertrack.com">
      <Dealer>
        <CompanyNumber>string</CompanyNumber>
        <EnterpriseCode>string</EnterpriseCode>
        <ServerName>string</ServerName>
      </Dealer>
      <Appointment>
        <CompanyNumber>string</CompanyNumber>
        <AppointmentNumber>string</AppointmentNumber>
        <AppointmentDateTime>string</AppointmentDateTime>
        <OpenTransactionDate>string</OpenTransactionDate>
        <ServiceWriterID>string</ServiceWriterID>
        <FranchiseCode>string</FranchiseCode>
        <TotalEstimate>string</TotalEstimate>
        <ROStatus>string</ROStatus>
        <CustomerKey>string</CustomerKey>
        <CustomerName>string</CustomerName>
        <CustomerAddress1>string</CustomerAddress1>
        <CustomerAddress2>string</CustomerAddress2>
        <CustomerCity>string</CustomerCity>
        <CustomerState>string</CustomerState>
        <CustomerZipCode>string</CustomerZipCode>
        <CustomerEmail>string</CustomerEmail>
        <CustomerPhoneNumber>string</CustomerPhoneNumber>
        <VIN>string</VIN>
        <StockNumber>string</StockNumber>
        <Make>string</Make>
        <Model>string</Model>
        <ModelYear>string</ModelYear>
        <Truck>string</Truck>
        <OdometerIn>string</OdometerIn>
        <CommonConsumerId>guid</CommonConsumerId>
        <Details>
          <AppointmentDetail>
            <ServiceLineNumber>string</ServiceLineNumber>
            <LineType>string</LineType>
            <SequenceNumber>string</SequenceNumber>
            <TransDate>string</TransDate>
            <TransCode>string</TransCode>
            <Comments>string</Comments>
            <ServiceType>string</ServiceType>
            <LinePaymentMethod>string</LinePaymentMethod>
            <TechnicianID>string</TechnicianID>
            <LaborOpCode>string</LaborOpCode>
            <LaborHours>string</LaborHours>
            <LaborCostHours>string</LaborCostHours>
            <ActualRetailAmount>string</ActualRetailAmount>
            <EstimatePrice>decimal</EstimatePrice>
          </AppointmentDetail>
          <AppointmentDetail>
            <ServiceLineNumber>string</ServiceLineNumber>
            <LineType>string</LineType>
            <SequenceNumber>string</SequenceNumber>
            <TransDate>string</TransDate>
            <TransCode>string</TransCode>
            <Comments>string</Comments>
            <ServiceType>string</ServiceType>
            <LinePaymentMethod>string</LinePaymentMethod>
            <TechnicianID>string</TechnicianID>
            <LaborOpCode>string</LaborOpCode>
            <LaborHours>string</LaborHours>
            <LaborCostHours>string</LaborCostHours>
            <ActualRetailAmount>string</ActualRetailAmount>
            <EstimatePrice>decimal</EstimatePrice>
          </AppointmentDetail>
        </Details>
      </Appointment>
    </AppointmentUpdate>
  </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>
    <AppointmentUpdateResult 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>
    </AppointmentUpdateResult>
  </soap12:Body>
</soap12:Envelope>