PartnerHub

<back to all web services

ShopGet

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/ShopGet HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/xml
Content-Length: length

<ShopGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Code>String</Code>
  <SerialNumber>String</SerialNumber>
  <ShopID>00000000-0000-0000-0000-000000000000</ShopID>
  <ShopName>String</ShopName>
  <ShopType>String</ShopType>
  <WebAppointments>false</WebAppointments>
</ShopGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ShopGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub.ServiceModel">
  <Shops>
    <Shop>
      <AppointmentSlotSize>String</AppointmentSlotSize>
      <AppointmentsPerDay>0</AppointmentsPerDay>
      <AppointmentsPerSlot>0</AppointmentsPerSlot>
      <Code>String</Code>
      <Friday>
        <DayEnd>String</DayEnd>
        <DayStart>String</DayStart>
      </Friday>
      <IsDeleted>false</IsDeleted>
      <LastAppointmentTimeOffset>0</LastAppointmentTimeOffset>
      <LeadTime>0</LeadTime>
      <Monday>
        <DayEnd>String</DayEnd>
        <DayStart>String</DayStart>
      </Monday>
      <Saturday>
        <DayEnd>String</DayEnd>
        <DayStart>String</DayStart>
      </Saturday>
      <SerialNumber>String</SerialNumber>
      <ShopId>00000000-0000-0000-0000-000000000000</ShopId>
      <ShopName>String</ShopName>
      <ShopType>String</ShopType>
      <Sunday>
        <DayEnd>String</DayEnd>
        <DayStart>String</DayStart>
      </Sunday>
      <Thursday>
        <DayEnd>String</DayEnd>
        <DayStart>String</DayStart>
      </Thursday>
      <Tuesday>
        <DayEnd>String</DayEnd>
        <DayStart>String</DayStart>
      </Tuesday>
      <WebAppointments>false</WebAppointments>
      <Wednesday>
        <DayEnd>String</DayEnd>
        <DayStart>String</DayStart>
      </Wednesday>
    </Shop>
  </Shops>
</ShopGetResponse>