POST api/cfgNoteType

Insert a new record into the NoteTypes table.

Request Information

URI Parameters

None.

Body Parameters

cfgNoteTypeDb
NameDescriptionTypeAdditional information
NoteTypeID

integer

None.

NoteType

string

Required

Max length: 30

IsActive

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

IsEmailThread

boolean

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "NoteTypeID": 1,
  "NoteType": "sample string 2",
  "IsActive": true,
  "CreatedBy": 4,
  "CreatedDate": "2025-12-06T23:37:01.7688039+00:00",
  "UpdatedBy": 6,
  "UpdatedDate": "2025-12-06T23:37:01.7688039+00:00",
  "IsEmailThread": true
}

application/xml, text/xml

Sample:
<cfgNoteTypeDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <CreatedBy>4</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:37:01.7688039Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <IsActive>true</IsActive>
  <IsEmailThread>true</IsEmailThread>
  <NoteType>sample string 2</NoteType>
  <NoteTypeID>1</NoteTypeID>
  <UpdatedBy>6</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:37:01.7688039Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</cfgNoteTypeDb>

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

Response Information

Resource Description

UpsertRetOfcfgNoteTypeDb
NameDescriptionTypeAdditional information
returnID

integer

None.

results

Collection of ValidationResult

None.

returnItem

cfgNoteTypeDb

None.

displayMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "returnID": 1,
  "results": null,
  "returnItem": {
    "results": null,
    "NoteTypeID": 1,
    "NoteType": "sample string 2",
    "IsActive": true,
    "CreatedBy": 4,
    "CreatedDate": "2025-12-06T23:37:01.7777517+00:00",
    "UpdatedBy": 6,
    "UpdatedDate": "2025-12-06T23:37:01.7777517+00:00",
    "IsEmailThread": true
  },
  "displayMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<UpsertRetOfcfgNoteTypeDb66KPc_SrH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility">
  <displayMessage>sample string 1</displayMessage>
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" />
  <returnID>1</returnID>
  <returnItem xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
    <results xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" />
    <d2p1:CreatedBy>4</d2p1:CreatedBy>
    <d2p1:CreatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:37:01.7777517Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:CreatedDate>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:IsEmailThread>true</d2p1:IsEmailThread>
    <d2p1:NoteType>sample string 2</d2p1:NoteType>
    <d2p1:NoteTypeID>1</d2p1:NoteTypeID>
    <d2p1:UpdatedBy>6</d2p1:UpdatedBy>
    <d2p1:UpdatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:37:01.7777517Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:UpdatedDate>
  </returnItem>
</UpsertRetOfcfgNoteTypeDb66KPc_SrH>