PUT api/v1/memberstates/{memberStateId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
memberStateId

globally unique identifier

Required

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": "22d42e97-59d9-4701-8869-fbc0b6bf13ba",
  "MemberStateName": "sample string 2",
  "Remarks": "sample string 3",
  "Id": "22d42e97-59d9-4701-8869-fbc0b6bf13ba",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"MemberStateId":"22d42e97-59d9-4701-8869-fbc0b6bf13ba","MemberStateName":"sample string 2","Remarks":"sample string 3","Id":"22d42e97-59d9-4701-8869-fbc0b6bf13ba","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">22d42e97-59d9-4701-8869-fbc0b6bf13ba</Id>
  <MemberStateId>22d42e97-59d9-4701-8869-fbc0b6bf13ba</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": "06a5aa47-8b9e-4c29-958b-0d080147382e",
  "MemberStateName": "sample string 2",
  "Remarks": "sample string 3",
  "Id": "06a5aa47-8b9e-4c29-958b-0d080147382e",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"MemberStateId":"06a5aa47-8b9e-4c29-958b-0d080147382e","MemberStateName":"sample string 2","Remarks":"sample string 3","Id":"06a5aa47-8b9e-4c29-958b-0d080147382e","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">06a5aa47-8b9e-4c29-958b-0d080147382e</Id>
  <MemberStateId>06a5aa47-8b9e-4c29-958b-0d080147382e</MemberStateId>
  <MemberStateName>sample string 2</MemberStateName>
  <Remarks>sample string 3</Remarks>
</MemberStateDetails>