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": "fce23409-33b8-4350-b14a-5bbc5f295b2b",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "4b87dba4-1f19-44b1-b33c-f8afce2b955c",
"Remarks": "sample string 3",
"Id": "fce23409-33b8-4350-b14a-5bbc5f295b2b",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"fce23409-33b8-4350-b14a-5bbc5f295b2b","CategoryName":"sample string 2","ParentPersonCategoryId":"4b87dba4-1f19-44b1-b33c-f8afce2b955c","Remarks":"sample string 3","Id":"fce23409-33b8-4350-b14a-5bbc5f295b2b","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">fce23409-33b8-4350-b14a-5bbc5f295b2b</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>4b87dba4-1f19-44b1-b33c-f8afce2b955c</ParentPersonCategoryId> <PersonCategoryId>fce23409-33b8-4350-b14a-5bbc5f295b2b</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": "40cb389a-089a-4f04-99d5-836ff2c53a00",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "66ff4df7-684f-43f5-91d9-1f64fc58d98d",
"Remarks": "sample string 3",
"Id": "40cb389a-089a-4f04-99d5-836ff2c53a00",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"40cb389a-089a-4f04-99d5-836ff2c53a00","CategoryName":"sample string 2","ParentPersonCategoryId":"66ff4df7-684f-43f5-91d9-1f64fc58d98d","Remarks":"sample string 3","Id":"40cb389a-089a-4f04-99d5-836ff2c53a00","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">40cb389a-089a-4f04-99d5-836ff2c53a00</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>66ff4df7-684f-43f5-91d9-1f64fc58d98d</ParentPersonCategoryId> <PersonCategoryId>40cb389a-089a-4f04-99d5-836ff2c53a00</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>