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": "a6f002c4-1dac-4748-86ce-7ef7d86dc72a",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "0c1c47de-8068-462e-9d99-21b1ebe56f16",
"Remarks": "sample string 3",
"Id": "a6f002c4-1dac-4748-86ce-7ef7d86dc72a",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"a6f002c4-1dac-4748-86ce-7ef7d86dc72a","CategoryName":"sample string 2","ParentPersonCategoryId":"0c1c47de-8068-462e-9d99-21b1ebe56f16","Remarks":"sample string 3","Id":"a6f002c4-1dac-4748-86ce-7ef7d86dc72a","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">a6f002c4-1dac-4748-86ce-7ef7d86dc72a</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>0c1c47de-8068-462e-9d99-21b1ebe56f16</ParentPersonCategoryId> <PersonCategoryId>a6f002c4-1dac-4748-86ce-7ef7d86dc72a</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": "0087e29e-2c1a-4f15-a7c0-30a2550c630a",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "fd5b2227-b33a-4219-8c12-be27cbec1146",
"Remarks": "sample string 3",
"Id": "0087e29e-2c1a-4f15-a7c0-30a2550c630a",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"0087e29e-2c1a-4f15-a7c0-30a2550c630a","CategoryName":"sample string 2","ParentPersonCategoryId":"fd5b2227-b33a-4219-8c12-be27cbec1146","Remarks":"sample string 3","Id":"0087e29e-2c1a-4f15-a7c0-30a2550c630a","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">0087e29e-2c1a-4f15-a7c0-30a2550c630a</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>fd5b2227-b33a-4219-8c12-be27cbec1146</ParentPersonCategoryId> <PersonCategoryId>0087e29e-2c1a-4f15-a7c0-30a2550c630a</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>