(* Options: Date: 2025-03-15 04:41:20 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: AddDbsSearch.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace SanctionsSearch.Api2.ServiceModel.Operations.Base 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 LinkedTo() = member val ClientId:Nullable = new Nullable() with get,set member val Id:Nullable = new Nullable() with get,set member val Type:String = null with get,set member val Subtype:String = null with get,set member val Status:String = null with get,set member val Description:String = null with get,set member val IsArchived:Nullable = new Nullable() with get,set member val Name:String = null with get,set member val Date:Nullable = new Nullable() with get,set [] type ArrayOfLinkedTo() = inherit ResizeArray() [] type AddDbsSearchRequest() = /// ///The full name of the applicant /// [] member val Name:String = null with get,set /// ///The date of birth for the applicant (DD/MM/YYYY format) /// [] member val DateOfBirth:String = null with get,set /// ///The email address of the applicant /// [] member val Email:String = null with get,set /// ///The applicant's mobile phone number in international format (e.g. '+447123456789') /// [] member val MobileInternational:String = null with get,set /// ///The country where the job is located /// [] member val JobLocation:String = null with get,set /// ///The disclosure level of the DBS required /// [] member val DisclosureLevel:String = null with get,set /// ///Your reference, if any /// [] member val Reference:String = null with get,set /// ///If this is specified, the search will be created for the specified sub user, otherwise it will be created in the main user account /// [] member val SubUserName:String = null with get,set /// ///If the search should be linked to other searches, specify the them here /// [] member val LinkedTo:ArrayOfLinkedTo = 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 ApplicantInformation() = member val Name:String = null with get,set member val DateOfBirth:String = null with get,set member val Email:String = null with get,set member val MobileInternational:String = null with get,set member val JobLocation:String = null with get,set member val Reference:String = null with get,set [] type DbsSearchSummary() = member val Id:Int64 = new Int64() with get,set member val DateSearched:DateTime = new DateTime() with get,set member val DateUpdated:DateTime = new DateTime() with get,set member val Status:String = null with get,set member val DisclosureStatus:String = null with get,set member val IsApplicantInfoCompleted:Boolean = new Boolean() with get,set member val IsIdCheckCompleted:Boolean = new Boolean() with get,set member val IsApplicationCompleted:Boolean = new Boolean() with get,set member val IsApplicationSubmitted:Boolean = new Boolean() with get,set member val IsApplicationDisclosed:Boolean = new Boolean() with get,set member val DisclosureLevel:String = null with get,set member val ApplicantInformation:ApplicantInformation = null with get,set [] type AddDbsSearchData() = inherit BaseResponse() member val LinkedTo:ArrayOfLinkedTo = null with get,set member val Summary:DbsSearchSummary = null with get,set [] type IBaseDataResponse = abstract ResponseStatus:ResponseStatus with get,set [] type IHasResponseStatus = abstract ResponseStatus:ResponseStatus with get,set [] type IBaseSearchResponse = abstract LinkedTo:ArrayOfLinkedTo with get,set [] [] type AddDbsSearchResponse() = [] member val Data:AddDbsSearchData = null with get,set [] [] [] type AddDbsSearch() = inherit BaseRequest() interface IReturn [] member val Request:AddDbsSearchRequest = null with get,set