' Options: 'Date: 2025-04-29 14:11:21 '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: GetPepSearchNotes.* '''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.PepSearches Imports SanctionsSearch.Api2.ServiceModel.Operations.Searches 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 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.PepSearches Public Partial Class GetPepSearchNotes Inherits BaseRequest Implements IReturn(Of GetPepSearchNotesResponse) Public Overridable Property Request As GetPepSearchNotesRequest End Class Public Partial Class GetPepSearchNotesData Inherits BaseResponse Public Overridable Property Success As Boolean Public Overridable Property Notes As ArrayOfSearchNote Public Overridable Property Id As Long End Class Public Partial Class GetPepSearchNotesRequest Implements ISearchNoteRequest Public Overridable Property Id As Long Public Overridable Property SubUserName As String End Class Public Partial Class GetPepSearchNotesResponse Public Overridable Property Data As GetPepSearchNotesData End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Operations.Searches Public Interface ISearchNoteRequest Property Id As Long Property SubUserName As String End Interface End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Types Public Partial Class ArrayOfSearchNote Inherits List(Of SearchNote) End Class Public Partial Class Authentication ''' '''The API User ID provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-User) ''' Public Overridable Property ApiUserId As String ''' '''The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key) ''' Public Overridable Property ApiUserKey As String ''' '''The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id). ''' Public Overridable Property UserId As String End Class Public Partial Class SearchNote Public Overridable Property Name As String Public Overridable Property [Date] As Date Public Overridable Property Content As String End Class End Namespace End Namespace