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": "ca2a7fb5-59cd-4c4c-bc2a-500848bb3112",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "624a6e7e-ec38-4a83-832c-bc99ea005083",
"Remarks": "sample string 3",
"Id": "ca2a7fb5-59cd-4c4c-bc2a-500848bb3112",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"ca2a7fb5-59cd-4c4c-bc2a-500848bb3112","CategoryName":"sample string 2","ParentPersonCategoryId":"624a6e7e-ec38-4a83-832c-bc99ea005083","Remarks":"sample string 3","Id":"ca2a7fb5-59cd-4c4c-bc2a-500848bb3112","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">ca2a7fb5-59cd-4c4c-bc2a-500848bb3112</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>624a6e7e-ec38-4a83-832c-bc99ea005083</ParentPersonCategoryId> <PersonCategoryId>ca2a7fb5-59cd-4c4c-bc2a-500848bb3112</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": "6f9c683f-b2f8-43dd-b85e-570d07edfe61",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "fdafadda-0599-4c21-9e69-ded372dac2fc",
"Remarks": "sample string 3",
"Id": "6f9c683f-b2f8-43dd-b85e-570d07edfe61",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"6f9c683f-b2f8-43dd-b85e-570d07edfe61","CategoryName":"sample string 2","ParentPersonCategoryId":"fdafadda-0599-4c21-9e69-ded372dac2fc","Remarks":"sample string 3","Id":"6f9c683f-b2f8-43dd-b85e-570d07edfe61","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">6f9c683f-b2f8-43dd-b85e-570d07edfe61</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>fdafadda-0599-4c21-9e69-ded372dac2fc</ParentPersonCategoryId> <PersonCategoryId>6f9c683f-b2f8-43dd-b85e-570d07edfe61</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>