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": "07e3c3f8-2826-4b43-9686-8bb588fab81b",
"SignupDate": "2026-09-20T11:22:25.0356677+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>07e3c3f8-2826-4b43-9686-8bb588fab81b</MembershipId> <SignupDate>2026-09-20T11:22:25.0356677+02: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": "e535952d-6555-4c0a-ab94-8443f1ca2710",
"Name": "sample string 2",
"MemberTypeId": "2533ceae-c25d-45c6-b464-f60e2539bdee",
"SignupDate": "2026-09-20T11:22:25.0512727+02:00",
"ResignedDate": "2026-09-20T11:22:25.0512727+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>2533ceae-c25d-45c6-b464-f60e2539bdee</MemberTypeId> <MembershipId>e535952d-6555-4c0a-ab94-8443f1ca2710</MembershipId> <Name>sample string 2</Name> <ResignedDate>2026-09-20T11:22:25.0512727+02:00</ResignedDate> <SignupDate>2026-09-20T11:22:25.0512727+02:00</SignupDate> </MembershipDto>
