PUT api/v1/personcategories/{personCategoryId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
personCategoryId | globally unique identifier |
Required |
Body Parameters
PersonCategoryDetailsName | 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": "fbf63a4b-6aee-42aa-b607-5031dfc4a2a9", "CategoryName": "sample string 2", "ParentPersonCategoryId": "6cac0c45-34ce-4c40-b831-b2ccf24e4135", "Remarks": "sample string 3", "Id": "fbf63a4b-6aee-42aa-b607-5031dfc4a2a9", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"fbf63a4b-6aee-42aa-b607-5031dfc4a2a9","CategoryName":"sample string 2","ParentPersonCategoryId":"6cac0c45-34ce-4c40-b831-b2ccf24e4135","Remarks":"sample string 3","Id":"fbf63a4b-6aee-42aa-b607-5031dfc4a2a9","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">fbf63a4b-6aee-42aa-b607-5031dfc4a2a9</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>6cac0c45-34ce-4c40-b831-b2ccf24e4135</ParentPersonCategoryId> <PersonCategoryId>fbf63a4b-6aee-42aa-b607-5031dfc4a2a9</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PersonCategoryDetailsName | 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": "31df12de-e979-49d4-a00d-0669c9e4525f", "CategoryName": "sample string 2", "ParentPersonCategoryId": "c1ae2d0e-ac29-40d6-9c7e-bf65cbd68168", "Remarks": "sample string 3", "Id": "31df12de-e979-49d4-a00d-0669c9e4525f", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"31df12de-e979-49d4-a00d-0669c9e4525f","CategoryName":"sample string 2","ParentPersonCategoryId":"c1ae2d0e-ac29-40d6-9c7e-bf65cbd68168","Remarks":"sample string 3","Id":"31df12de-e979-49d4-a00d-0669c9e4525f","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">31df12de-e979-49d4-a00d-0669c9e4525f</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>c1ae2d0e-ac29-40d6-9c7e-bf65cbd68168</ParentPersonCategoryId> <PersonCategoryId>31df12de-e979-49d4-a00d-0669c9e4525f</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>