PUT api/v1/personcategories/{personCategoryId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
personCategoryId

globally unique identifier

Required

Body Parameters

PersonCategoryDetails
NameDescriptionTypeAdditional information
PersonCategoryId

globally unique identifier

None.

CategoryName

string

Required

String length: inclusive between 0 and 100

ParentPersonCategoryId

globally unique identifier

None.

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:
{
  "PersonCategoryId": "372e57f0-0fc7-40d4-85e7-4f0ed8dd7397",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "139d808b-ba08-4e23-9b5f-d4f80cc051fc",
  "Remarks": "sample string 3",
  "Id": "372e57f0-0fc7-40d4-85e7-4f0ed8dd7397",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"372e57f0-0fc7-40d4-85e7-4f0ed8dd7397","CategoryName":"sample string 2","ParentPersonCategoryId":"139d808b-ba08-4e23-9b5f-d4f80cc051fc","Remarks":"sample string 3","Id":"372e57f0-0fc7-40d4-85e7-4f0ed8dd7397","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<PersonCategoryDetails 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">372e57f0-0fc7-40d4-85e7-4f0ed8dd7397</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>139d808b-ba08-4e23-9b5f-d4f80cc051fc</ParentPersonCategoryId>
  <PersonCategoryId>372e57f0-0fc7-40d4-85e7-4f0ed8dd7397</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PersonCategoryDetails
NameDescriptionTypeAdditional information
PersonCategoryId

globally unique identifier

None.

CategoryName

string

Required

String length: inclusive between 0 and 100

ParentPersonCategoryId

globally unique identifier

None.

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:
{
  "PersonCategoryId": "ad8ea612-b29f-4ef2-9d35-c6d5cdc34052",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "efa69ce8-a052-44ae-842d-be68c9b84553",
  "Remarks": "sample string 3",
  "Id": "ad8ea612-b29f-4ef2-9d35-c6d5cdc34052",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"ad8ea612-b29f-4ef2-9d35-c6d5cdc34052","CategoryName":"sample string 2","ParentPersonCategoryId":"efa69ce8-a052-44ae-842d-be68c9b84553","Remarks":"sample string 3","Id":"ad8ea612-b29f-4ef2-9d35-c6d5cdc34052","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<PersonCategoryDetails 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">ad8ea612-b29f-4ef2-9d35-c6d5cdc34052</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>efa69ce8-a052-44ae-842d-be68c9b84553</ParentPersonCategoryId>
  <PersonCategoryId>ad8ea612-b29f-4ef2-9d35-c6d5cdc34052</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>