/* Options: Date: 2025-05-10 01:03:27 Version: 8.40 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: GetSchedulingLocationsRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* /** * GetSchedulingLocationsRequires active-e Lesson Scheduling Service */ @Route(Path="/GetSchedulingLocations", Verbs="GET") @DataContract open class GetSchedulingLocationsRequest : BaseRequest(), IReturn { /** * Location lookup. If sent, all other parameters will be ignored. */ @DataMember @ApiMember(DataType="integer", Description="Location lookup. If sent, all other parameters will be ignored.", Format="int64", Name="LocationId", ParameterType="query") var LocationId:Long? = null /** * If sent, only locations that offer this lesson type will be returned. */ @DataMember @ApiMember(DataType="integer", Description="If sent, only locations that offer this lesson type will be returned.", Format="int64", Name="TypeId", ParameterType="query") var TypeId:Long? = null /** * If sent, only locations that offer lessons of this grouping will be returned. */ @DataMember @ApiMember(DataType="integer", Description="If sent, only locations that offer lessons of this grouping will be returned.", Format="int64", Name="GroupingId", ParameterType="query") var GroupingId:Long? = null /** * If sent, only locations where the sent instructor teaches will be returned. */ @DataMember @ApiMember(DataType="integer", Description="If sent, only locations where the sent instructor teaches will be returned.", Format="int32", Name="InstructorId", ParameterType="query") var InstructorId:Int? = null @DataMember var IncludeInactiveLocations:Boolean? = null companion object { private val responseType = GetSchedulingLocationsResponse::class.java } override fun getResponseType(): Any? = GetSchedulingLocationsRequest.responseType } @DataContract open class GetSchedulingLocationsResponse : BaseResponse() { @DataMember var Locations:ArrayList = ArrayList() } @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") var ApiKey:String? = null @DataMember @ApiMember(DataType="string", Name="OAuthToken", ParameterType="header") var OAuthToken:String? = null } @DataContract open class LocationInfo { @DataMember var Id:Long? = null @DataMember var Desc:String? = null @DataMember var ShortDesc:String? = null @DataMember var Region:String? = null @DataMember var Latitude:BigDecimal? = null @DataMember var Longitude:BigDecimal? = null @DataMember var InStorePickup:String? = null @DataMember var Active:Boolean? = null @DataMember var CashSaleAcct:Int? = null } @DataContract open class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") var Status:BaseResponseResult? = null }