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": "b81595e7-ea7e-4125-af67-db54ca22f130", "CategoryName": "sample string 2", "ParentPersonCategoryId": "344cab50-081d-4a1d-8fa7-eaaba606a361", "Remarks": "sample string 3", "Id": "b81595e7-ea7e-4125-af67-db54ca22f130", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"b81595e7-ea7e-4125-af67-db54ca22f130","CategoryName":"sample string 2","ParentPersonCategoryId":"344cab50-081d-4a1d-8fa7-eaaba606a361","Remarks":"sample string 3","Id":"b81595e7-ea7e-4125-af67-db54ca22f130","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">b81595e7-ea7e-4125-af67-db54ca22f130</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>344cab50-081d-4a1d-8fa7-eaaba606a361</ParentPersonCategoryId> <PersonCategoryId>b81595e7-ea7e-4125-af67-db54ca22f130</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": "c6c469f8-7952-4b28-b4e8-634fdb762881", "CategoryName": "sample string 2", "ParentPersonCategoryId": "2cfa3eb2-2939-4b41-9183-2c745ddd097c", "Remarks": "sample string 3", "Id": "c6c469f8-7952-4b28-b4e8-634fdb762881", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"c6c469f8-7952-4b28-b4e8-634fdb762881","CategoryName":"sample string 2","ParentPersonCategoryId":"2cfa3eb2-2939-4b41-9183-2c745ddd097c","Remarks":"sample string 3","Id":"c6c469f8-7952-4b28-b4e8-634fdb762881","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">c6c469f8-7952-4b28-b4e8-634fdb762881</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>2cfa3eb2-2939-4b41-9183-2c745ddd097c</ParentPersonCategoryId> <PersonCategoryId>c6c469f8-7952-4b28-b4e8-634fdb762881</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>