SWAPI – TimeSlotDefaultsQuery

Use this command to obtain the time slot configuration in SuccessWare®21.  This command returns default time slots settings, not actual time slot bookings.  You can request slot settings for specific Group Names if desired.

Request

<SessionRequest Version="string" SessionID="{20D6D532-D0E2-4B38-98AA-F240EB21DC68}" RequestID="string">

  <TimeSlotDefaultsQuery Filter="string" Max="string" OrderBy="string" StyleNo="string" StyleOptions="string">

    <GroupNames>string</GroupNames>

  </TimeSlotDefaultsQuery>

</SessionRequest>

 

·         GroupNames – A comma separated list of group names to return defaults for. Use ALL or leave blank to return every group.

Response

<?xml version="1.0"?>

<TimeSlotDefaultsQueryResponse Successful="true" ResultCode="000" ResultText="Successful" Version="1.9.900.1" RequestID="string">

  <TimeSlotDefaultsQueryData ReturnedRows="1" FilteredRows="1" TotalRows="1">

    <TimeSlotDefaultsQueryRecord>

      <GroupName>string</GroupName>

      <DayText>string</DayText>

      <SlotName>string</SlotName>

      <MaxAppts>integer</MaxAppts>

      <AllowOverbooking>boolean</AllowOverbooking>

      <BeginTime>time</BeginTime>

      <EndTime>time</EndTime>

    </TimeSlotDefaultsQueryRecord>

</TimeSlotDefaultsQueryResponse>

 

·         GroupName – The group name for the time slot

·         DayText The day of the week

·         SlotNameThe name of the time slot

·         MaxApptsThe maximum capacity for the time slot

·         AllowOverbookingTrue if the time slot can be over booked

·         BeginTimeThe starting time for the time slot

·         EndTime - The ending time for the time slot