Richemont.Booster2.PublicApi

<back to all web services

GetLanguages

Requires Authentication
The following routes are available for this service:
GET/languagesGet all available languages
"use strict";
export class Language {
    /** @param {{languageId?:string,description?:string,translation?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Booster ID of the language */
    languageId;
    /**
     * @type {string}
     * @description Description of the language */
    description;
    /**
     * @type {string}
     * @description Language description translation */
    translation;
}
export class GetLanguagesResponse extends Array {
    constructor(init) { super(init); Object.assign(this, init) }
}
export class GetLanguages {
    constructor(init) { Object.assign(this, init) }
}

JavaScript GetLanguages DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /languages HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

[]