(* Options: Date: 2025-05-31 15:54:55 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: LocatorListingRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace AIM.WebService open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [<DataContract>] [<AllowNullLiteral>] type 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")>] member val ApiKey:String = null with get,set [<DataMember>] [<ApiMember(DataType="string", Name="OAuthToken", ParameterType="header")>] member val OAuthToken:String = null with get,set [<DataContract>] [<AllowNullLiteral>] type BaseSecureRequest() = inherit BaseRequest() ///<summary> /// ///</summary> [<DataMember>] [<ApiMember(DataType="string", Description="", Name="Token", ParameterType="Header")>] member val Token:String = null with get,set ///<summary> /// ///</summary> [<DataMember>] [<ApiMember(DataType="string", Description="", Name="DeviceId", ParameterType="Header")>] member val DeviceId:String = null with get,set ///<summary> /// ///</summary> [<DataMember>] [<ApiMember(DataType="string", Description="", IsRequired=true, Name="AppId", ParameterType="Header")>] member val AppId:String = null with get,set [<DataContract>] [<AllowNullLiteral>] type LocatorInfo() = [<DataMember>] member val Locator:String = null with get,set [<DataMember>] member val StLoc:String = null with get,set [<DataMember>] member val Type:String = null with get,set [<DataMember>] member val Notes:String = null with get,set [<DataMember>] member val SingleItem:Boolean = new Boolean() with get,set [<DataContract>] [<AllowNullLiteral>] type BaseResponse() = ///<summary> /// ///</summary> [<DataMember>] [<ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body")>] member val Status:BaseResponseResult = null with get,set [<DataContract>] [<AllowNullLiteral>] type LocatorListingResponse() = inherit BaseResponse() [<DataMember>] member val LocatorListing:ResizeArray<LocatorInfo> = new ResizeArray<LocatorInfo>() with get,set ///<summary> ///LocatorListingRequires active-e Inventory Service. ///</summary> [<Route("/LocatorListing", "GET")>] [<DataContract>] [<AllowNullLiteral>] type LocatorListingRequest() = inherit BaseSecureRequest() interface IReturn<LocatorListingResponse> ///<summary> ///If sent, only Locators for the given location will be returned ///</summary> [<DataMember>] [<ApiMember(DataType="integer", Description="If sent, only Locators for the given location will be returned", Format="int64", Name="LocationId", ParameterType="query")>] member val LocationId:Nullable<Int64> = new Nullable<Int64>() with get,set ///<summary> ///Can be INV (Inventory) or TIC (Ticket). Defaults to INV. ///</summary> [<DataMember>] [<ApiMember(Description="Can be INV (Inventory) or TIC (Ticket). Defaults to INV.", Name="Type", ParameterType="query")>] member val Type:String = null with get,set