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": "52c9327e-9ef8-4f9e-895a-0cd62e0368c5", "SignupDate": "2024-04-25T11:20:00.0085503+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>52c9327e-9ef8-4f9e-895a-0cd62e0368c5</MembershipId> <SignupDate>2024-04-25T11:20:00.0085503+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": "6631a842-5a34-4b85-8c50-cb4ba81fbc2f", "Name": "sample string 2", "MemberTypeId": "12f49dff-5706-4132-90bc-daa6ed8d838c", "SignupDate": "2024-04-25T11:20:00.0085503+02:00", "ResignedDate": "2024-04-25T11:20:00.0085503+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>12f49dff-5706-4132-90bc-daa6ed8d838c</MemberTypeId> <MembershipId>6631a842-5a34-4b85-8c50-cb4ba81fbc2f</MembershipId> <Name>sample string 2</Name> <ResignedDate>2024-04-25T11:20:00.0085503+02:00</ResignedDate> <SignupDate>2024-04-25T11:20:00.0085503+02:00</SignupDate> </MembershipDto>