| GET | /zapier/v1/bookingtemplates |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class ZapierBookingTemplatesRequest implements IConvertible
{
ZapierBookingTemplatesRequest();
ZapierBookingTemplatesRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "ZapierBookingTemplatesRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: <String, TypeInfo> {
'ZapierBookingTemplatesRequest': TypeInfo(TypeOf.Class, create:() => ZapierBookingTemplatesRequest()),
});
Dart ZapierBookingTemplatesRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /zapier/v1/bookingtemplates HTTP/1.1 Host: api.clubmanagercentral.com Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfZapierBookingTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services.Zapier">
<ZapierBookingTemplate>
<Id>0</Id>
<LengthMinutes>0</LengthMinutes>
<Name>String</Name>
</ZapierBookingTemplate>
</ArrayOfZapierBookingTemplate>