| GET | /posChain/{brand}/{posCode}/availableForTransfer | Get available POS within the same Chain where stock is transferable |
|---|
export class Pos
{
/** @description POS Code */
// @ApiMember(Description="POS Code", IsRequired=true)
public posCode: string;
/** @description Name of the POS */
// @ApiMember(Description="Name of the POS", IsRequired=true)
public name: string;
/** @description City of the POS */
// @ApiMember(Description="City of the POS", IsRequired=true)
public city: string;
/** @description Address of the POS */
// @ApiMember(Description="Address of the POS", IsRequired=true)
public address: string;
/** @description Country of the POS */
// @ApiMember(Description="Country of the POS", IsRequired=true)
public country: string;
/** @description Brand of the POS */
// @ApiMember(Description="Brand of the POS", IsRequired=true)
public brand: string;
public constructor(init?: Partial<Pos>) { (Object as any).assign(this, init); }
}
export class GetPosChainTransferAvailableResponse extends Array<Pos>
{
public constructor(init?: Partial<GetPosChainTransferAvailableResponse>) { super(); (Object as any).assign(this, init); }
}
export class GetPosChainTransferAvailable
{
/** @description Brand */
// @ApiMember(Description="Brand", IsRequired=true)
public brand: string;
/** @description POS Legacy Code */
// @ApiMember(Description="POS Legacy Code", IsRequired=true)
public posCode: string;
public constructor(init?: Partial<GetPosChainTransferAvailable>) { (Object as any).assign(this, init); }
}
TypeScript GetPosChainTransferAvailable DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /posChain/{brand}/{posCode}/availableForTransfer HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ ]