POST api/Memberships
Create membership
Request Information
URI Parameters
None.
Body Parameters
MembershipCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberId |
ID of the member (Guid) |
globally unique identifier |
Required |
| MemberTypeId |
ID of the MemberType (Guid) |
globally unique identifier |
Required |
| SignupDate |
The date the member signed up to the membership |
date |
Required |
Request Formats
application/json, text/json
Sample:
{
"MemberId": "56bd89af-4277-4fe6-9f61-7791a4af225c",
"MemberTypeId": "32dbc442-d339-44d0-8fcc-79b5f1275cec",
"SignupDate": "2026-03-22T22:04:59.1854962+01:00"
}
application/xml, text/xml
Sample:
<MembershipCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <MemberId>56bd89af-4277-4fe6-9f61-7791a4af225c</MemberId> <MemberTypeId>32dbc442-d339-44d0-8fcc-79b5f1275cec</MemberTypeId> <SignupDate>2026-03-22T22:04:59.1854962+01:00</SignupDate> </MembershipCreateDto>
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": "ff8e1665-4f5f-4030-9ad6-dadb19484580",
"Name": "sample string 2",
"MemberTypeId": "dd33a121-5739-40fb-994a-754b53ab40e8",
"SignupDate": "2026-03-22T22:04:59.1854962+01:00",
"ResignedDate": "2026-03-22T22:04:59.1854962+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>dd33a121-5739-40fb-994a-754b53ab40e8</MemberTypeId> <MembershipId>ff8e1665-4f5f-4030-9ad6-dadb19484580</MembershipId> <Name>sample string 2</Name> <ResignedDate>2026-03-22T22:04:59.1854962+01:00</ResignedDate> <SignupDate>2026-03-22T22:04:59.1854962+01:00</SignupDate> </MembershipDto>
