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": "d7f834c5-b6e8-44a9-be85-99c65af9b678",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "df801052-9bb9-451a-a8ea-d4a7f919dfb2",
"Remarks": "sample string 3",
"Id": "d7f834c5-b6e8-44a9-be85-99c65af9b678",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"d7f834c5-b6e8-44a9-be85-99c65af9b678","CategoryName":"sample string 2","ParentPersonCategoryId":"df801052-9bb9-451a-a8ea-d4a7f919dfb2","Remarks":"sample string 3","Id":"d7f834c5-b6e8-44a9-be85-99c65af9b678","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">d7f834c5-b6e8-44a9-be85-99c65af9b678</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>df801052-9bb9-451a-a8ea-d4a7f919dfb2</ParentPersonCategoryId> <PersonCategoryId>d7f834c5-b6e8-44a9-be85-99c65af9b678</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": "96861d0e-5479-4b7e-b462-5737ee7a6cfa",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "9e5dd83e-45d0-434e-9aac-a4e7c06135ee",
"Remarks": "sample string 3",
"Id": "96861d0e-5479-4b7e-b462-5737ee7a6cfa",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"96861d0e-5479-4b7e-b462-5737ee7a6cfa","CategoryName":"sample string 2","ParentPersonCategoryId":"9e5dd83e-45d0-434e-9aac-a4e7c06135ee","Remarks":"sample string 3","Id":"96861d0e-5479-4b7e-b462-5737ee7a6cfa","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">96861d0e-5479-4b7e-b462-5737ee7a6cfa</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>9e5dd83e-45d0-434e-9aac-a4e7c06135ee</ParentPersonCategoryId> <PersonCategoryId>96861d0e-5479-4b7e-b462-5737ee7a6cfa</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>