Richemont.Booster2.PublicApi

<back to all web services

GetSerialNumberDetails

Requires Authentication
The following routes are available for this service:
GET/serialnumber/{articleCode}/{serialNumber}Get a serial number with details
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 GetSerialNumberDetails
            '''<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

            '''<Summary>
            '''POS Code e.g. ES100:102048
            '''</Summary>
            <ApiMember(Description:="POS Code e.g. ES100:102048")>
            Public Overridable Property posCode As String
        End Class

        Public Partial Class GetSerialNumberDetailsResponse
            Public Sub New()
                services = New List(Of Service)
            End Sub

            '''<Summary>
            '''Brand
            '''</Summary>
            <ApiMember(Description:="Brand")>
            Public Overridable Property brand As String

            '''<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

            '''<Summary>
            '''Article Description
            '''</Summary>
            <ApiMember(Description:="Article Description")>
            Public Overridable Property articleDescription As String

            '''<Summary>
            '''Warranty Start Date
            '''</Summary>
            <ApiMember(Description:="Warranty Start Date")>
            Public Overridable Property warrantyStartDate As String

            '''<Summary>
            '''Warranty End Date
            '''</Summary>
            <ApiMember(Description:="Warranty End Date")>
            Public Overridable Property warrantyEndDate As String

            '''<Summary>
            '''Last Repair Date
            '''</Summary>
            <ApiMember(Description:="Last Repair Date")>
            Public Overridable Property lastRepairDate As String

            '''<Summary>
            '''Sell In Date
            '''</Summary>
            <ApiMember(Description:="Sell In Date")>
            Public Overridable Property sellInDate As String

            '''<Summary>
            '''Last Repair Site
            '''</Summary>
            <ApiMember(Description:="Last Repair Site")>
            Public Overridable Property lastRepairSite As String

            '''<Summary>
            '''Services
            '''</Summary>
            <ApiMember(Description:="Services")>
            Public Overridable Property services As List(Of Service)

            '''<Summary>
            '''Enquirus lost or stolen
            '''</Summary>
            <ApiMember(Description:="Enquirus lost or stolen")>
            Public Overridable Property lostOrStolenStatus As Boolean

            '''<Summary>
            '''Warranty CPO Start Date
            '''</Summary>
            <ApiMember(Description:="Warranty CPO Start Date")>
            Public Overridable Property warrantyResaleStartDate As String

            '''<Summary>
            '''Warranty CPO End Date
            '''</Summary>
            <ApiMember(Description:="Warranty CPO End Date")>
            Public Overridable Property warrantyResaleEndDate As String
        End Class

        Public Partial Class Service
            '''<Summary>
            '''Language Code
            '''</Summary>
            <ApiMember(Description:="Language Code")>
            Public Overridable Property languageCode As String

            '''<Summary>
            '''Service
            '''</Summary>
            <ApiMember(Description:="Service")>
            Public Overridable Property service As String
        End Class
    End Namespace
End Namespace

VB.NET GetSerialNumberDetails 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/{articleCode}/{serialNumber} HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"brand":"String","articleCode":"String","serialNumber":"String","articleDescription":"String","warrantyStartDate":"String","warrantyEndDate":"String","lastRepairDate":"String","sellInDate":"String","lastRepairSite":"String","services":[{"languageCode":"String","service":"String"}],"lostOrStolenStatus":false,"warrantyResaleStartDate":"String","warrantyResaleEndDate":"String"}