' Options:
'Date: 2025-12-16 10:20:32
'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: RegisterAccountTemplate.*
'''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.Account
Namespace Global
Namespace SanctionsSearch.Api2.ServiceModel.Operations.Account
Public Partial Class ReferenceData
'''
'''A list of supported country values
'''
Public Overridable Property Countries As ArrayOfCountry
'''
'''A list of valid industry classifications for companies
'''
Public Overridable Property CompanyIndustries As ArrayOfCompanyIndustry
'''
'''A list of accepted company types
'''
Public Overridable Property CompanyTypes As ArrayOfCompanyType
'''
'''A list of countries where VAT registration is recognized
'''
Public Overridable Property VATCountries As ArrayOfVATCountry
'''
'''A URL linking to the terms and conditions document
'''
Public Overridable Property TermsAndConditionsLink As String
'''
'''A URL linking to the privacy policy
'''
Public Overridable Property PrivacyPolicyLink As String
'''
'''The statement regarding contact preferences
'''
Public Overridable Property ContactStatement As String
'''
'''The statement outlining data protection policies
'''
Public Overridable Property DataProtectionStatement As String
End Class
Public Partial Class RegisterAccountRequest
'''
'''The desired login username for the account
'''
Public Overridable Property Username As String
'''
'''The password for account login
'''
Public Overridable Property Password As String
'''
'''The contact email address for the account holder
'''
Public Overridable Property Email As String
'''
'''The full legal name of the account holder
'''
Public Overridable Property FullName As String
'''
'''The registered name of the company associated with this account
'''
Public Overridable Property CompanyName As String
'''
'''The primary contact phone number of the company
'''
Public Overridable Property CompanyPhone As String
'''
'''The first line of the company’s address (e.g., street name and number)
'''
Public Overridable Property Address1 As String
'''
'''The second line of the company’s address (optional)
'''
Public Overridable Property Address2 As String
'''
'''The third line of the company’s address (optional)
'''
Public Overridable Property Address3 As String
'''
'''The city where the company is located (optional)
'''
Public Overridable Property City As String
'''
'''The postal or ZIP code of the company’s address
'''
Public Overridable Property Postcode As String
'''
'''The country where the company is registered
'''
Public Overridable Property Country As String
'''
'''The classification of the company (e.g., LLC, Corporation, Sole Proprietorship)
'''
Public Overridable Property CompanyType As String
'''
'''The industry sector the company operates in
'''
Public Overridable Property CompanyIndustry As String
'''
'''The trade body, network, or affiliation the company is a member of (if applicable)
'''
Public Overridable Property CompanyNetwork As String
'''
'''Indicates agreement to the terms and conditions (required)
'''
Public Overridable Property AgreeToTerms As Boolean
'''
'''Indicates agreement to the data protection statement (required)
'''
Public Overridable Property AgreeToDataProtection As Boolean
'''
'''Indicates consent to be contacted (optional)
'''
Public Overridable Property AgreeToContact As Boolean
'''
'''Indicates agreement to the privacy policy (required)
'''
Public Overridable Property AgreeToPrivacy As Boolean
'''
'''An optional voucher code for discounts or promotions
'''
Public Overridable Property VoucherCode As String
'''
'''An optional code that grants access to certain features or subscriptions
'''
Public Overridable Property AccountActivationCode As String
'''
'''The company's VAT registration number (if applicable)
'''
Public Overridable Property VATNumber As String
'''
'''The country where the company is VAT-registered
'''
Public Overridable Property VATCountry As String
End Class
Public Partial Class RegisterAccountTemplate
Inherits BaseRequest
Implements IReturn(Of RegisterAccountTemplateResponse)
End Class
Public Partial Class RegisterAccountTemplateData
Inherits BaseResponse
'''
'''The request body of the RegisterAccount endpoint
'''
Public Overridable Property Request As RegisterAccountRequest
'''
'''Reference data to fill out the RegisterAccount body
'''
Public Overridable Property ReferenceData As ReferenceData
End Class
Public Partial Class RegisterAccountTemplateResponse
'''
'''The response data
'''
Public Overridable Property Data As RegisterAccountTemplateData
End Class
End Namespace
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.Types
Public Partial Class ArrayOfCompanyIndustry
Inherits List(Of String)
End Class
Public Partial Class ArrayOfCompanyType
Inherits List(Of String)
End Class
Public Partial Class ArrayOfCountry
Inherits List(Of String)
End Class
Public Partial Class ArrayOfVATCountry
Inherits List(Of String)
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
End Namespace
End Namespace