GET api/Members/{id}/Memberships
Get all memberships of the member
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MembershipDtoName | Description | Type | Additional information |
---|---|---|---|
MembershipId |
ID of the membership (Guid) |
globally unique identifier |
None. |
Name |
Name of the membership |
string |
None. |
MemberTypeId |
ID of the membership type (Guid) |
globally unique identifier |
None. |
SignupDate |
The date the member signed up to the membership |
date |
None. |
ResignedDate |
The date the member resigned from the membership |
date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "MembershipId": "0007e960-1dea-4df3-b2cf-ce6372e2e783", "Name": "sample string 2", "MemberTypeId": "a4ca5c12-13ef-4a38-9230-5823f1c5bce5", "SignupDate": "2025-04-08T12:14:57.340907+02:00", "ResignedDate": "2025-04-08T12:14:57.340907+02:00" }, { "MembershipId": "0007e960-1dea-4df3-b2cf-ce6372e2e783", "Name": "sample string 2", "MemberTypeId": "a4ca5c12-13ef-4a38-9230-5823f1c5bce5", "SignupDate": "2025-04-08T12:14:57.340907+02:00", "ResignedDate": "2025-04-08T12:14:57.340907+02:00" } ]
application/xml, text/xml
Sample:
<ArrayOfMembershipDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <MembershipDto> <MemberTypeId>a4ca5c12-13ef-4a38-9230-5823f1c5bce5</MemberTypeId> <MembershipId>0007e960-1dea-4df3-b2cf-ce6372e2e783</MembershipId> <Name>sample string 2</Name> <ResignedDate>2025-04-08T12:14:57.340907+02:00</ResignedDate> <SignupDate>2025-04-08T12:14:57.340907+02:00</SignupDate> </MembershipDto> <MembershipDto> <MemberTypeId>a4ca5c12-13ef-4a38-9230-5823f1c5bce5</MemberTypeId> <MembershipId>0007e960-1dea-4df3-b2cf-ce6372e2e783</MembershipId> <Name>sample string 2</Name> <ResignedDate>2025-04-08T12:14:57.340907+02:00</ResignedDate> <SignupDate>2025-04-08T12:14:57.340907+02:00</SignupDate> </MembershipDto> </ArrayOfMembershipDto>