POST api/v1/personcategories
Request Information
URI Parameters
None.
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": "8d0bf2ad-8c01-4a9f-8493-58ec0ebd867e",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "69065fe3-a41c-4aa3-b6f9-a81cbee27f99",
"Remarks": "sample string 3",
"Id": "8d0bf2ad-8c01-4a9f-8493-58ec0ebd867e",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"8d0bf2ad-8c01-4a9f-8493-58ec0ebd867e","CategoryName":"sample string 2","ParentPersonCategoryId":"69065fe3-a41c-4aa3-b6f9-a81cbee27f99","Remarks":"sample string 3","Id":"8d0bf2ad-8c01-4a9f-8493-58ec0ebd867e","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">8d0bf2ad-8c01-4a9f-8493-58ec0ebd867e</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>69065fe3-a41c-4aa3-b6f9-a81cbee27f99</ParentPersonCategoryId> <PersonCategoryId>8d0bf2ad-8c01-4a9f-8493-58ec0ebd867e</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": "bbc6d8e8-e24c-4787-921c-59e62f76e9aa",
"CategoryName": "sample string 2",
"ParentPersonCategoryId": "9140dced-49f3-4b06-9bb7-eb3e0bc23f73",
"Remarks": "sample string 3",
"Id": "bbc6d8e8-e24c-4787-921c-59e62f76e9aa",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"PersonCategoryId":"bbc6d8e8-e24c-4787-921c-59e62f76e9aa","CategoryName":"sample string 2","ParentPersonCategoryId":"9140dced-49f3-4b06-9bb7-eb3e0bc23f73","Remarks":"sample string 3","Id":"bbc6d8e8-e24c-4787-921c-59e62f76e9aa","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">bbc6d8e8-e24c-4787-921c-59e62f76e9aa</Id> <CategoryName>sample string 2</CategoryName> <ParentPersonCategoryId>9140dced-49f3-4b06-9bb7-eb3e0bc23f73</ParentPersonCategoryId> <PersonCategoryId>bbc6d8e8-e24c-4787-921c-59e62f76e9aa</PersonCategoryId> <Remarks>sample string 3</Remarks> </PersonCategoryDetails>