Richemont.Booster2.PublicApi

<back to all web services

GetSerialNumberHistory

Requires Authentication
The following routes are available for this service:
GET/serialnumber/{brand}/{serialNumber}/lookupGet a serial number history
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.MasterFile.ServiceModel

Namespace Global

    Namespace Richemont.Booster2.PublicApi.MasterFile.ServiceModel

        Public Partial Class GetSerialNumberHistory
            '''<Summary>
            '''Brand
            '''</Summary>
            <ApiMember(Description:="Brand", IsRequired:=true)>
            Public Overridable Property brand As String

            '''<Summary>
            '''Serial Number
            '''</Summary>
            <ApiMember(Description:="Serial Number", IsRequired:=true)>
            Public Overridable Property serialNumber As String
        End Class

        Public Partial Class GetSerialNumberHistoryResponse
            Inherits List(Of SerialNumberList)
        End Class

        Public Partial Class SerialNumberList
            '''<Summary>
            '''Article Code
            '''</Summary>
            <ApiMember(Description:="Article Code", IsRequired:=true)>
            Public Overridable Property articleCode As String

            '''<Summary>
            '''Serial Number
            '''</Summary>
            <ApiMember(Description:="Serial Number", IsRequired:=true)>
            Public Overridable Property serialNumber As String
        End Class
    End Namespace
End Namespace

VB.NET GetSerialNumberHistory DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /serialnumber/{brand}/{serialNumber}/lookup HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[]