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": "3d26c4d9-2bd6-4123-8ce9-b75dcb2f707f",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "186eeb04-4255-47bd-9d61-4c4317c4a2a0",
  "Remarks": "sample string 3",
  "Id": "3d26c4d9-2bd6-4123-8ce9-b75dcb2f707f",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"3d26c4d9-2bd6-4123-8ce9-b75dcb2f707f","CategoryName":"sample string 2","ParentPersonCategoryId":"186eeb04-4255-47bd-9d61-4c4317c4a2a0","Remarks":"sample string 3","Id":"3d26c4d9-2bd6-4123-8ce9-b75dcb2f707f","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">3d26c4d9-2bd6-4123-8ce9-b75dcb2f707f</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>186eeb04-4255-47bd-9d61-4c4317c4a2a0</ParentPersonCategoryId>
  <PersonCategoryId>3d26c4d9-2bd6-4123-8ce9-b75dcb2f707f</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": "7040286f-4c95-4b13-b6d6-339372a17d5f",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "40295999-d59a-4429-add7-3be5c4d5e70c",
  "Remarks": "sample string 3",
  "Id": "7040286f-4c95-4b13-b6d6-339372a17d5f",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"7040286f-4c95-4b13-b6d6-339372a17d5f","CategoryName":"sample string 2","ParentPersonCategoryId":"40295999-d59a-4429-add7-3be5c4d5e70c","Remarks":"sample string 3","Id":"7040286f-4c95-4b13-b6d6-339372a17d5f","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">7040286f-4c95-4b13-b6d6-339372a17d5f</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>40295999-d59a-4429-add7-3be5c4d5e70c</ParentPersonCategoryId>
  <PersonCategoryId>7040286f-4c95-4b13-b6d6-339372a17d5f</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>