(* Options: Date: 2025-03-15 03:35:29 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sanctionssearch.com/v2 //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: GetPdfs.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace SanctionsSearch.Api2.ServiceModel.Operations.Account open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] [] type Authentication() = /// ///The API User ID provided by us when you signed up to use our API /// [] [] member val ApiUserId:String = null with get,set /// ///The API User Key provided by us when you signed up to use our API /// [] [] member val ApiUserKey:String = null with get,set [] [] type BaseRequest() = /// ///The authentication credentials /// [] [] member val Authentication:Authentication = null with get,set [] type IBaseRequest = abstract Authentication:Authentication with get,set [] type GetPdfsRequest() = /// ///If the saved documents are kept within a single Sub User account, specify their username here /// [] member val SubUserName:String = null with get,set [] [] type ResponseError() = [] member val ErrorCode:String = null with get,set [] member val FieldName:String = null with get,set [] member val Message:String = null with get,set [] member val Meta:Dictionary = new Dictionary() with get,set [] type ArrayOfResponseError() = inherit ResizeArray() [] [] type ResponseStatus() = [] member val ErrorCode:String = null with get,set [] member val Message:String = null with get,set [] member val StackTrace:String = null with get,set [] member val Errors:ArrayOfResponseError = null with get,set [] member val Meta:Dictionary = new Dictionary() with get,set [] type BaseResponse() = /// ///The status of the response /// [] member val ResponseStatus:ResponseStatus = null with get,set [] type PdfDocument() = /// ///The ID of the saved document /// [] member val Id:Int64 = new Int64() with get,set /// ///Is the document ready to download /// [] member val IsReady:Boolean = new Boolean() with get,set /// ///The name of the saved document /// [] member val Name:String = null with get,set /// ///The file name (including extension) of the saved document /// [] member val FileName:String = null with get,set /// ///The type of saved document (Human readable, pep, sanctions, validid, companylookup, etc.) /// [] member val Type:String = null with get,set /// ///If this document is a Saved Sanctions Search, the ID of the search it relates to /// [] member val SanctionsSearchId:Nullable = new Nullable() with get,set /// ///If this document is a Saved PEP Search, the ID of the search it relates to /// [] member val PepSearchId:Nullable = new Nullable() with get,set /// ///If this document is a Saved ValidID Search, the ID of the search it relates to /// [] member val ValidIdSearchId:Nullable = new Nullable() with get,set /// ///If this document is a Saved CompanyLookup Search, the ID of the search it relates to /// [] member val CompanyLookupSearchId:Nullable = new Nullable() with get,set /// ///The date the saved document was created/requested /// [] member val DateCreated:DateTime = new DateTime() with get,set /// ///The date the saved document will be no longer available. You can request a new document using the SaveSearch, SavePepSearch, etc. methods /// [] member val DateExpires:DateTime = new DateTime() with get,set [] type ArrayOfPdfDocument() = inherit ResizeArray() [] type GetPdfsData() = inherit BaseResponse() /// ///List of Documents, but not including the file data /// [] member val Documents:ArrayOfPdfDocument = null with get,set [] type IBaseDataResponse = abstract ResponseStatus:ResponseStatus with get,set [] type IHasResponseStatus = abstract ResponseStatus:ResponseStatus with get,set [] [] type GetPdfsResponse() = /// ///The response data /// [] [] member val Data:GetPdfsData = null with get,set [] [] [] type GetPdfs() = inherit BaseRequest() interface IReturn /// ///The request data /// [] [] member val Request:GetPdfsRequest = null with get,set