FBiHBetting.Aggregator.WebApi

<back to all web services

FindTaxAuthorityId

The following routes are available for this service:
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()),
});

Dart FindTaxAuthorityId DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: String,
	taxAuthorityId: String,
	taxAuthorityIdUserInfo: String
}