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": "866e3241-379f-4041-bde6-8d65aecb11d0",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "84c9c682-3b00-4bb5-97a0-ec21b311ba5c",
"Remarks": "sample string 3",
"Id": "866e3241-379f-4041-bde6-8d65aecb11d0",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"866e3241-379f-4041-bde6-8d65aecb11d0","CategoryName":"sample string 2","ParentPersonCategoryId":"84c9c682-3b00-4bb5-97a0-ec21b311ba5c","Remarks":"sample string 3","Id":"866e3241-379f-4041-bde6-8d65aecb11d0","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">866e3241-379f-4041-bde6-8d65aecb11d0</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>84c9c682-3b00-4bb5-97a0-ec21b311ba5c</ParentPersonCategoryId> <PersonCategoryId>866e3241-379f-4041-bde6-8d65aecb11d0</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": "996ca227-a8a5-4c9e-8185-1a8bfd9f1dcc",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "fda34546-ddd1-44f3-acd5-8003945891e3",
"Remarks": "sample string 3",
"Id": "996ca227-a8a5-4c9e-8185-1a8bfd9f1dcc",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"996ca227-a8a5-4c9e-8185-1a8bfd9f1dcc","CategoryName":"sample string 2","ParentPersonCategoryId":"fda34546-ddd1-44f3-acd5-8003945891e3","Remarks":"sample string 3","Id":"996ca227-a8a5-4c9e-8185-1a8bfd9f1dcc","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">996ca227-a8a5-4c9e-8185-1a8bfd9f1dcc</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>fda34546-ddd1-44f3-acd5-8003945891e3</ParentPersonCategoryId> <PersonCategoryId>996ca227-a8a5-4c9e-8185-1a8bfd9f1dcc</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>