WebAppointments

<back to all web services

TimeSlotList

The following routes are available for this service:
All Verbs/{SerialNumber}/Appointment/DateTimeSlot/{Year}/{Month}/

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/TimeSlotList HTTP/1.1 
Host: webappointments.pbssystems.com 
Content-Type: application/xml
Content-Length: length

<TimeSlotList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.WebAppointments">
  <Month>String</Month>
  <SerialNumber>String</SerialNumber>
  <Year>String</Year>
</TimeSlotList>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfTimeSlot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.WebAppointments">
  <TimeSlot>
    <Day>0</Day>
    <DayOfWeek>0</DayOfWeek>
    <Time>String</Time>
  </TimeSlot>
</ArrayOfTimeSlot>