| GET | /pass/payoutPercentageForTeams |
|---|
import 'package:servicestack/servicestack.dart';
class LegacyPayoutPercentageForTeamsRequest implements IConvertible
{
LegacyPayoutPercentageForTeamsRequest();
LegacyPayoutPercentageForTeamsRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "LegacyPayoutPercentageForTeamsRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: <String, TypeInfo> {
'LegacyPayoutPercentageForTeamsRequest': TypeInfo(TypeOf.Class, create:() => LegacyPayoutPercentageForTeamsRequest()),
});
Dart LegacyPayoutPercentageForTeamsRequest 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 /pass/payoutPercentageForTeams HTTP/1.1 Host: stubbur-app.azurewebsites.net Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
[{"teamNumber":"String","payoutPercentage":0,"addTransactionFee":0,"validTo":"String"}]