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": "15789c29-6069-41e3-8e62-92be68c44608",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "578c5d22-0b11-42ce-96ab-a2c15ac38788",
  "Remarks": "sample string 3",
  "Id": "15789c29-6069-41e3-8e62-92be68c44608",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"15789c29-6069-41e3-8e62-92be68c44608","CategoryName":"sample string 2","ParentPersonCategoryId":"578c5d22-0b11-42ce-96ab-a2c15ac38788","Remarks":"sample string 3","Id":"15789c29-6069-41e3-8e62-92be68c44608","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">15789c29-6069-41e3-8e62-92be68c44608</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>578c5d22-0b11-42ce-96ab-a2c15ac38788</ParentPersonCategoryId>
  <PersonCategoryId>15789c29-6069-41e3-8e62-92be68c44608</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": "ab4d9d18-e111-4fe7-a163-b291f6a55eff",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "ae705f96-1259-4b02-9dcf-aad6e51093ef",
  "Remarks": "sample string 3",
  "Id": "ab4d9d18-e111-4fe7-a163-b291f6a55eff",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"ab4d9d18-e111-4fe7-a163-b291f6a55eff","CategoryName":"sample string 2","ParentPersonCategoryId":"ae705f96-1259-4b02-9dcf-aad6e51093ef","Remarks":"sample string 3","Id":"ab4d9d18-e111-4fe7-a163-b291f6a55eff","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">ab4d9d18-e111-4fe7-a163-b291f6a55eff</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>ae705f96-1259-4b02-9dcf-aad6e51093ef</ParentPersonCategoryId>
  <PersonCategoryId>ab4d9d18-e111-4fe7-a163-b291f6a55eff</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>