POST api/buildingnotes/{buildingId}/Createbuildingnote
Create building note
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| buildingId |
|
integer |
Required |
Body Parameters
CreateBuildingNoteViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| comment |
|
string |
None. |
| NoteType |
|
integer |
Required |
| NoteDate |
|
date |
Required |
Request Formats
application/json, text/json
{
"comment": "sample string 1",
"noteType": 2,
"noteDate": "2025-10-29T04:36:37.6761903-04:00"
}
application/xml, text/xml
<CreateBuildingNoteViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <NoteDate>2025-10-29T04:36:37.6761903-04:00</NoteDate> <NoteType>2</NoteType> <comment>sample string 1</comment> </CreateBuildingNoteViewModel>
application/x-www-form-urlencoded
Response Information
Resource Description
BuildingNoteViewModel
BuildingNoteViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
|
integer |
None. |
| BuildingId |
|
integer |
None. |
| NoteTypeId |
|
integer |
None. |
| NoteType |
|
BuildingNoteTypeViewModel |
None. |
| NoteDate |
|
date |
None. |
| NoteText |
|
string |
None. |
Response Formats
application/json, text/json
{
"id": 1,
"buildingId": 2,
"noteTypeId": 3,
"noteType": {
"id": 1,
"noteType": "sample string 2",
"noteTypeDescription": "sample string 3",
"hasBuildingNotes": true
},
"noteDate": "2025-10-29T04:36:37.6761903-04:00",
"noteText": "sample string 5"
}
application/xml, text/xml
<BuildingNoteViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
<BuildingId>2</BuildingId>
<Id>1</Id>
<NoteDate>2025-10-29T04:36:37.6761903-04:00</NoteDate>
<NoteText>sample string 5</NoteText>
<NoteType>
<HasBuildingNotes>true</HasBuildingNotes>
<Id>1</Id>
<NoteType>sample string 2</NoteType>
<NoteTypeDescription>sample string 3</NoteTypeDescription>
</NoteType>
<NoteTypeId>3</NoteTypeId>
</BuildingNoteViewModel>