POST api/ProjectNotes

Request Information

URI Parameters

None.

Body Parameters

ProjectNoteViewModel
NameDescriptionTypeAdditional information
Notes

string

Required

Id

string

None.

ProjectId

string

None.

DateCreatedUtc

date

None.

CreatedById

string

None.

CreatedByDisplayName

string

None.

CreatedByProfileUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "notes": "sample string 1",
  "id": "sample string 2",
  "projectId": "sample string 3",
  "dateCreatedUtc": "2026-06-03T07:20:28.0430778+00:00",
  "createdById": "sample string 5",
  "createdByDisplayName": "sample string 6",
  "createdByProfileUrl": "sample string 7"
}

application/xml, text/xml

Sample:
<ProjectNoteViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Business.ViewModels.ProjectNotes">
  <CreatedByDisplayName xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models">sample string 6</CreatedByDisplayName>
  <CreatedById xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models">sample string 5</CreatedById>
  <CreatedByProfileUrl xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models">sample string 7</CreatedByProfileUrl>
  <DateCreatedUtc xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models">2026-06-03T07:20:28.0430778+00:00</DateCreatedUtc>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models">sample string 2</Id>
  <Notes xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models">sample string 1</Notes>
  <ProjectId xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models">sample string 3</ProjectId>
</ProjectNoteViewModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.