' Options: 'Date: 2025-03-15 05:24:40 '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: GetDbsSearches.* '''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 IHasResponseStatus Property ResponseStatus As ResponseStatus End Interface Public Partial Class PagedRequest Inherits BaseRequest ''' '''The maximum number of records to be returned in one page ''' Public Overridable Property PageLimit As Integer ''' '''The starting point in the list of records from where the data should be fetched. Zero based index. ''' Public Overridable Property PageOffset As Integer ''' '''The term to determine the order in which the data is returned ''' Public Overridable Property Sort As String End Class Public Partial Class PagedResponse(Of T) Inherits BaseResponse ''' '''The response Metadata ''' Public Overridable Property Meta As Meta(Of T) End Class 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 GetDbsSearches Inherits PagedRequest Implements IReturn(Of GetDbsSearchesResponse) ''' '''Filter the results to those that have a Name including the specified value ''' Public Overridable Property Name As String ''' '''Filter the results to those that were created after (or on) this date ''' Public Overridable Property DateFrom As Nullable(Of Date) ''' '''Filter the results to those that were created before this date ''' Public Overridable Property DateTo As Nullable(Of Date) ''' '''Filter the results to those where the applicant has provided their information (true), or not (false), or either (null) ''' Public Overridable Property IsApplicantInfoCompleted As Nullable(Of Boolean) ''' '''Filter the results to those where the ID Checker has verified the applicant's ID (true), or not (false), or either (null) ''' Public Overridable Property IsIdCheckCompleted As Nullable(Of Boolean) ''' '''Filter the results to those where the application is complete and ready to be submitted (true), or not (false), or either (null) ''' Public Overridable Property IsApplicationCompleted As Nullable(Of Boolean) ''' '''Filter the results to those where the application has been submitted (true), or not (false), or either (null) ''' Public Overridable Property IsApplicationSubmitted As Nullable(Of Boolean) ''' '''Filter the results to those where the application has been disclosed (true), or not (false), or either (null) ''' Public Overridable Property IsApplicationDisclosed As Nullable(Of Boolean) ''' '''If the searches are being accessed by a sub user, specify their username here to only return searches they have permissions to view ''' Public Overridable Property SubUserName As String End Class Public Partial Class GetDbsSearchesData Inherits PagedResponse(Of GetDbsSearches) Public Overridable Property Searches As ArrayOfDbsSearchShort End Class Public Partial Class GetDbsSearchesResponse Public Overridable Property Data As GetDbsSearchesData End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Types Public Partial Class ArrayOfDbsSearchShort Inherits List(Of DbsSearchShort) 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 DbsSearchShort 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 Name As String Public Overridable Property Reference As String End Class Public Partial Class Links Public Overridable Property Self As String End Class Public Partial Class Meta(Of T) ''' '''Pagination links ''' Public Overridable Property Links As MetaLinks ''' '''The total number of records for the query ''' Public Overridable Property TotalCount As Nullable(Of Integer) ''' '''The maximum number of records to be returned in one page ''' Public Overridable Property PageLimit As Nullable(Of Integer) ''' '''The starting point in the list of records from where the data should be fetched. Zero based index. ''' Public Overridable Property PageOffset As Nullable(Of Integer) End Class Public Partial Class MetaLinks Inherits Links ''' '''The link to the first page of records ''' Public Overridable Property First As String ''' '''The link to the last page of records ''' Public Overridable Property Last As String ''' '''The link to the next page of records, if applicable ''' Public Overridable Property Next As String ''' '''The link to the last page of records, if applicable ''' Public Overridable Property Prev As String End Class End Namespace End Namespace