POST api/NoteSheet/PostNoteDocument

Request Information

URI Parameters

None.

Body Parameters

NoteDocumentVm
NameDescriptionTypeAdditional information
NoteID

integer

None.

EmployeeCode

string

None.

NoteTitle

string

None.

Subject

string

None.

Description

string

None.

CreationDateTime

date

None.

LastModification

date

None.

Active

boolean

None.

IsDeleted

boolean

None.

Attachmnet

string

None.

IPAddress

string

None.

MarkToEmpCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NoteID": 1,
  "EmployeeCode": "sample string 2",
  "NoteTitle": "sample string 3",
  "Subject": "sample string 4",
  "Description": "sample string 5",
  "CreationDateTime": "2025-12-17T11:15:12.596636-08:00",
  "LastModification": "2025-12-17T11:15:12.596636-08:00",
  "Active": true,
  "IsDeleted": true,
  "Attachmnet": "sample string 6",
  "IPAddress": "sample string 7",
  "MarkToEmpCode": "sample string 8"
}

text/plain

Sample:
{"NoteID":1,"EmployeeCode":"sample string 2","NoteTitle":"sample string 3","Subject":"sample string 4","Description":"sample string 5","CreationDateTime":"2025-12-17T11:15:12.596636-08:00","LastModification":"2025-12-17T11:15:12.596636-08:00","Active":true,"IsDeleted":true,"Attachmnet":"sample string 6","IPAddress":"sample string 7","MarkToEmpCode":"sample string 8"}

application/xml, text/xml

Sample:
<NoteDocumentVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AndroidWebAPI.Models.notesheet"><Active>true</Active><Attachmnet>sample string 6</Attachmnet><CreationDateTime>2025-12-17T11:15:12.596636-08:00</CreationDateTime><Description>sample string 5</Description><EmployeeCode>sample string 2</EmployeeCode><IPAddress>sample string 7</IPAddress><IsDeleted>true</IsDeleted><LastModification>2025-12-17T11:15:12.596636-08:00</LastModification><MarkToEmpCode>sample string 8</MarkToEmpCode><NoteID>1</NoteID><NoteTitle>sample string 3</NoteTitle><Subject>sample string 4</Subject></NoteDocumentVm>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain, application/xml, text/xml

Sample:

Sample not available.