ClubManager.Api

<back to all web services

ZapierEnquiryRequest

The following routes are available for this service:
POST/zapier/v1/enquiry
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ClubManager.Api.Services.Zapier

Namespace Global

    Namespace ClubManager.Api.Services.Zapier

        Public Partial Class ZapierEnquiryRequest
            Public Sub New()
                Tags = New String(){}
            End Sub

            Public Overridable Property Forenames As String
            Public Overridable Property Surname As String
            Public Overridable Property EmailAddress As String
            Public Overridable Property MobilePhone As String
            Public Overridable Property Message As String
            Public Overridable Property Tags As String()
        End Class

        Public Partial Class ZapierEnquiryResponse
            Public Overridable Property MemberKey As Guid
        End Class
    End Namespace
End Namespace

VB.NET ZapierEnquiryRequest 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.

POST /zapier/v1/enquiry HTTP/1.1 
Host: api.clubmanagercentral.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Forenames: String,
	Surname: String,
	EmailAddress: String,
	MobilePhone: String,
	Message: String,
	Tags: 
	[
		String
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	MemberKey: 00000000000000000000000000000000
}