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": "b4f75982-f486-4748-9af9-d108b92b7a31",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "04a5f1bf-97ec-4ad5-8bda-5666dfe88a0f",
  "Remarks": "sample string 3",
  "Id": "b4f75982-f486-4748-9af9-d108b92b7a31",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"b4f75982-f486-4748-9af9-d108b92b7a31","CategoryName":"sample string 2","ParentPersonCategoryId":"04a5f1bf-97ec-4ad5-8bda-5666dfe88a0f","Remarks":"sample string 3","Id":"b4f75982-f486-4748-9af9-d108b92b7a31","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">b4f75982-f486-4748-9af9-d108b92b7a31</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>04a5f1bf-97ec-4ad5-8bda-5666dfe88a0f</ParentPersonCategoryId>
  <PersonCategoryId>b4f75982-f486-4748-9af9-d108b92b7a31</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": "09af4ea1-744d-426f-a1af-85892d39a084",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "b1c9f1a7-f64d-49df-983b-0491446a380f",
  "Remarks": "sample string 3",
  "Id": "09af4ea1-744d-426f-a1af-85892d39a084",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"09af4ea1-744d-426f-a1af-85892d39a084","CategoryName":"sample string 2","ParentPersonCategoryId":"b1c9f1a7-f64d-49df-983b-0491446a380f","Remarks":"sample string 3","Id":"09af4ea1-744d-426f-a1af-85892d39a084","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">09af4ea1-744d-426f-a1af-85892d39a084</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>b1c9f1a7-f64d-49df-983b-0491446a380f</ParentPersonCategoryId>
  <PersonCategoryId>09af4ea1-744d-426f-a1af-85892d39a084</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>