| GET | /warranty/{saleId}/eligibility | Get a list of Sale Detail Eligibilities | Get a list of Sale Detail Eligibilities |
|---|
"use strict";
export class SelloutEligibilityResponse {
/** @param {{saleDetailId?:number,canBeExtended?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {number}
* @description Sale detail id */
saleDetailId;
/**
* @type {boolean}
* @description Can be extented */
canBeExtended;
}
export class GetSelloutEligibility {
/** @param {{saleId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {number}
* @description Sale Id */
saleId;
}
JavaScript GetSelloutEligibility DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /warranty/{saleId}/eligibility HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"saleDetailId":0,"canBeExtended":false}