PUT api/buildingnotes/{buildingNoteId}

Update a Building Note

Request Information

URI Parameters

NameDescriptionTypeAdditional information
buildingNoteId

integer

Required

Body Parameters

UpdateBuildingNoteViewModel
NameDescriptionTypeAdditional information
comment

string

None.

NoteType

integer

Required

NoteDate

date

Required

Request Formats

application/json, text/json

Sample:
{
  "comment": "sample string 1",
  "noteType": 2,
  "noteDate": "2024-10-14T08:25:40.9799696-04:00"
}

application/xml, text/xml

Sample:
<UpdateBuildingNoteViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <NoteDate>2024-10-14T08:25:40.9799696-04:00</NoteDate>
  <NoteType>2</NoteType>
  <comment>sample string 1</comment>
</UpdateBuildingNoteViewModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.