| All Verbs | /rounds/results |
|---|
import 'package:servicestack/servicestack.dart';
class FindRoundResults implements IConvertible
{
String? roundId;
String? filter;
FindRoundResults({this.roundId,this.filter});
FindRoundResults.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
roundId = json['roundId'];
filter = json['filter'];
return this;
}
Map<String, dynamic> toJson() => {
'roundId': roundId,
'filter': filter
};
getTypeName() => "FindRoundResults";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'grh1.api.bettor.webhop.biz', types: <String, TypeInfo> {
'FindRoundResults': TypeInfo(TypeOf.Class, create:() => FindRoundResults()),
});
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.
POST /rounds/results HTTP/1.1
Host: grh1.api.bettor.webhop.biz
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"roundId":"String","filter":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
[{"id":"String","sequence":"String","createdAt":"0001-01-01T00:00:00.0000000Z"}]