PartnerHub

<back to all web services

PartsOrderGet

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

HTTP + XML

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

POST /xml/reply/PartsOrderGet HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/xml
Content-Length: length

<PartsOrderGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <ModifiedSince>0001-01-01T00:00:00</ModifiedSince>
  <OrderDate>0001-01-01T00:00:00</OrderDate>
  <OrderNumber>String</OrderNumber>
  <OrderNumberList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </OrderNumberList>
  <ReferenceNumber>String</ReferenceNumber>
  <SerialNumber>String</SerialNumber>
  <Status>String</Status>
  <SubmissionDate>0001-01-01T00:00:00</SubmissionDate>
  <Supplier>String</Supplier>
</PartsOrderGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PartsOrderGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <PartsOrders>
    <PartsOrder>
      <Comments>String</Comments>
      <EmployeeRef>00000000-0000-0000-0000-000000000000</EmployeeRef>
      <LastUpdate>0001-01-01T00:00:00</LastUpdate>
      <ManufacturerInfo>
        <PartsOrderManufacturerInfo>
          <Name>String</Name>
          <Value>String</Value>
        </PartsOrderManufacturerInfo>
      </ManufacturerInfo>
      <OrderDate>0001-01-01T00:00:00</OrderDate>
      <OrderLines>
        <PartsOrderLine>
          <Bin>String</Bin>
          <CSR>String</CSR>
          <Comments>String</Comments>
          <ContactName>String</ContactName>
          <ContactRef>00000000-0000-0000-0000-000000000000</ContactRef>
          <Cost>0</Cost>
          <EmployeeRef>00000000-0000-0000-0000-000000000000</EmployeeRef>
          <ManufacturerInfo>
            <PartsOrderManufacturerInfo>
              <Name>String</Name>
              <Value>String</Value>
            </PartsOrderManufacturerInfo>
          </ManufacturerInfo>
          <OrderLineId>String</OrderLineId>
          <OrderType>String</OrderType>
          <PartNumber>String</PartNumber>
          <PartRef>00000000-0000-0000-0000-000000000000</PartRef>
          <Priority>String</Priority>
          <Quantity>0</Quantity>
          <QuantityCancelled>0</QuantityCancelled>
          <QuantityReceived>0</QuantityReceived>
          <VIN>String</VIN>
        </PartsOrderLine>
      </OrderLines>
      <OrderNumber>String</OrderNumber>
      <OrderType>String</OrderType>
      <ReferenceNumber>String</ReferenceNumber>
      <SerialNumber>String</SerialNumber>
      <Status>String</Status>
      <SubmissionDate>0001-01-01T00:00:00</SubmissionDate>
      <Supplier>String</Supplier>
    </PartsOrder>
  </PartsOrders>
</PartsOrderGetResponse>