Richemont.Booster2.PublicApi

<back to all web services

GetPosGroup

Requires Authentication
The following routes are available for this service:
GET/posGroupsGet the list of pos groups where user is authorized
"use strict";
export class Scope {
    /** @param {{scopeCode?:string,buCode?:string,brand?:string,description?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Scope Code - combination of BU / Brand */
    scopeCode;
    /**
     * @type {string}
     * @description Business Unit Code */
    buCode;
    /**
     * @type {string}
     * @description Brand Trigram */
    brand;
    /**
     * @type {string}
     * @description Description of the combination */
    description;
}
export class PosGroup extends Scope {
    /** @param {{posGroupCode?:number,posGroupDs?:string,isAuthorized?:boolean,scopeCode?:string,buCode?:string,brand?:string,description?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /**
     * @type {number}
     * @description Pos Group code */
    posGroupCode;
    /**
     * @type {string}
     * @description Pos Group Description */
    posGroupDs;
    /**
     * @type {boolean}
     * @description Define if user is authorized to this pos group */
    isAuthorized;
}
export class GetPosGroupResponse extends Array {
    constructor(init) { super(init); Object.assign(this, init) }
}
export class GetPosGroup {
    /** @param {{brand?:string,buCode?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Brand Trigram */
    brand;
    /**
     * @type {string}
     * @description Business Unit Code */
    buCode;
}

JavaScript GetPosGroup DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /posGroups HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[]