| GET | /eventTypes | Get all available event types |
|---|
export class EventType
{
/** @description Booster Event Type */
// @ApiMember(Description="Booster Event Type", IsRequired=true)
public eventType: string;
/** @description Event type translation */
// @ApiMember(Description="Event type translation", IsRequired=true)
public translation: string;
public constructor(init?: Partial<EventType>) { (Object as any).assign(this, init); }
}
export class GetEventTypesResponse extends Array<EventType>
{
public constructor(init?: Partial<GetEventTypesResponse>) { super(); (Object as any).assign(this, init); }
}
export class GetEventTypes
{
public constructor(init?: Partial<GetEventTypes>) { (Object as any).assign(this, init); }
}
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 /eventTypes HTTP/1.1 Host: dev-api-booster.richemont.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ ]