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": "85c3f4be-bf0c-4e1e-94c1-6295a95fef88",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "c52f9829-41bb-4525-8695-cb7bc52ccde5",
  "Remarks": "sample string 3",
  "Id": "85c3f4be-bf0c-4e1e-94c1-6295a95fef88",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"85c3f4be-bf0c-4e1e-94c1-6295a95fef88","CategoryName":"sample string 2","ParentPersonCategoryId":"c52f9829-41bb-4525-8695-cb7bc52ccde5","Remarks":"sample string 3","Id":"85c3f4be-bf0c-4e1e-94c1-6295a95fef88","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">85c3f4be-bf0c-4e1e-94c1-6295a95fef88</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>c52f9829-41bb-4525-8695-cb7bc52ccde5</ParentPersonCategoryId>
  <PersonCategoryId>85c3f4be-bf0c-4e1e-94c1-6295a95fef88</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": "b9b08411-526e-4495-bcef-d2ad58c627df",
  "CategoryName": "sample string 2",
  "ParentPersonCategoryId": "b3c31cc1-832b-4d31-a049-6e5830bd9fa8",
  "Remarks": "sample string 3",
  "Id": "b9b08411-526e-4495-bcef-d2ad58c627df",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"PersonCategoryId":"b9b08411-526e-4495-bcef-d2ad58c627df","CategoryName":"sample string 2","ParentPersonCategoryId":"b3c31cc1-832b-4d31-a049-6e5830bd9fa8","Remarks":"sample string 3","Id":"b9b08411-526e-4495-bcef-d2ad58c627df","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">b9b08411-526e-4495-bcef-d2ad58c627df</Id>
  <CategoryName>sample string 2</CategoryName>
  <ParentPersonCategoryId>b3c31cc1-832b-4d31-a049-6e5830bd9fa8</ParentPersonCategoryId>
  <PersonCategoryId>b9b08411-526e-4495-bcef-d2ad58c627df</PersonCategoryId>
  <Remarks>sample string 3</Remarks>
</PersonCategoryDetails>