' Options: 'Date: 2025-03-15 06:06: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: SearchCompanyLookup.* '''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.CompanyLookup 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.CompanyLookup Public Partial Class SearchCompanyLookup Inherits BaseRequest Implements IReturn(Of SearchCompanyLookupResponse) Public Overridable Property Request As SearchCompanyLookupRequest End Class Public Partial Class SearchCompanyLookupData Inherits BaseResponse Public Overridable Property SearchResults As ArrayOfCompanySearchResult End Class Public Partial Class SearchCompanyLookupRequest Public Overridable Property CompanyName As String Public Overridable Property CompanyCountry As String Public Overridable Property AutocompleteMode As Boolean End Class Public Partial Class SearchCompanyLookupResponse Public Overridable Property Data As SearchCompanyLookupData End Class End Namespace Namespace SanctionsSearch.Api2.ServiceModel.Types Public Partial Class ArrayOfCompanySearchResult Inherits List(Of CompanySearchResultItem) 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 CompanySearchResultItem Public Overridable Property Id As String Public Overridable Property Number As String Public Overridable Property Name As String Public Overridable Property Address As String Public Overridable Property Country As String Public Overridable Property Status As String End Class End Namespace End Namespace