/* Options: Date: 2026-05-25 03:22:08 Version: 10.06 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetTimeSlotsRequest.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * GetTimeSlotsRequires active-e Contracts Service, active-e Service Ticket Service, active-e Lesson Scheduling Service, active-e Vortx E-Commerce Service, or active-e 3rd Party E-Commerce Service */ @Route(Path="/GetTimeSlots", Verbs="POST, GET") @DataContract open class GetTimeSlotsRequest : BaseRequest(), IReturn { @DataMember open var DateFrom:Date? = null @DataMember open var DateTo:Date? = null @DataMember open var TimeFrom:Date? = null @DataMember open var TimeTo:Date? = null @DataMember open var Location:String? = null @DataMember open var ShowOpenSlots:Boolean? = null @DataMember open var ShowReservedSlots:Boolean? = null /** * If sent, only Time Slots of the sent type are returned. Valid options are STORE and DELIVERY. */ @DataMember @ApiMember(DataType="string", Description="If sent, only Time Slots of the sent type are returned. Valid options are STORE and DELIVERY.", Name="Type", ParameterType="query") open var Type:String? = null companion object { private val responseType = GetTimeSlotsResponse::class.java } override fun getResponseType(): Any? = GetTimeSlotsRequest.responseType } @DataContract open class GetTimeSlotsResponse : BaseResponse() { @DataMember open var TimeSlots:ArrayList? = null } @DataContract open class BaseRequest { /** * This is your AIM API Key provided by Tri-Tech */ @DataMember @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="Header") open var ApiKey:String? = null /** * The OAuthToken token return by AeServices30 */ @DataMember @ApiMember(DataType="string", Description="The OAuthToken token return by AeServices30", IsRequired=true, Name="OAuthToken", ParameterType="Header") open var OAuthToken:String? = null /** * The Device ID of the Mobile Device. Not used for non-mobile devices. */ @DataMember @ApiMember(DataType="string", Description="The Device ID of the Mobile Device. Not used for non-mobile devices.", Name="DeviceId", ParameterType="Header") open var DeviceId:String? = null /** * An identifier for your integration */ @DataMember @ApiMember(DataType="string", Description="An identifier for your integration", IsRequired=true, Name="AppId", ParameterType="Header") open var AppId:String? = null } @DataContract open class TimeSlotGeneric { @DataMember open var Id:Long? = null @DataMember open var DateTime:Date? = null @DataMember open var SlotsOpen:Int? = null @DataMember open var Location:String? = null @DataMember open var Type:String? = null } @DataContract open class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") open var Status:BaseResponseResult? = null }