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": "9919fe10-a3d8-4364-bb81-6465ccc4db6e",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "ba7dba51-4c4a-4b8b-9374-1a3ce243e1ae",
"Remarks": "sample string 3",
"Id": "9919fe10-a3d8-4364-bb81-6465ccc4db6e",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"9919fe10-a3d8-4364-bb81-6465ccc4db6e","CategoryName":"sample string 2","ParentPersonCategoryId":"ba7dba51-4c4a-4b8b-9374-1a3ce243e1ae","Remarks":"sample string 3","Id":"9919fe10-a3d8-4364-bb81-6465ccc4db6e","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">9919fe10-a3d8-4364-bb81-6465ccc4db6e</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>ba7dba51-4c4a-4b8b-9374-1a3ce243e1ae</ParentPersonCategoryId> <PersonCategoryId>9919fe10-a3d8-4364-bb81-6465ccc4db6e</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": "547cb20f-18f8-4081-86c7-1a2939e29484",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "3d9faa24-f3b3-4af5-b372-be1575e57e16",
"Remarks": "sample string 3",
"Id": "547cb20f-18f8-4081-86c7-1a2939e29484",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"547cb20f-18f8-4081-86c7-1a2939e29484","CategoryName":"sample string 2","ParentPersonCategoryId":"3d9faa24-f3b3-4af5-b372-be1575e57e16","Remarks":"sample string 3","Id":"547cb20f-18f8-4081-86c7-1a2939e29484","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">547cb20f-18f8-4081-86c7-1a2939e29484</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>3d9faa24-f3b3-4af5-b372-be1575e57e16</ParentPersonCategoryId> <PersonCategoryId>547cb20f-18f8-4081-86c7-1a2939e29484</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>