AIM Web Services

<back to all web services

GetSchedulingCalendarRequest

GetSchedulingCalendar
Requires active-e Lesson Scheduling Service. This API call was accidentally named GetSchedulingCalender in the past.

The following routes are available for this service:
GET/api/GetSchedulingCalendar
GET/api/GetSchedulingCalender
GetSchedulingCalendarRequest Parameters:
NameParameterData TypeRequiredDescription
TypeIdqueryintegerYesThe type of lessons to get a schedule for.
DateFromquerystringNoIf sent, lessons from this date/time onward will be returned. Otherwise the current date/time is used.
DateToquerystringNoIf sent, lessons from before this date/time will be returned. Otherwise the DateFrom plus one week is used.
InstructorIdqueryintegerNoIf sent, only lessons taught by the sent instructor will be returned.
LocationIdqueryintegerNoIf sent, lessons taught at the sent location will be returned.
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
GetSchedulingCalendarResponse Parameters:
NameParameterData TypeRequiredDescription
AvailabilitiesformList<AvailabilityInfo>No
GroupClassesformList<GroupClassInfo>No
TimeIncrementformintNo
TimeIncrementsByInstructorformList<TimeIncrementByInstructor>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
AvailabilityInfo Parameters:
NameParameterData TypeRequiredDescription
StartTimeformDateTimeNo
StartTimeStringformstringNo
LengthformintNo
InstructorIdformintNo
LocationIdformlongNo
GroupClassInfo Parameters:
NameParameterData TypeRequiredDescription
DayTimeInfoformList<DayTimeInfoObj>No
StartDateformDateTimeNo
EndDateformDateTimeNo
GuidformGuidNo
LengthformintNo
InstructorIdformintNo
LocationIdformlongNo
ClassNameformstringNo
ClassDescformstringNo
ClassSummaryformstringNo
MaxClassMembersformintNo
CurrentClassMembersformintNo
NotesformstringNo
DayTimeInfoObj Parameters:
NameParameterData TypeRequiredDescription
WeekDayIntformintNo
WeekDayformstringNo
StartTimeformDateTimeNo
StartTimeStringformstringNo
TimeIncrementByInstructor Parameters:
NameParameterData TypeRequiredDescription
InstructorIdformintNo
TimeIncrementformintNo

To override the Content-type in your clients, use the 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.

GET /api/GetSchedulingCalendar HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetSchedulingCalendarResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIM.WebService">
  <Status>
    <DomainName>String</DomainName>
    <ErrorCode>String</ErrorCode>
    <ErrorDisplayText>String</ErrorDisplayText>
    <ErrorMessage>String</ErrorMessage>
    <IpAddress>String</IpAddress>
    <Login>String</Login>
    <StatusCode>String</StatusCode>
  </Status>
  <Availabilities>
    <GetSchedulingCalendarResponse.AvailabilityInfo>
      <InstructorId>0</InstructorId>
      <Length>0</Length>
      <LocationId>0</LocationId>
      <StartTime>0001-01-01T00:00:00</StartTime>
      <StartTimeString>1/1/0001 12:00:00 AM</StartTimeString>
    </GetSchedulingCalendarResponse.AvailabilityInfo>
  </Availabilities>
  <GroupClasses>
    <GetSchedulingCalendarResponse.GroupClassInfo>
      <ClassDesc>String</ClassDesc>
      <ClassName>String</ClassName>
      <ClassSummary>String</ClassSummary>
      <CurrentClassMembers>0</CurrentClassMembers>
      <DayTimeInfo>
        <GetSchedulingCalendarResponse.DayTimeInfoObj>
          <StartTime>0001-01-01T00:00:00</StartTime>
          <StartTimeString>1/1/0001 12:00:00 AM</StartTimeString>
          <WeekDay>String</WeekDay>
          <WeekDayInt>0</WeekDayInt>
        </GetSchedulingCalendarResponse.DayTimeInfoObj>
      </DayTimeInfo>
      <EndDate>0001-01-01T00:00:00</EndDate>
      <Guid>00000000-0000-0000-0000-000000000000</Guid>
      <InstructorId>0</InstructorId>
      <Length>0</Length>
      <LocationId>0</LocationId>
      <MaxClassMembers>0</MaxClassMembers>
      <Notes>String</Notes>
      <StartDate>0001-01-01T00:00:00</StartDate>
    </GetSchedulingCalendarResponse.GroupClassInfo>
  </GroupClasses>
  <TimeIncrement>0</TimeIncrement>
  <TimeIncrementsByInstructor>
    <GetSchedulingCalendarResponse.TimeIncrementByInstructor>
      <InstructorId>0</InstructorId>
      <TimeIncrement>0</TimeIncrement>
    </GetSchedulingCalendarResponse.TimeIncrementByInstructor>
  </TimeIncrementsByInstructor>
</GetSchedulingCalendarResponse>