Richemont.Booster2.PublicApi

<back to all web services

GetPosAuth

Requires Authentication
The following routes are available for this service:
GET/security/{brand}/{posCode}/{mnemonicCode}Get information if a Pos/User is authorized on a specific function
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.Security.ServiceModel

Namespace Global

    Namespace Richemont.Booster2.PublicApi.Security.ServiceModel

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

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

            '''<Summary>
            '''Mnemonic Petal Code
            '''</Summary>
            <ApiMember(Description:="Mnemonic Petal Code", IsRequired:=true)>
            Public Overridable Property mnemonicCode As String
        End Class

        Public Partial Class GetPosAuthResponse
            '''<Summary>
            '''Is Authorized
            '''</Summary>
            <ApiMember(Description:="Is Authorized", IsRequired:=true)>
            Public Overridable Property isAuthorized As Boolean
        End Class
    End Namespace
End Namespace

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

{"isAuthorized":false}