POST | /api/OnlineJoining/PreRegister |
---|
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.
POST /api/OnlineJoining/PreRegister HTTP/1.1
Host: api.clubmanagercentral.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Source":"String","MemberGender":"String","DateOfBirth":"String","MemberName":"String","ParentSurname":"String","Title":"String","Forenames":"String","Surname":"String","Address1":"String","Address2":"String","City":"String","County":"String","Postcode":"String","Email":"String","HomePhone":"String","Mobile":"String","MedicalInformation":"String","EmergencyContact":"String","Treatment":false,"GiftAid":false,"PhotoPermission":false,"DirectContactPermission":false,"AgreedToTerms":false,"ChildsEmailAddress":"String","ChildsMobilePhone":"String","OptInEmail":false,"OptInSMS":false,"OptInNotification":false,"OptInPostal":false,"OptInTelephone":false,"Tags":["String"]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"MemberId":0,"MemberKey":"00000000000000000000000000000000","AppRegistrationId":"String"}