PUT api/Memberships
Update membership
Request Information
URI Parameters
None.
Body Parameters
MembershipUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
MembershipId |
ID of the membership (Guid) |
globally unique identifier |
Required |
SignupDate |
The date the member signed up to the membership |
date |
Required |
Request Formats
application/json, text/json
Sample:
{ "MembershipId": "8055c896-85a4-4596-8375-9f5aa378c592", "SignupDate": "2025-06-11T21:43:11.3438109+02:00" }
application/xml, text/xml
Sample:
<MembershipUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <MembershipId>8055c896-85a4-4596-8375-9f5aa378c592</MembershipId> <SignupDate>2025-06-11T21:43:11.3438109+02:00</SignupDate> </MembershipUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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": "56ffb531-824c-442a-aa64-233971e012e1", "Name": "sample string 2", "MemberTypeId": "d7b50968-f9a0-4c87-9c90-7d47e56bb96c", "SignupDate": "2025-06-11T21:43:11.3438109+02:00", "ResignedDate": "2025-06-11T21:43:11.3438109+02:00" }
application/xml, text/xml
Sample:
<MembershipDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <MemberTypeId>d7b50968-f9a0-4c87-9c90-7d47e56bb96c</MemberTypeId> <MembershipId>56ffb531-824c-442a-aa64-233971e012e1</MembershipId> <Name>sample string 2</Name> <ResignedDate>2025-06-11T21:43:11.3438109+02:00</ResignedDate> <SignupDate>2025-06-11T21:43:11.3438109+02:00</SignupDate> </MembershipDto>