ClubManager.Api

<back to all web services

MembershipTypeService.GetPublicMembershipTypesRequest

Requires Authentication
The following routes are available for this service:
POST,GET/api/MembershipType/GetPublicMembershipTypes

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.

POST /api/MembershipType/GetPublicMembershipTypes HTTP/1.1 
Host: api.clubmanagercentral.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<MembershipTypeService.GetPublicMembershipTypesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfMembershipTypeHolder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Interfaces.Models.MembershipType">
  <MembershipTypeHolder>
    <_x003C_AllowSelectionAfterStartsOn_x003E_k__BackingField>false</_x003C_AllowSelectionAfterStartsOn_x003E_k__BackingField>
    <_x003C_BranchId_x003E_k__BackingField>0</_x003C_BranchId_x003E_k__BackingField>
    <_x003C_ClassesRemaining_x003E_k__BackingField>0</_x003C_ClassesRemaining_x003E_k__BackingField>
    <_x003C_Definition_x003E_k__BackingField>String</_x003C_Definition_x003E_k__BackingField>
    <_x003C_Deleted_x003E_k__BackingField>false</_x003C_Deleted_x003E_k__BackingField>
    <_x003C_Demo_x003E_k__BackingField>false</_x003C_Demo_x003E_k__BackingField>
    <_x003C_Description_x003E_k__BackingField>String</_x003C_Description_x003E_k__BackingField>
    <_x003C_LicensesRemaining_x003E_k__BackingField>0</_x003C_LicensesRemaining_x003E_k__BackingField>
    <_x003C_MemberLimit_x003E_k__BackingField>0</_x003C_MemberLimit_x003E_k__BackingField>
    <_x003C_MembershipTypeId_x003E_k__BackingField>0</_x003C_MembershipTypeId_x003E_k__BackingField>
    <_x003C_MultiSiteAccess_x003E_k__BackingField>false</_x003C_MultiSiteAccess_x003E_k__BackingField>
    <_x003C_Name_x003E_k__BackingField>String</_x003C_Name_x003E_k__BackingField>
    <_x003C_Public_x003E_k__BackingField>false</_x003C_Public_x003E_k__BackingField>
    <_x003C_ScheduleId_x003E_k__BackingField>0</_x003C_ScheduleId_x003E_k__BackingField>
    <_x003C_SessionsFrequency_x003E_k__BackingField>0</_x003C_SessionsFrequency_x003E_k__BackingField>
    <_x003C_SessionsPeriod_x003E_k__BackingField>Day</_x003C_SessionsPeriod_x003E_k__BackingField>
    <_x003C_SessionsRemaining_x003E_k__BackingField>0</_x003C_SessionsRemaining_x003E_k__BackingField>
    <_x003C_SortOrder_x003E_k__BackingField>0</_x003C_SortOrder_x003E_k__BackingField>
    <_x003C_Special_x003E_k__BackingField>false</_x003C_Special_x003E_k__BackingField>
    <_x003C_StartsOn_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_StartsOn_x003E_k__BackingField>
  </MembershipTypeHolder>
</ArrayOfMembershipTypeHolder>