| GET,OPTIONS | /book/{Slug} | ||
|---|---|---|---|
| GET,OPTIONS | /book/{Slug}/{Profile} |
import 'package:servicestack/servicestack.dart';
class CourierBookHtmlRequest implements IConvertible
{
String? Slug;
String? Profile;
CourierBookHtmlRequest({this.Slug,this.Profile});
CourierBookHtmlRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Slug = json['Slug'];
Profile = json['Profile'];
return this;
}
Map<String, dynamic> toJson() => {
'Slug': Slug,
'Profile': Profile
};
getTypeName() => "CourierBookHtmlRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'CourierBookHtmlRequest': TypeInfo(TypeOf.Class, create:() => CourierBookHtmlRequest()),
});
Dart CourierBookHtmlRequest DTOs
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 /book/{Slug} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv