POST notes/addnotecategory

Request Information

URI Parameters

None.

Body Parameters

NoteCategoriesEntity
NameDescriptionTypeAdditional information
NoteCategoryId

integer

None.

CategoryType

string

None.

Active

boolean

None.

TenantId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "NoteCategoryId": 1,
  "CategoryType": "sample string 2",
  "Active": true,
  "TenantId": 4
}

text/html

Sample:
{"NoteCategoryId":1,"CategoryType":"sample string 2","Active":true,"TenantId":4}

application/xml, text/xml

Sample:
<NoteCategoriesEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Notes">
  <Active>true</Active>
  <CategoryType>sample string 2</CategoryType>
  <NoteCategoryId>1</NoteCategoryId>
  <TenantId>4</TenantId>
</NoteCategoriesEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NoteCategoriesEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.