| GET | /taxAuthorityId |
|---|
import 'package:servicestack/servicestack.dart';
class TakenTaxAuthorityId implements IConvertible
{
String? id;
String? taxAuthorityId;
String? taxAuthorityIdUserInfo;
TakenTaxAuthorityId({this.id,this.taxAuthorityId,this.taxAuthorityIdUserInfo});
TakenTaxAuthorityId.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
taxAuthorityId = json['taxAuthorityId'];
taxAuthorityIdUserInfo = json['taxAuthorityIdUserInfo'];
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'taxAuthorityId': taxAuthorityId,
'taxAuthorityIdUserInfo': taxAuthorityIdUserInfo
};
getTypeName() => "TakenTaxAuthorityId";
TypeContext? context = _ctx;
}
class FindTaxAuthorityId implements IConvertible
{
String? id;
FindTaxAuthorityId({this.id});
FindTaxAuthorityId.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
return this;
}
Map<String, dynamic> toJson() => {
'id': id
};
getTypeName() => "FindTaxAuthorityId";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'fbihtaapi.bettor.webhop.biz', types: <String, TypeInfo> {
'TakenTaxAuthorityId': TypeInfo(TypeOf.Class, create:() => TakenTaxAuthorityId()),
'FindTaxAuthorityId': TypeInfo(TypeOf.Class, create:() => FindTaxAuthorityId()),
});
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 /taxAuthorityId HTTP/1.1 Host: fbihtaapi.bettor.webhop.biz Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"id":"String","taxAuthorityId":"String","taxAuthorityIdUserInfo":"String"}