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": "f8bfee9f-769d-48ca-a285-b8caa06722ea", "CategoryName": "sample string 2", "ParentPersonCategoryId": "f2aace38-a561-41e8-8ec3-e993af14fda4", "Remarks": "sample string 3", "Id": "f8bfee9f-769d-48ca-a285-b8caa06722ea", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"f8bfee9f-769d-48ca-a285-b8caa06722ea","CategoryName":"sample string 2","ParentPersonCategoryId":"f2aace38-a561-41e8-8ec3-e993af14fda4","Remarks":"sample string 3","Id":"f8bfee9f-769d-48ca-a285-b8caa06722ea","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">f8bfee9f-769d-48ca-a285-b8caa06722ea</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>f2aace38-a561-41e8-8ec3-e993af14fda4</ParentPersonCategoryId> <PersonCategoryId>f8bfee9f-769d-48ca-a285-b8caa06722ea</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": "5ee655cf-4555-4fab-9133-1945e018e3e4", "CategoryName": "sample string 2", "ParentPersonCategoryId": "37746ba6-07f8-4569-9c60-3e2e0dad7677", "Remarks": "sample string 3", "Id": "5ee655cf-4555-4fab-9133-1945e018e3e4", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"PersonCategoryId":"5ee655cf-4555-4fab-9133-1945e018e3e4","CategoryName":"sample string 2","ParentPersonCategoryId":"37746ba6-07f8-4569-9c60-3e2e0dad7677","Remarks":"sample string 3","Id":"5ee655cf-4555-4fab-9133-1945e018e3e4","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">5ee655cf-4555-4fab-9133-1945e018e3e4</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>37746ba6-07f8-4569-9c60-3e2e0dad7677</ParentPersonCategoryId> <PersonCategoryId>5ee655cf-4555-4fab-9133-1945e018e3e4</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>