PUT api/v1/personcategories/{personCategoryId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
personCategoryId | globally unique identifier |
Required |
Body Parameters
PersonCategoryDetailsName | 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": "f1dece50-d6e2-4134-9345-650b06e314f0", "CategoryName": "sample string 2", "ParentPersonCategoryId": "d0112ba4-0823-4582-abdd-dcd8c9e8a46a", "Remarks": "sample string 3", "Id": "f1dece50-d6e2-4134-9345-650b06e314f0", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"f1dece50-d6e2-4134-9345-650b06e314f0","CategoryName":"sample string 2","ParentPersonCategoryId":"d0112ba4-0823-4582-abdd-dcd8c9e8a46a","Remarks":"sample string 3","Id":"f1dece50-d6e2-4134-9345-650b06e314f0","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">f1dece50-d6e2-4134-9345-650b06e314f0</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>d0112ba4-0823-4582-abdd-dcd8c9e8a46a</ParentPersonCategoryId> <PersonCategoryId>f1dece50-d6e2-4134-9345-650b06e314f0</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PersonCategoryDetailsName | 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": "407a9886-e2f3-4a1e-b971-ee32eea5359d", "CategoryName": "sample string 2", "ParentPersonCategoryId": "eaca491d-e9fa-4b84-8acc-011ac4e88221", "Remarks": "sample string 3", "Id": "407a9886-e2f3-4a1e-b971-ee32eea5359d", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"407a9886-e2f3-4a1e-b971-ee32eea5359d","CategoryName":"sample string 2","ParentPersonCategoryId":"eaca491d-e9fa-4b84-8acc-011ac4e88221","Remarks":"sample string 3","Id":"407a9886-e2f3-4a1e-b971-ee32eea5359d","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">407a9886-e2f3-4a1e-b971-ee32eea5359d</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>eaca491d-e9fa-4b84-8acc-011ac4e88221</ParentPersonCategoryId> <PersonCategoryId>407a9886-e2f3-4a1e-b971-ee32eea5359d</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>