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": "94b7820b-e2f6-4a19-acac-fa54386d0e32",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "5a2b9860-04af-4921-9ebc-61c6bb720d77",
"Remarks": "sample string 3",
"Id": "94b7820b-e2f6-4a19-acac-fa54386d0e32",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"94b7820b-e2f6-4a19-acac-fa54386d0e32","CategoryName":"sample string 2","ParentPersonCategoryId":"5a2b9860-04af-4921-9ebc-61c6bb720d77","Remarks":"sample string 3","Id":"94b7820b-e2f6-4a19-acac-fa54386d0e32","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">94b7820b-e2f6-4a19-acac-fa54386d0e32</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>5a2b9860-04af-4921-9ebc-61c6bb720d77</ParentPersonCategoryId> <PersonCategoryId>94b7820b-e2f6-4a19-acac-fa54386d0e32</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": "da4844a0-5df4-49fa-8069-a492e9987a79",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "44b471ce-f93b-46d8-bbe3-79b0457b235c",
"Remarks": "sample string 3",
"Id": "da4844a0-5df4-49fa-8069-a492e9987a79",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"da4844a0-5df4-49fa-8069-a492e9987a79","CategoryName":"sample string 2","ParentPersonCategoryId":"44b471ce-f93b-46d8-bbe3-79b0457b235c","Remarks":"sample string 3","Id":"da4844a0-5df4-49fa-8069-a492e9987a79","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">da4844a0-5df4-49fa-8069-a492e9987a79</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>44b471ce-f93b-46d8-bbe3-79b0457b235c</ParentPersonCategoryId> <PersonCategoryId>da4844a0-5df4-49fa-8069-a492e9987a79</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>