POST api/v1/general/notes/note

Request Information

URI Parameters

None.

Body Parameters

NotesModel
NameDescriptionTypeAdditional information
Id

integer

Required

OperatorId

integer

Required

EntityId

globally unique identifier

Required

Created

date

Required

CreatedBy

globally unique identifier

Required

Note

string

Required

Max length: 500

IsDoneRequired

boolean

Required

AssingedTo

globally unique identifier

None.

DueDate

date

None.

IsDone

boolean

None.

DoneBy

globally unique identifier

None.

DoneDate

date

None.

IsDeleted

boolean

Required

Type

byte

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OperatorId": 2,
  "EntityId": "576be551-481c-4dea-bf38-70620ce5b4aa",
  "Created": "2025-12-10T17:34:05.1182574+02:00",
  "CreatedBy": "815e3757-50f6-4e16-b724-f60fbdca6d45",
  "Note": "sample string 6",
  "IsDoneRequired": true,
  "AssingedTo": "5d2dd258-8f4c-4ab6-8211-5b962f400f76",
  "DueDate": "2025-12-10T17:34:05.1182574+02:00",
  "IsDone": true,
  "DoneBy": "932d2a61-c393-443f-af8c-a6a59581c144",
  "DoneDate": "2025-12-10T17:34:05.1182574+02:00",
  "IsDeleted": true,
  "Type": 64
}

application/xml, text/xml

Sample:
<NotesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <AssingedTo>5d2dd258-8f4c-4ab6-8211-5b962f400f76</AssingedTo>
  <Created>2025-12-10T17:34:05.1182574+02:00</Created>
  <CreatedBy>815e3757-50f6-4e16-b724-f60fbdca6d45</CreatedBy>
  <DoneBy>932d2a61-c393-443f-af8c-a6a59581c144</DoneBy>
  <DoneDate>2025-12-10T17:34:05.1182574+02:00</DoneDate>
  <DueDate>2025-12-10T17:34:05.1182574+02:00</DueDate>
  <EntityId>576be551-481c-4dea-bf38-70620ce5b4aa</EntityId>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <IsDone>true</IsDone>
  <IsDoneRequired>true</IsDoneRequired>
  <Note>sample string 6</Note>
  <OperatorId>2</OperatorId>
  <Type>64</Type>
</NotesModel>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>