' Options: 'Date: 2025-03-15 04:23:36 '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: SaveValidId.* '''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.ValidId 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.ValidId Public Partial Class SaveValidId Inherits BaseRequest Implements IReturn(Of SaveValidIdResponse) ''' '''The request data ''' Public Overridable Property Request As SaveValidIdRequest End Class Public Partial Class SaveValidIdData Inherits BaseResponse ''' '''Did the request succeed ''' Public Overridable Property Success As Boolean End Class Public Partial Class SaveValidIdRequest ''' '''If the saved document should be kept within a single Sub User account, specify their username here ''' Public Overridable Property SubUserName As String ''' '''The ID of the search that is being saved ''' Public Overridable Property Id As Integer End Class Public Partial Class SaveValidIdResponse ''' '''The response data ''' Public Overridable Property Data As SaveValidIdData End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Types 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 End Namespace End Namespace