(* Options: Date: 2026-09-09 11:00:53 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://services.acct.2service.nl //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: GetPartInfoById.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace _2Service.Webservices.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type AuthenticatedRequest() = /// ///Session token received from successful authentication. /// [] member val SessionToken:String = null with get,set [] type OperationResult() = /// ///Specifies if the operation was successful. /// [] member val IsSuccessful:Boolean = new Boolean() with get,set /// ///States error message in case of unsuccessful operation. /// [] member val ErrorMessage:String = null with get,set [] type OperationResult() = inherit OperationResult() /// ///Result value /// [] member val Result:T = null with get,set [] type PartInfoResultImage() = /// ///Image number /// [] member val ImageNumber:Int32 = new Int32() with get,set /// ///Image URL /// [] member val ImageUrl:String = null with get,set [] type PartStockQuantity() = /// ///Location ID /// [] member val LocationId:Int32 = new Int32() with get,set /// ///Location code /// [] member val LocationCode:String = null with get,set /// ///Stock quantity in location /// [] member val StockQuantity:Int32 = new Int32() with get,set [] type PartInfoResult() = /// ///Unique ID for the part. /// [] member val Id:Int32 = new Int32() with get,set /// ///Part number. /// [] member val PartNumber:String = null with get,set /// ///Description of the part. /// [] member val Description:String = null with get,set /// ///Part manufacturer. /// [] member val Manufacturer:String = null with get,set /// ///Determines if the part can be ordered. /// [] member val CanBeOrdered:Boolean = new Boolean() with get,set /// ///Textual representation of the status of the part. /// [] member val StatusText:String = null with get,set /// ///Available stock to order. /// [] member val AvailableStockQuantity:Int32 = new Int32() with get,set /// ///Average days needed for delivery. /// [] member val AverageDeliveryInDays:Nullable = new Nullable() with get,set /// ///Price of a single unit, excluding VAT. /// [] member val UnitPrice:Nullable = new Nullable() with get,set /// ///EAN number. /// [] member val EanNumber:String = null with get,set /// ///Images /// [] member val Images:ResizeArray = null with get,set /// ///Secondary article numbers /// [] member val SecondaryArticleNumbers:ResizeArray = null with get,set /// ///Replacement article numbers /// [] member val ReplacementArticleNumbers:ResizeArray = null with get,set /// ///Stock quantities /// [] member val StockQuantities:ResizeArray = null with get,set [] type PartInfoResponse() = inherit OperationResult() [] [] type GetPartInfoById() = inherit AuthenticatedRequest() interface IReturn /// ///Part id to retrieve info for. /// [] member val PartId:Int32 = new Int32() with get,set