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": "a41a4654-458e-4461-821a-9568bb3fc798",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "0180e6d4-9c24-426c-990b-017d97678a57",
"Remarks": "sample string 3",
"Id": "a41a4654-458e-4461-821a-9568bb3fc798",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"a41a4654-458e-4461-821a-9568bb3fc798","CategoryName":"sample string 2","ParentPersonCategoryId":"0180e6d4-9c24-426c-990b-017d97678a57","Remarks":"sample string 3","Id":"a41a4654-458e-4461-821a-9568bb3fc798","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">a41a4654-458e-4461-821a-9568bb3fc798</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>0180e6d4-9c24-426c-990b-017d97678a57</ParentPersonCategoryId> <PersonCategoryId>a41a4654-458e-4461-821a-9568bb3fc798</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": "9d027b6e-da64-46c6-8e68-eb30e7855632",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "42a1d088-ef7a-415a-bfd1-2b739715e35f",
"Remarks": "sample string 3",
"Id": "9d027b6e-da64-46c6-8e68-eb30e7855632",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"9d027b6e-da64-46c6-8e68-eb30e7855632","CategoryName":"sample string 2","ParentPersonCategoryId":"42a1d088-ef7a-415a-bfd1-2b739715e35f","Remarks":"sample string 3","Id":"9d027b6e-da64-46c6-8e68-eb30e7855632","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">9d027b6e-da64-46c6-8e68-eb30e7855632</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>42a1d088-ef7a-415a-bfd1-2b739715e35f</ParentPersonCategoryId> <PersonCategoryId>9d027b6e-da64-46c6-8e68-eb30e7855632</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>