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": "058a17a7-4802-475d-bb57-e767dda2021b",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "27c4fbe2-6fcb-4e87-9ad3-54e475a247cb",
  "Remarks": "sample string 3",
  "Id": "058a17a7-4802-475d-bb57-e767dda2021b",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"058a17a7-4802-475d-bb57-e767dda2021b","CategoryName":"sample string 2","ParentPersonCategoryId":"27c4fbe2-6fcb-4e87-9ad3-54e475a247cb","Remarks":"sample string 3","Id":"058a17a7-4802-475d-bb57-e767dda2021b","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">058a17a7-4802-475d-bb57-e767dda2021b</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>27c4fbe2-6fcb-4e87-9ad3-54e475a247cb</ParentPersonCategoryId>
  <PersonCategoryId>058a17a7-4802-475d-bb57-e767dda2021b</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": "5853b33f-31de-4552-a710-50fb8510dc82",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "2b174266-81ae-47aa-a6a3-5511972e75eb",
  "Remarks": "sample string 3",
  "Id": "5853b33f-31de-4552-a710-50fb8510dc82",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"5853b33f-31de-4552-a710-50fb8510dc82","CategoryName":"sample string 2","ParentPersonCategoryId":"2b174266-81ae-47aa-a6a3-5511972e75eb","Remarks":"sample string 3","Id":"5853b33f-31de-4552-a710-50fb8510dc82","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">5853b33f-31de-4552-a710-50fb8510dc82</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>2b174266-81ae-47aa-a6a3-5511972e75eb</ParentPersonCategoryId>
  <PersonCategoryId>5853b33f-31de-4552-a710-50fb8510dc82</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>