PUT api/Memberships
Update membership
Request Information
URI Parameters
None.
Body Parameters
MembershipUpdateDto| Name | 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": "9d8aa1ba-c849-4556-acdd-624b36d7df3f",
"SignupDate": "2025-12-06T11:43:50.1159111+01: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>9d8aa1ba-c849-4556-acdd-624b36d7df3f</MembershipId> <SignupDate>2025-12-06T11:43:50.1159111+01:00</SignupDate> </MembershipUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MembershipDto| Name | 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": "46509ba0-4ca8-49ca-8fbb-c1ca5fb6c8b2",
"Name": "sample string 2",
"MemberTypeId": "eac76675-da13-43a8-bbdd-105999358402",
"SignupDate": "2025-12-06T11:43:50.1159111+01:00",
"ResignedDate": "2025-12-06T11:43:50.1159111+01: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>eac76675-da13-43a8-bbdd-105999358402</MemberTypeId> <MembershipId>46509ba0-4ca8-49ca-8fbb-c1ca5fb6c8b2</MembershipId> <Name>sample string 2</Name> <ResignedDate>2025-12-06T11:43:50.1159111+01:00</ResignedDate> <SignupDate>2025-12-06T11:43:50.1159111+01:00</SignupDate> </MembershipDto>
