| POST | /warranty/equipment | Create Equipment Warranty | Create Equipment Warranty API |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| brand | body | string | No | Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided |
| posCode | body | string | Yes | Richemont POS code |
| equipment | body | string | Yes | Equipment |
| warrantyType | body | string | Yes | Warranty type |
| warrantyStartDate | body | DateTime | Yes | Date of the warranty start date e.g. 2025-06-01 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| equipment | form | string | Yes | Equipment number |
| warrantyType | form | string | Yes | Warranty type |
| masterWarranty | form | string | Yes | Master warranty |
| warrantyStartDate | form | string | Yes | Warranty start date |
| warrantyEndDate | form | string | No | Warranty end date |
| warrantyCreationDate | form | string | Yes | Warranty creation date |
| warrantyCreationTime | form | string | Yes | Warranty creation time |
| objectNumber | form | string | Yes | Object number (ERP) |
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.
POST /warranty/equipment HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
brand: String,
posCode: String,
equipment: String,
warrantyType: String,
warrantyStartDate: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
equipment: String,
warrantyType: String,
masterWarranty: String,
warrantyStartDate: String,
warrantyEndDate: String,
warrantyCreationDate: String,
warrantyCreationTime: String,
objectNumber: String
}