POST | /api/OnlineJoining/PreRegister |
---|
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.
POST /api/OnlineJoining/PreRegister HTTP/1.1
Host: api.clubmanagercentral.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<OnlineJoining.PreRegisterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services">
<Address1>String</Address1>
<Address2>String</Address2>
<AgreedToTerms>false</AgreedToTerms>
<ChildsEmailAddress>String</ChildsEmailAddress>
<ChildsMobilePhone>String</ChildsMobilePhone>
<City>String</City>
<County>String</County>
<DateOfBirth>String</DateOfBirth>
<DirectContactPermission>false</DirectContactPermission>
<Email>String</Email>
<EmergencyContact>String</EmergencyContact>
<Forenames>String</Forenames>
<GiftAid>false</GiftAid>
<HomePhone>String</HomePhone>
<MedicalInformation>String</MedicalInformation>
<MemberGender>String</MemberGender>
<MemberName>String</MemberName>
<Mobile>String</Mobile>
<OptInEmail>false</OptInEmail>
<OptInNotification>false</OptInNotification>
<OptInPostal>false</OptInPostal>
<OptInSMS>false</OptInSMS>
<OptInTelephone>false</OptInTelephone>
<ParentSurname>String</ParentSurname>
<PhotoPermission>false</PhotoPermission>
<Postcode>String</Postcode>
<Source>String</Source>
<Surname>String</Surname>
<Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Tags>
<Title>String</Title>
<Treatment>false</Treatment>
</OnlineJoining.PreRegisterRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <OnlineJoining.PreRegisterResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services"> <AppRegistrationId>String</AppRegistrationId> <MemberId>0</MemberId> <MemberKey>00000000-0000-0000-0000-000000000000</MemberKey> </OnlineJoining.PreRegisterResult>