' Options: 'Date: 2025-03-15 04:27:07 'Version: 8.30 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.sanctionssearch.com/v2 ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: AddDbsSearch.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports SanctionsSearch.Api2.ServiceModel.Types Imports SanctionsSearch.Api2.ServiceModel.Operations.Base Imports SanctionsSearch.Api2.ServiceModel.Operations.DbsSearches Namespace Global Namespace SanctionsSearch.Api2.ServiceModel.Operations.Base Public Partial Class ArrayOfResponseError Inherits List(Of ResponseError) End Class Public Partial Class BaseRequest Implements IBaseRequest ''' '''The authentication credentials ''' Public Overridable Property Authentication As Authentication End Class Public Partial Class BaseResponse Implements IBaseDataResponse Implements IHasResponseStatus ''' '''The status of the response ''' Public Overridable Property ResponseStatus As ResponseStatus End Class Public Interface IBaseDataResponse Property ResponseStatus As ResponseStatus End Interface Public Interface IBaseRequest Property Authentication As Authentication End Interface Public Interface IBaseSearchResponse Implements IBaseDataResponse Property LinkedTo As ArrayOfLinkedTo End Interface Public Interface IHasResponseStatus Property ResponseStatus As ResponseStatus End Interface Public Partial Class ResponseError Public Sub New() Meta = New Dictionary(Of String, String) End Sub Public Overridable Property ErrorCode As String Public Overridable Property FieldName As String Public Overridable Property Message As String Public Overridable Property Meta As Dictionary(Of String, String) End Class Public Partial Class ResponseStatus Public Sub New() Meta = New Dictionary(Of String, String) End Sub Public Overridable Property ErrorCode As String Public Overridable Property Message As String Public Overridable Property StackTrace As String Public Overridable Property Errors As ArrayOfResponseError Public Overridable Property Meta As Dictionary(Of String, String) End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Operations.DbsSearches Public Partial Class AddDbsSearch Inherits BaseRequest Implements IReturn(Of AddDbsSearchResponse) Public Overridable Property Request As AddDbsSearchRequest End Class Public Partial Class AddDbsSearchData Inherits BaseResponse Implements IBaseSearchResponse Public Overridable Property LinkedTo As ArrayOfLinkedTo Public Overridable Property Summary As DbsSearchSummary End Class Public Partial Class AddDbsSearchRequest ''' '''The full name of the applicant ''' Public Overridable Property Name As String ''' '''The date of birth for the applicant (DD/MM/YYYY format) ''' Public Overridable Property DateOfBirth As String ''' '''The email address of the applicant ''' Public Overridable Property Email As String ''' '''The applicant's mobile phone number in international format (e.g. '+447123456789') ''' Public Overridable Property MobileInternational As String ''' '''The country where the job is located ''' Public Overridable Property JobLocation As String ''' '''The disclosure level of the DBS required ''' Public Overridable Property DisclosureLevel As String ''' '''Your reference, if any ''' Public Overridable Property Reference As String ''' '''If this is specified, the search will be created for the specified sub user, otherwise it will be created in the main user account ''' Public Overridable Property SubUserName As String ''' '''If the search should be linked to other searches, specify the them here ''' Public Overridable Property LinkedTo As ArrayOfLinkedTo End Class Public Partial Class AddDbsSearchResponse Public Overridable Property Data As AddDbsSearchData End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Types Public Partial Class ApplicantInformation Public Overridable Property Name As String Public Overridable Property DateOfBirth As String Public Overridable Property Email As String Public Overridable Property MobileInternational As String Public Overridable Property JobLocation As String Public Overridable Property Reference As String End Class Public Partial Class ArrayOfLinkedTo Inherits List(Of LinkedTo) End Class Public Partial Class Authentication ''' '''The API User ID provided by us when you signed up to use our API ''' Public Overridable Property ApiUserId As String ''' '''The API User Key provided by us when you signed up to use our API ''' Public Overridable Property ApiUserKey As String End Class Public Partial Class DbsSearchSummary Public Overridable Property Id As Long Public Overridable Property DateSearched As Date Public Overridable Property DateUpdated As Date Public Overridable Property Status As String Public Overridable Property DisclosureStatus As String Public Overridable Property IsApplicantInfoCompleted As Boolean Public Overridable Property IsIdCheckCompleted As Boolean Public Overridable Property IsApplicationCompleted As Boolean Public Overridable Property IsApplicationSubmitted As Boolean Public Overridable Property IsApplicationDisclosed As Boolean Public Overridable Property DisclosureLevel As String Public Overridable Property ApplicantInformation As ApplicantInformation End Class Public Partial Class LinkedTo Public Overridable Property ClientId As Nullable(Of Integer) Public Overridable Property Id As Nullable(Of Long) Public Overridable Property Type As String Public Overridable Property Subtype As String Public Overridable Property Status As String Public Overridable Property Description As String Public Overridable Property IsArchived As Nullable(Of Boolean) Public Overridable Property Name As String Public Overridable Property [Date] As Nullable(Of Date) End Class End Namespace End Namespace