POST notes/addnotetype

Request Information

URI Parameters

None.

Body Parameters

NoteTypesEntity
NameDescriptionTypeAdditional information
NoteTypeId

integer

None.

Description

string

None.

Active

boolean

None.

TenantId

integer

None.

NoteCategoryType

integer

None.

NoteCategoryTypeDesc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NoteTypeId": 1,
  "Description": "sample string 2",
  "Active": true,
  "TenantId": 4,
  "NoteCategoryType": 5,
  "NoteCategoryTypeDesc": "sample string 6"
}

text/html

Sample:
{"NoteTypeId":1,"Description":"sample string 2","Active":true,"TenantId":4,"NoteCategoryType":5,"NoteCategoryTypeDesc":"sample string 6"}

application/xml, text/xml

Sample:
<NoteTypesEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Notes">
  <Active>true</Active>
  <Description>sample string 2</Description>
  <NoteCategoryType>5</NoteCategoryType>
  <NoteCategoryTypeDesc>sample string 6</NoteCategoryTypeDesc>
  <NoteTypeId>1</NoteTypeId>
  <TenantId>4</TenantId>
</NoteTypesEntity>

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 'NoteTypesEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.