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": "ead7fc00-8573-44b8-84d0-359e066a34f5",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "867a01b8-e876-4eb6-a5b7-82293e6b2ea5",
  "Remarks": "sample string 3",
  "Id": "ead7fc00-8573-44b8-84d0-359e066a34f5",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"ead7fc00-8573-44b8-84d0-359e066a34f5","CategoryName":"sample string 2","ParentPersonCategoryId":"867a01b8-e876-4eb6-a5b7-82293e6b2ea5","Remarks":"sample string 3","Id":"ead7fc00-8573-44b8-84d0-359e066a34f5","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">ead7fc00-8573-44b8-84d0-359e066a34f5</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>867a01b8-e876-4eb6-a5b7-82293e6b2ea5</ParentPersonCategoryId>
  <PersonCategoryId>ead7fc00-8573-44b8-84d0-359e066a34f5</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": "88b3c3d3-9a5d-40f9-b923-d5c9c2f8f20b",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "f1e68c82-57da-43c6-9520-0f3757a9738e",
  "Remarks": "sample string 3",
  "Id": "88b3c3d3-9a5d-40f9-b923-d5c9c2f8f20b",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"88b3c3d3-9a5d-40f9-b923-d5c9c2f8f20b","CategoryName":"sample string 2","ParentPersonCategoryId":"f1e68c82-57da-43c6-9520-0f3757a9738e","Remarks":"sample string 3","Id":"88b3c3d3-9a5d-40f9-b923-d5c9c2f8f20b","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">88b3c3d3-9a5d-40f9-b923-d5c9c2f8f20b</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>f1e68c82-57da-43c6-9520-0f3757a9738e</ParentPersonCategoryId>
  <PersonCategoryId>88b3c3d3-9a5d-40f9-b923-d5c9c2f8f20b</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>