POST Api/VisitNotesTab/AddVisitOnlyNote

Request Information

URI Parameters

None.

Body Parameters

VisitOnlyNoteVm
NameDescriptionTypeAdditional information
VisitOnlyNoteId

integer

None.

VisitId

integer

None.

NoteDetails

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "visitOnlyNoteId": 1,
  "visitId": 2,
  "noteDetails": "sample string 3",
  "createdBy": "sample string 4",
  "createdDate": "2026-05-06T03:46:08.0579289+02:00"
}

text/html

Sample:
{"visitOnlyNoteId":1,"visitId":2,"noteDetails":"sample string 3","createdBy":"sample string 4","createdDate":"2026-05-06T03:46:08.0579289+02:00"}

application/xml, text/xml

Sample:
<VisitOnlyNoteVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.ViewModels.ViewModels.Visit">
  <CreatedBy>sample string 4</CreatedBy>
  <CreatedDate>2026-05-06T03:46:08.0579289+02:00</CreatedDate>
  <NoteDetails>sample string 3</NoteDetails>
  <VisitId>2</VisitId>
  <VisitOnlyNoteId>1</VisitOnlyNoteId>
</VisitOnlyNoteVm>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.