| GET,OPTIONS | /v1/staff/respond |
|---|
import 'package:servicestack/servicestack.dart';
class StaffPublicRespondRequest implements IConvertible
{
String? Token;
String? Action;
String? Note;
double? Rate;
String? Start;
StaffPublicRespondRequest({this.Token,this.Action,this.Note,this.Rate,this.Start});
StaffPublicRespondRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Token = json['Token'];
Action = json['Action'];
Note = json['Note'];
Rate = JsonConverters.toDouble(json['Rate']);
Start = json['Start'];
return this;
}
Map<String, dynamic> toJson() => {
'Token': Token,
'Action': Action,
'Note': Note,
'Rate': Rate,
'Start': Start
};
getTypeName() => "StaffPublicRespondRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'StaffPublicRespondRequest': TypeInfo(TypeOf.Class, create:() => StaffPublicRespondRequest()),
});
Dart StaffPublicRespondRequest 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 /v1/staff/respond HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/csv