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": "8133eb9c-e4cc-41f5-b81b-0a7bdce9db85", "CategoryName": "sample string 2", "ParentPersonCategoryId": "b3e73ed5-9072-4668-824b-a5aee34d6a66", "Remarks": "sample string 3", "Id": "8133eb9c-e4cc-41f5-b81b-0a7bdce9db85", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"8133eb9c-e4cc-41f5-b81b-0a7bdce9db85","CategoryName":"sample string 2","ParentPersonCategoryId":"b3e73ed5-9072-4668-824b-a5aee34d6a66","Remarks":"sample string 3","Id":"8133eb9c-e4cc-41f5-b81b-0a7bdce9db85","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">8133eb9c-e4cc-41f5-b81b-0a7bdce9db85</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>b3e73ed5-9072-4668-824b-a5aee34d6a66</ParentPersonCategoryId> <PersonCategoryId>8133eb9c-e4cc-41f5-b81b-0a7bdce9db85</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": "eb9ed42d-153e-4454-8c9a-7c654b0e35cf", "CategoryName": "sample string 2", "ParentPersonCategoryId": "93efd851-1e31-44d2-a1ad-0d763dd8a350", "Remarks": "sample string 3", "Id": "eb9ed42d-153e-4454-8c9a-7c654b0e35cf", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"eb9ed42d-153e-4454-8c9a-7c654b0e35cf","CategoryName":"sample string 2","ParentPersonCategoryId":"93efd851-1e31-44d2-a1ad-0d763dd8a350","Remarks":"sample string 3","Id":"eb9ed42d-153e-4454-8c9a-7c654b0e35cf","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">eb9ed42d-153e-4454-8c9a-7c654b0e35cf</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>93efd851-1e31-44d2-a1ad-0d763dd8a350</ParentPersonCategoryId> <PersonCategoryId>eb9ed42d-153e-4454-8c9a-7c654b0e35cf</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>