| GET | /posGroups | Get the list of pos groups where user is authorized |
|---|
export class Scope
{
/** @description Scope Code - combination of BU / Brand */
// @ApiMember(Description="Scope Code - combination of BU / Brand", IsRequired=true)
public scopeCode: string;
/** @description Business Unit Code */
// @ApiMember(Description="Business Unit Code", IsRequired=true)
public buCode: string;
/** @description Brand Trigram */
// @ApiMember(Description="Brand Trigram", IsRequired=true)
public brand: string;
/** @description Description of the combination */
// @ApiMember(Description="Description of the combination", IsRequired=true)
public description: string;
public constructor(init?: Partial<Scope>) { (Object as any).assign(this, init); }
}
export class PosGroup extends Scope
{
/** @description Pos Group code */
// @ApiMember(Description="Pos Group code", IsRequired=true)
public posGroupCode: number;
/** @description Pos Group Description */
// @ApiMember(Description="Pos Group Description", IsRequired=true)
public posGroupDs: string;
/** @description Define if user is authorized to this pos group */
// @ApiMember(Description="Define if user is authorized to this pos group", IsRequired=true)
public isAuthorized: boolean;
public constructor(init?: Partial<PosGroup>) { super(init); (Object as any).assign(this, init); }
}
export class GetPosGroupResponse extends Array<PosGroup>
{
public constructor(init?: Partial<GetPosGroupResponse>) { super(); (Object as any).assign(this, init); }
}
export class GetPosGroup
{
/** @description Brand Trigram */
// @ApiMember(Description="Brand Trigram", IsRequired=true)
public brand: string;
/** @description Business Unit Code */
// @ApiMember(Description="Business Unit Code", IsRequired=true)
public buCode: string;
public constructor(init?: Partial<GetPosGroup>) { (Object as any).assign(this, init); }
}
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 /posGroups HTTP/1.1 Host: dev-api-booster.richemont.com Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length []