PUT api/v1/personcategories/{personCategoryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| personCategoryId | globally unique identifier |
Required |
Body Parameters
PersonCategoryDetails| Name | Description | Type | Additional 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": "a91df031-6b3b-4198-92d5-69a80232d129",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "193cb69b-607d-42fa-b433-2935a6f389f9",
"Remarks": "sample string 3",
"Id": "a91df031-6b3b-4198-92d5-69a80232d129",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"a91df031-6b3b-4198-92d5-69a80232d129","CategoryName":"sample string 2","ParentPersonCategoryId":"193cb69b-607d-42fa-b433-2935a6f389f9","Remarks":"sample string 3","Id":"a91df031-6b3b-4198-92d5-69a80232d129","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">a91df031-6b3b-4198-92d5-69a80232d129</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>193cb69b-607d-42fa-b433-2935a6f389f9</ParentPersonCategoryId> <PersonCategoryId>a91df031-6b3b-4198-92d5-69a80232d129</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PersonCategoryDetails| Name | Description | Type | Additional 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": "5b584c10-3b39-404d-be40-5bdb578858c5",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "15d503bf-cd57-4c86-9588-4e60c7d3788d",
"Remarks": "sample string 3",
"Id": "5b584c10-3b39-404d-be40-5bdb578858c5",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"5b584c10-3b39-404d-be40-5bdb578858c5","CategoryName":"sample string 2","ParentPersonCategoryId":"15d503bf-cd57-4c86-9588-4e60c7d3788d","Remarks":"sample string 3","Id":"5b584c10-3b39-404d-be40-5bdb578858c5","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">5b584c10-3b39-404d-be40-5bdb578858c5</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>15d503bf-cd57-4c86-9588-4e60c7d3788d</ParentPersonCategoryId> <PersonCategoryId>5b584c10-3b39-404d-be40-5bdb578858c5</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>