| GET | /zapier/v1/me |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class ZapierMeResponse implements IConvertible
{
int? BranchId;
String? BranchName;
ZapierMeResponse({this.BranchId,this.BranchName});
ZapierMeResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
BranchId = json['BranchId'];
BranchName = json['BranchName'];
return this;
}
Map<String, dynamic> toJson() => {
'BranchId': BranchId,
'BranchName': BranchName
};
getTypeName() => "ZapierMeResponse";
TypeContext? context = _ctx;
}
class ZapierMeRequest implements IConvertible
{
ZapierMeRequest();
ZapierMeRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "ZapierMeRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: <String, TypeInfo> {
'ZapierMeResponse': TypeInfo(TypeOf.Class, create:() => ZapierMeResponse()),
'ZapierMeRequest': TypeInfo(TypeOf.Class, create:() => ZapierMeRequest()),
});
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 /zapier/v1/me HTTP/1.1 Host: api.clubmanagercentral.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"BranchId":0,"BranchName":"String"}