ToyotaWebServices

<back to all web services

AppointmentUpdateRequest

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: toyota.pbssystems.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: AppointmentUpdateRequest

<?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>

<AppointmentUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.Toyota.Library">
  <AdditionalComments>String</AdditionalComments>
  <Advisor>
    <AdvisorId>String</AdvisorId>
    <Email>String</Email>
    <ImageURL>String</ImageURL>
    <JobTitle>String</JobTitle>
    <Name>String</Name>
  </Advisor>
  <AppointmentDate>String</AppointmentDate>
  <AppointmentId>String</AppointmentId>
  <AppointmentStatus>String</AppointmentStatus>
  <AppointmentTime>String</AppointmentTime>
  <AppointmentTimezone>String</AppointmentTimezone>
  <Customer>
    <Address>
      <AppointmentAddress>
        <Address xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </Address>
        <City>String</City>
        <Country>String</Country>
        <PostalCode>String</PostalCode>
        <State>String</State>
        <Type>String</Type>
        <Use>String</Use>
      </AppointmentAddress>
    </Address>
    <BusinessName>
      <BusinessName>String</BusinessName>
      <BusinessOrgId>String</BusinessOrgId>
    </BusinessName>
    <Communication>
      <AppointmentContactCommunication>
        <Language>String</Language>
        <Preferred>false</Preferred>
      </AppointmentContactCommunication>
    </Communication>
    <ContactMethod>
      <AppointmentContactMethod>
        <Consent>false</Consent>
        <PreferredContactTime>String</PreferredContactTime>
        <Rank>0</Rank>
        <Type>String</Type>
        <Use>String</Use>
        <Value>String</Value>
      </AppointmentContactMethod>
    </ContactMethod>
    <CustomerType>String</CustomerType>
    <EmailDeclined>false</EmailDeclined>
    <Identifier>
      <AppointmentIdentifier>
        <System>String</System>
        <Value>String</Value>
      </AppointmentIdentifier>
    </Identifier>
    <Name>
      <FirstName xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </FirstName>
      <LastName>String</LastName>
      <Prefix xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Prefix>
      <Suffix xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Suffix>
    </Name>
  </Customer>
  <DealerId>String</DealerId>
  <DropOffAddress>
    <Address xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Address>
    <City>String</City>
    <Country>String</Country>
    <PostalCode>String</PostalCode>
    <State>String</State>
    <Type>String</Type>
    <Use>String</Use>
  </DropOffAddress>
  <PickUpAddress>
    <Address xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Address>
    <City>String</City>
    <Country>String</Country>
    <PostalCode>String</PostalCode>
    <State>String</State>
    <Type>String</Type>
    <Use>String</Use>
  </PickUpAddress>
  <Preferences>
    <IsDropOffRequired>false</IsDropOffRequired>
    <IsLoanerRequired>false</IsLoanerRequired>
    <IsPickUpRequired>false</IsPickUpRequired>
    <IsValetRequired>false</IsValetRequired>
    <Reminders>String</Reminders>
  </Preferences>
  <RequestId>00000000-0000-0000-0000-000000000000</RequestId>
  <RoNumber>String</RoNumber>
  <ServiceOperations>
    <ServiceOperation>
      <CustomerComments>String</CustomerComments>
      <Discount>
        <ServiceOperationDiscount>
          <Code>String</Code>
          <Description>String</Description>
          <Price>0</Price>
        </ServiceOperationDiscount>
      </Discount>
      <LaborHours>0</LaborHours>
      <Maintenance>false</Maintenance>
      <OpCodeDescription>String</OpCodeDescription>
      <OpCodeID>String</OpCodeID>
      <Package>String</Package>
      <Price>0</Price>
      <ServiceOperationsDescription>String</ServiceOperationsDescription>
      <Validation>false</Validation>
    </ServiceOperation>
  </ServiceOperations>
  <Transport>
    <Code>String</Code>
    <Comments>String</Comments>
    <Name>String</Name>
    <Preferences>
      <IsDropOffRequired>false</IsDropOffRequired>
      <IsLoanerRequired>false</IsLoanerRequired>
      <IsPickUpRequired>false</IsPickUpRequired>
      <IsValetRequired>false</IsValetRequired>
      <Reminders>String</Reminders>
    </Preferences>
  </Transport>
  <Type>String</Type>
  <Vehicle>
    <Make>String</Make>
    <ModelName>String</ModelName>
    <Odometer>
      <Unit>String</Unit>
      <Value>0</Value>
    </Odometer>
    <StockImage>String</StockImage>
    <VIN>String</VIN>
    <Year>String</Year>
  </Vehicle>
</AppointmentUpdateRequest>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

(string)