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": "055da763-e2af-471c-88eb-fc03e4954a39",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "ffa8d801-8ba4-4314-baa3-d42ab85b83ac",
"Remarks": "sample string 3",
"Id": "055da763-e2af-471c-88eb-fc03e4954a39",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"055da763-e2af-471c-88eb-fc03e4954a39","CategoryName":"sample string 2","ParentPersonCategoryId":"ffa8d801-8ba4-4314-baa3-d42ab85b83ac","Remarks":"sample string 3","Id":"055da763-e2af-471c-88eb-fc03e4954a39","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">055da763-e2af-471c-88eb-fc03e4954a39</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>ffa8d801-8ba4-4314-baa3-d42ab85b83ac</ParentPersonCategoryId> <PersonCategoryId>055da763-e2af-471c-88eb-fc03e4954a39</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": "922c4eca-839b-4f7e-8d90-ff8c26e7527f",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "5ec710c7-386c-43d8-b7b6-81cba02c5683",
"Remarks": "sample string 3",
"Id": "922c4eca-839b-4f7e-8d90-ff8c26e7527f",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"922c4eca-839b-4f7e-8d90-ff8c26e7527f","CategoryName":"sample string 2","ParentPersonCategoryId":"5ec710c7-386c-43d8-b7b6-81cba02c5683","Remarks":"sample string 3","Id":"922c4eca-839b-4f7e-8d90-ff8c26e7527f","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">922c4eca-839b-4f7e-8d90-ff8c26e7527f</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>5ec710c7-386c-43d8-b7b6-81cba02c5683</ParentPersonCategoryId> <PersonCategoryId>922c4eca-839b-4f7e-8d90-ff8c26e7527f</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>