| GET | /api/ICSCalendar | ||
|---|---|---|---|
| GET | /api/ICSCalendar/{Instructorid} | 
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports AIM.WebService
Namespace Global
    Namespace AIM.WebService
        <DataContract>
        Public Partial Class BaseRequest
            '''<Summary>
            '''This is your AIM API Key provided by Tri-Tech
            '''</Summary>
            <DataMember>
            <ApiMember(DataType:="string", Description:="This is your AIM API Key provided by Tri-Tech", IsRequired:=true, Name:="ApiKey", ParameterType:="Header")>
            Public Overridable Property ApiKey As String
            '''<Summary>
            '''The OAuthToken token return by AeServices30
            '''</Summary>
            <DataMember>
            <ApiMember(DataType:="string", Description:="The OAuthToken token return by AeServices30", IsRequired:=true, Name:="OAuthToken", ParameterType:="Header")>
            Public Overridable Property OAuthToken As String
            '''<Summary>
            '''The Device ID of the Mobile Device. Not used for non-mobile devices.
            '''</Summary>
            <DataMember>
            <ApiMember(DataType:="string", Description:="The Device ID of the Mobile Device. Not used for non-mobile devices.", Name:="DeviceId", ParameterType:="Header")>
            Public Overridable Property DeviceId As String
            '''<Summary>
            '''An identifier for your integration
            '''</Summary>
            <DataMember>
            <ApiMember(DataType:="string", Description:="An identifier for your integration", IsRequired:=true, Name:="AppId", ParameterType:="Header")>
            Public Overridable Property AppId As String
        End Class
        '''<Summary>
        '''ICSCalendarRequires active-e Lesson Scheduling Service
        '''</Summary>
        <DataContract>
        Public Partial Class ICSCalendarRequest
            Inherits BaseRequest
            '''<Summary>
            '''Instructor ID. Required unless the Instructor path parameter is sent.
            '''</Summary>
            <DataMember>
            <ApiMember(DataType:="int", Description:="Instructor ID. Required unless the Instructor path parameter is sent.", Name:="InstructorId", ParameterType:="query")>
            Public Overridable Property InstructorId As Integer
            '''<Summary>
            '''Location ID. Optional.
            '''</Summary>
            <DataMember>
            <ApiMember(DataType:="int", Description:="Location ID. Optional.", Name:="InstructorId", ParameterType:="query")>
            Public Overridable Property LocationId As Nullable(Of Long)
        End Class
    End Namespace
End Namespace
VB.NET ICSCalendarRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/ICSCalendar HTTP/1.1 Host: active-ewebservice.biz Accept: text/jsonl