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