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": "950c8e89-75ca-4e90-9261-789539182bb5",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "f8987cf3-13ee-4641-8682-9eaa3680bde1",
  "Remarks": "sample string 3",
  "Id": "950c8e89-75ca-4e90-9261-789539182bb5",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"950c8e89-75ca-4e90-9261-789539182bb5","CategoryName":"sample string 2","ParentPersonCategoryId":"f8987cf3-13ee-4641-8682-9eaa3680bde1","Remarks":"sample string 3","Id":"950c8e89-75ca-4e90-9261-789539182bb5","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">950c8e89-75ca-4e90-9261-789539182bb5</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>f8987cf3-13ee-4641-8682-9eaa3680bde1</ParentPersonCategoryId>
  <PersonCategoryId>950c8e89-75ca-4e90-9261-789539182bb5</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": "b2c33ccc-db06-4841-90e5-503e07101403",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "2edf7d78-385d-4fff-9dfd-f970c7c81e3d",
  "Remarks": "sample string 3",
  "Id": "b2c33ccc-db06-4841-90e5-503e07101403",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"b2c33ccc-db06-4841-90e5-503e07101403","CategoryName":"sample string 2","ParentPersonCategoryId":"2edf7d78-385d-4fff-9dfd-f970c7c81e3d","Remarks":"sample string 3","Id":"b2c33ccc-db06-4841-90e5-503e07101403","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">b2c33ccc-db06-4841-90e5-503e07101403</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>2edf7d78-385d-4fff-9dfd-f970c7c81e3d</ParentPersonCategoryId>
  <PersonCategoryId>b2c33ccc-db06-4841-90e5-503e07101403</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>