' Options: 'Date: 2025-03-15 04:22:11 '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: GetSubUsers.* '''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 GetSubUsers Inherits BaseRequest Implements IReturn(Of GetSubUsersResponse) ''' '''If this is 'True' the main user will be included in the list of sub users ''' Public Overridable Property IncludeMainUser As Boolean End Class Public Partial Class GetSubUsersData Inherits BaseResponse Public Sub New() SubUsers = New List(Of SubUser) End Sub ''' '''The list of sub users ''' Public Overridable Property SubUsers As List(Of SubUser) End Class Public Partial Class GetSubUsersResponse ''' '''The response data ''' Public Overridable Property Data As GetSubUsersData 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 ArrayOfUserNames 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 ''' 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 SubUser ''' '''Is this user the main user (i.e. the user who created the account) ''' Public Overridable Property IsMainUser As Boolean ''' '''The sub user's id (GUID) ''' Public Overridable Property UserId As Guid ''' '''The sub user's UserName (i.e. the sign-in username) ''' Public Overridable Property UserName As String ''' '''The sub user's name ''' Public Overridable Property Name As String ''' '''The sub user's email address ''' Public Overridable Property Email As String ''' '''Does this sub user have admin privileges, such as managing purchases and sub users ''' Public Overridable Property IsAdmin As Boolean ''' '''Can this sub user resolve searches (UpdateSearch) they have access to ''' Public Overridable Property CanResolveSearches As Boolean ''' '''Can this sub user delete searches (DeleteSearch) they have access to ''' Public Overridable Property CanDeleteSearches As Boolean ''' '''The user names for which searches will be made available to the sub user ''' Public Overridable Property Permissions As ArrayOfUserNames End Class End Namespace End Namespace