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": "7ef228ca-af71-4797-a26a-b50328767dfb",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "14fbb533-1616-4e12-b0b9-ea1d0ce67d9a",
"Remarks": "sample string 3",
"Id": "7ef228ca-af71-4797-a26a-b50328767dfb",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"7ef228ca-af71-4797-a26a-b50328767dfb","CategoryName":"sample string 2","ParentPersonCategoryId":"14fbb533-1616-4e12-b0b9-ea1d0ce67d9a","Remarks":"sample string 3","Id":"7ef228ca-af71-4797-a26a-b50328767dfb","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">7ef228ca-af71-4797-a26a-b50328767dfb</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>14fbb533-1616-4e12-b0b9-ea1d0ce67d9a</ParentPersonCategoryId> <PersonCategoryId>7ef228ca-af71-4797-a26a-b50328767dfb</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": "2d9aa157-6baf-4517-af75-d4d5ec20c24f",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "9af08c56-68bb-400a-bf86-82206ce9cefe",
"Remarks": "sample string 3",
"Id": "2d9aa157-6baf-4517-af75-d4d5ec20c24f",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"2d9aa157-6baf-4517-af75-d4d5ec20c24f","CategoryName":"sample string 2","ParentPersonCategoryId":"9af08c56-68bb-400a-bf86-82206ce9cefe","Remarks":"sample string 3","Id":"2d9aa157-6baf-4517-af75-d4d5ec20c24f","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">2d9aa157-6baf-4517-af75-d4d5ec20c24f</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>9af08c56-68bb-400a-bf86-82206ce9cefe</ParentPersonCategoryId> <PersonCategoryId>2d9aa157-6baf-4517-af75-d4d5ec20c24f</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>