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": "4f300fdf-6e84-439b-8a06-1721cc5bc567",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "b601cfb8-2e04-45e4-8f7e-bf9bcbe56d58",
"Remarks": "sample string 3",
"Id": "4f300fdf-6e84-439b-8a06-1721cc5bc567",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"4f300fdf-6e84-439b-8a06-1721cc5bc567","CategoryName":"sample string 2","ParentPersonCategoryId":"b601cfb8-2e04-45e4-8f7e-bf9bcbe56d58","Remarks":"sample string 3","Id":"4f300fdf-6e84-439b-8a06-1721cc5bc567","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">4f300fdf-6e84-439b-8a06-1721cc5bc567</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>b601cfb8-2e04-45e4-8f7e-bf9bcbe56d58</ParentPersonCategoryId> <PersonCategoryId>4f300fdf-6e84-439b-8a06-1721cc5bc567</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": "707b5c27-be81-4ee9-b068-ba3385755f91",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "e1e6472b-8aa1-4f81-b295-2e810b9fb78b",
"Remarks": "sample string 3",
"Id": "707b5c27-be81-4ee9-b068-ba3385755f91",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"707b5c27-be81-4ee9-b068-ba3385755f91","CategoryName":"sample string 2","ParentPersonCategoryId":"e1e6472b-8aa1-4f81-b295-2e810b9fb78b","Remarks":"sample string 3","Id":"707b5c27-be81-4ee9-b068-ba3385755f91","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">707b5c27-be81-4ee9-b068-ba3385755f91</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>e1e6472b-8aa1-4f81-b295-2e810b9fb78b</ParentPersonCategoryId> <PersonCategoryId>707b5c27-be81-4ee9-b068-ba3385755f91</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>