' Options:
'Date: 2026-09-09 11:01:44
'Version: 10.08
'Tip: To override a DTO option, remove "''" prefix before updating
'BaseUrl: https://services.acct.2service.nl
'
'''GlobalNamespace:
'''MakePartial: True
'''MakeVirtual: True
'''MakeDataContractsExtensible: False
'''AddReturnMarker: True
'''AddDescriptionAsComments: True
'''AddDataContractAttributes: False
'''AddIndexesToDataMembers: False
'''AddGeneratedCodeAttributes: False
'''AddResponseStatus: False
'''AddImplicitVersion:
'''InitializeCollections: False
'''ExportValueTypes: False
'IncludeTypes: GetPartInfo.*
'''ExcludeTypes:
'''AddNamespaces:
'''AddDefaultXmlNamespace: http://schemas.servicestack.net/types
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports _2Service.Webservices.ServiceModel.Dealers
Imports _2Service.Webservices.ServiceModel
Namespace Global
Namespace _2Service.Webservices.ServiceModel
Public Partial Class OperationResult
'''
'''Specifies if the operation was successful.
'''
Public Overridable Property IsSuccessful As Boolean
'''
'''States error message in case of unsuccessful operation.
'''
Public Overridable Property ErrorMessage As String
End Class
Public Partial Class OperationResult(Of T)
Inherits OperationResult
'''
'''Result value
'''
Public Overridable Property Result As T
End Class
End Namespace
Namespace _2Service.Webservices.ServiceModel.Dealers
Public Partial Class AuthenticatedRequest
'''
'''Session token received from successful authentication.
'''
Public Overridable Property SessionToken As String
End Class
Public Partial Class GetPartInfo
Inherits AuthenticatedRequest
Implements IReturn(Of PartInfoResponse)
'''
'''Part number to retrieve info for.
'''
Public Overridable Property PartNumber As String
End Class
Public Partial Class PartInfoResponse
Inherits OperationResult(Of PartInfoResult)
End Class
Public Partial Class PartInfoResult
'''
'''Unique ID for the part.
'''
Public Overridable Property Id As Integer
'''
'''Part number.
'''
Public Overridable Property PartNumber As String
'''
'''Description of the part.
'''
Public Overridable Property Description As String
'''
'''Part manufacturer.
'''
Public Overridable Property Manufacturer As String
'''
'''Determines if the part can be ordered.
'''
Public Overridable Property CanBeOrdered As Boolean
'''
'''Textual representation of the status of the part.
'''
Public Overridable Property StatusText As String
'''
'''Available stock to order.
'''
Public Overridable Property AvailableStockQuantity As Integer
'''
'''Average days needed for delivery.
'''
Public Overridable Property AverageDeliveryInDays As Integer?
'''
'''Price of a single unit, excluding VAT.
'''
Public Overridable Property UnitPrice As Decimal?
'''
'''EAN number.
'''
Public Overridable Property EanNumber As String
'''
'''Images
'''
Public Overridable Property Images As List(Of PartInfoResultImage)
'''
'''Secondary article numbers
'''
Public Overridable Property SecondaryArticleNumbers As List(Of String)
'''
'''Replacement article numbers
'''
Public Overridable Property ReplacementArticleNumbers As List(Of String)
'''
'''Stock quantities
'''
Public Overridable Property StockQuantities As List(Of PartStockQuantity)
End Class
Public Partial Class PartInfoResultImage
'''
'''Image number
'''
Public Overridable Property ImageNumber As Integer
'''
'''Image URL
'''
Public Overridable Property ImageUrl As String
End Class
Public Partial Class PartStockQuantity
'''
'''Location ID
'''
Public Overridable Property LocationId As Integer
'''
'''Location code
'''
Public Overridable Property LocationCode As String
'''
'''Stock quantity in location
'''
Public Overridable Property StockQuantity As Integer
End Class
End Namespace
End Namespace