POST api/v1/memberstates

Request Information

URI Parameters

None.

Body Parameters

MemberStateDetails
NameDescriptionTypeAdditional information
MemberStateId

globally unique identifier

None.

MemberStateName

string

Required

String length: inclusive between 0 and 50

Remarks

string

String length: inclusive between 0 and 250

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberStateId": "b056912c-b910-4b72-a5e9-87a866f4a7ac",
  "MemberStateName": "sample string 2",
  "Remarks": "sample string 3",
  "Id": "b056912c-b910-4b72-a5e9-87a866f4a7ac",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"MemberStateId":"b056912c-b910-4b72-a5e9-87a866f4a7ac","MemberStateName":"sample string 2","Remarks":"sample string 3","Id":"b056912c-b910-4b72-a5e9-87a866f4a7ac","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<MemberStateDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Club">
  <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
  <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
  <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">b056912c-b910-4b72-a5e9-87a866f4a7ac</Id>
  <MemberStateId>b056912c-b910-4b72-a5e9-87a866f4a7ac</MemberStateId>
  <MemberStateName>sample string 2</MemberStateName>
  <Remarks>sample string 3</Remarks>
</MemberStateDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MemberStateDetails
NameDescriptionTypeAdditional information
MemberStateId

globally unique identifier

None.

MemberStateName

string

Required

String length: inclusive between 0 and 50

Remarks

string

String length: inclusive between 0 and 250

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "MemberStateId": "f3559995-e846-46da-a6e3-b5b937f0eea9",
  "MemberStateName": "sample string 2",
  "Remarks": "sample string 3",
  "Id": "f3559995-e846-46da-a6e3-b5b937f0eea9",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"MemberStateId":"f3559995-e846-46da-a6e3-b5b937f0eea9","MemberStateName":"sample string 2","Remarks":"sample string 3","Id":"f3559995-e846-46da-a6e3-b5b937f0eea9","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<MemberStateDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Club">
  <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
  <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
  <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">f3559995-e846-46da-a6e3-b5b937f0eea9</Id>
  <MemberStateId>f3559995-e846-46da-a6e3-b5b937f0eea9</MemberStateId>
  <MemberStateName>sample string 2</MemberStateName>
  <Remarks>sample string 3</Remarks>
</MemberStateDetails>