| GET | /security/{brand}/{posCode}/{mnemonicCode} | Get information if a Pos/User is authorized on a specific function |
|---|
namespace Richemont.Booster2.PublicApi.Security.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type GetPosAuthResponse() =
///<summary>
///Is Authorized
///</summary>
[<ApiMember(Description="Is Authorized", IsRequired=true)>]
member val isAuthorized:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type GetPosAuth() =
///<summary>
///Brand Trigram
///</summary>
[<ApiMember(Description="Brand Trigram", IsRequired=true)>]
member val brand:String = null with get,set
///<summary>
///POS Legacy
///</summary>
[<ApiMember(Description="POS Legacy", IsRequired=true)>]
member val posCode:String = null with get,set
///<summary>
///Mnemonic Petal Code
///</summary>
[<ApiMember(Description="Mnemonic Petal Code", IsRequired=true)>]
member val mnemonicCode:String = null with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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}