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": "6394fdc5-1de0-45b4-879d-5c1b3dac40c4",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "23aab6b7-65e7-4e20-b660-7ed66b58c0fd",
"Remarks": "sample string 3",
"Id": "6394fdc5-1de0-45b4-879d-5c1b3dac40c4",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"6394fdc5-1de0-45b4-879d-5c1b3dac40c4","CategoryName":"sample string 2","ParentPersonCategoryId":"23aab6b7-65e7-4e20-b660-7ed66b58c0fd","Remarks":"sample string 3","Id":"6394fdc5-1de0-45b4-879d-5c1b3dac40c4","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">6394fdc5-1de0-45b4-879d-5c1b3dac40c4</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>23aab6b7-65e7-4e20-b660-7ed66b58c0fd</ParentPersonCategoryId> <PersonCategoryId>6394fdc5-1de0-45b4-879d-5c1b3dac40c4</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": "52626ce8-2e98-44fd-bf1e-4e119b662058",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "6e1cc88c-d3fc-45d4-b237-e4e0391301dd",
"Remarks": "sample string 3",
"Id": "52626ce8-2e98-44fd-bf1e-4e119b662058",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"52626ce8-2e98-44fd-bf1e-4e119b662058","CategoryName":"sample string 2","ParentPersonCategoryId":"6e1cc88c-d3fc-45d4-b237-e4e0391301dd","Remarks":"sample string 3","Id":"52626ce8-2e98-44fd-bf1e-4e119b662058","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">52626ce8-2e98-44fd-bf1e-4e119b662058</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>6e1cc88c-d3fc-45d4-b237-e4e0391301dd</ParentPersonCategoryId> <PersonCategoryId>52626ce8-2e98-44fd-bf1e-4e119b662058</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>