ClubManager.Api

<back to all web services

ZapierStaffRequest

The following routes are available for this service:
GET/zapier/v1/staff
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class ZapierStaffRequest implements IConvertible
{
    ZapierStaffRequest();
    ZapierStaffRequest.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "ZapierStaffRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: <String, TypeInfo> {
    'ZapierStaffRequest': TypeInfo(TypeOf.Class, create:() => ZapierStaffRequest()),
});

Dart ZapierStaffRequest DTOs

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

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /zapier/v1/staff HTTP/1.1 
Host: api.clubmanagercentral.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfZapierStaffMember xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services.Zapier">
  <ZapierStaffMember>
    <Group>String</Group>
    <Id>0</Id>
    <Name>String</Name>
  </ZapierStaffMember>
</ArrayOfZapierStaffMember>