| DELETE | /salesReps/{brand}/{posCode}/{userId} | Delete Sales Reps |
|---|
export class DeleteSalesRepResponse
{
public constructor(init?: Partial<DeleteSalesRepResponse>) { (Object as any).assign(this, init); }
}
export class DeleteSalesRep
{
/** @description Brand Triagram, e.g. CAR, IWC, VAC */
// @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
public brand: string;
/** @description Point of Sale Code, e.g. ES100:102048 */
// @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
public posCode: string;
/** @description Booster user ID of sales representative */
// @ApiMember(Description="Booster user ID of sales representative", IsRequired=true)
public userId: string;
public constructor(init?: Partial<DeleteSalesRep>) { (Object as any).assign(this, init); }
}
TypeScript DeleteSalesRep DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /salesReps/{brand}/{posCode}/{userId} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <DeleteSalesRepResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.POS.ServiceModel" />