| GET | /warranty/v1/article/{referenceId}/visual/{format} |
|---|
import 'package:servicestack/servicestack.dart';
class ArticleVisualRequest implements IConvertible
{
String? referenceId;
String? format;
ArticleVisualRequest({this.referenceId,this.format});
ArticleVisualRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
referenceId = json['referenceId'];
format = json['format'];
return this;
}
Map<String, dynamic> toJson() => {
'referenceId': referenceId,
'format': format
};
getTypeName() => "ArticleVisualRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'qp_microservices_booster.richemont.com', types: <String, TypeInfo> {
'ArticleVisualRequest': TypeInfo(TypeOf.Class, create:() => ArticleVisualRequest()),
});
Dart ArticleVisualRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /warranty/v1/article/{referenceId}/visual/{format} HTTP/1.1
Host: qp-microservices-booster.richemont.com
Accept: text/jsonl