POST api/v1/personcategories

Request Information

URI Parameters

None.

Body Parameters

PersonCategoryDetails
NameDescriptionTypeAdditional 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": "ceb5a3f7-4070-40bd-be53-364a973352ac",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "3995eaf4-b0b9-4b92-9a2c-01774402218d",
  "Remarks": "sample string 3",
  "Id": "ceb5a3f7-4070-40bd-be53-364a973352ac",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"ceb5a3f7-4070-40bd-be53-364a973352ac","CategoryName":"sample string 2","ParentPersonCategoryId":"3995eaf4-b0b9-4b92-9a2c-01774402218d","Remarks":"sample string 3","Id":"ceb5a3f7-4070-40bd-be53-364a973352ac","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">ceb5a3f7-4070-40bd-be53-364a973352ac</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>3995eaf4-b0b9-4b92-9a2c-01774402218d</ParentPersonCategoryId>
  <PersonCategoryId>ceb5a3f7-4070-40bd-be53-364a973352ac</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PersonCategoryDetails
NameDescriptionTypeAdditional 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": "22e69fcd-e56f-40f0-8d59-496e1cc5c0c4",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "78f572d1-1ace-461b-b4f6-6a66d0d44d3f",
  "Remarks": "sample string 3",
  "Id": "22e69fcd-e56f-40f0-8d59-496e1cc5c0c4",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"22e69fcd-e56f-40f0-8d59-496e1cc5c0c4","CategoryName":"sample string 2","ParentPersonCategoryId":"78f572d1-1ace-461b-b4f6-6a66d0d44d3f","Remarks":"sample string 3","Id":"22e69fcd-e56f-40f0-8d59-496e1cc5c0c4","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">22e69fcd-e56f-40f0-8d59-496e1cc5c0c4</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>78f572d1-1ace-461b-b4f6-6a66d0d44d3f</ParentPersonCategoryId>
  <PersonCategoryId>22e69fcd-e56f-40f0-8d59-496e1cc5c0c4</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>