POST notes/addnotemodule

Request Information

URI Parameters

None.

Body Parameters

NoteModule
NameDescriptionTypeAdditional information
NoteModuleId

integer

None.

ObjectTypeId

integer

None.

ObjectTypeName

string

None.

NoteCategoryId

integer

None.

NoteCategory

string

None.

Active

boolean

None.

TenantId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "NoteModuleId": 1,
  "ObjectTypeId": 2,
  "ObjectTypeName": "sample string 3",
  "NoteCategoryId": 4,
  "NoteCategory": "sample string 5",
  "Active": true,
  "TenantId": 7
}

text/html

Sample:
{"NoteModuleId":1,"ObjectTypeId":2,"ObjectTypeName":"sample string 3","NoteCategoryId":4,"NoteCategory":"sample string 5","Active":true,"TenantId":7}

application/xml, text/xml

Sample:
<NoteModule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Notes">
  <Active>true</Active>
  <NoteCategory>sample string 5</NoteCategory>
  <NoteCategoryId>4</NoteCategoryId>
  <NoteModuleId>1</NoteModuleId>
  <ObjectTypeId>2</ObjectTypeId>
  <ObjectTypeName>sample string 3</ObjectTypeName>
  <TenantId>7</TenantId>
</NoteModule>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.