Richemont.Booster2.PublicApi

<back to all web services

GetCatalog

Requires Authentication
The following routes are available for this service:
GET/purchase/catalogGet a list of purchasable articles for the given Pos and Brand
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.Purchase.ServiceModel

Namespace Global

    Namespace Richemont.Booster2.PublicApi.Purchase.ServiceModel

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

            '''<Summary>
            '''Price of the article
            '''</Summary>
            <ApiMember(Description:="Price of the article", IsRequired:=true)>
            Public Overridable Property price As Decimal

            '''<Summary>
            '''Currency of the price of the article
            '''</Summary>
            <ApiMember(Description:="Currency of the price of the article", IsRequired:=true)>
            Public Overridable Property currency As String
        End Class

        Public Partial Class GetCatalog
            '''<Summary>
            '''POS Legacy
            '''</Summary>
            <ApiMember(Description:="POS Legacy", IsRequired:=true)>
            Public Overridable Property posCode As String

            '''<Summary>
            '''Brand Trigram of the POS
            '''</Summary>
            <ApiMember(Description:="Brand Trigram of the POS", IsRequired:=true)>
            Public Overridable Property brand As String
        End Class

        Public Partial Class GetCatalogResponse
            Public Overridable Property articles As IEnumerable(Of Article)
        End Class
    End Namespace
End Namespace

VB.NET GetCatalog DTOs

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

HTTP + JSV

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

GET /purchase/catalog HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	
}