PUT api/buildingnotetypes

Save buildingnotetype

Request Information

URI Parameters

None.

Body Parameters

BuildingNoteTypeViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

NoteType

string

Required

Max length: 10

NoteTypeDescription

string

Max length: 100

HasBuildingNotes

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "noteType": "sample string 2",
  "noteTypeDescription": "sample string 3",
  "hasBuildingNotes": true
}

application/xml, text/xml

Sample:
<BuildingNoteTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <HasBuildingNotes>true</HasBuildingNotes>
  <Id>1</Id>
  <NoteType>sample string 2</NoteType>
  <NoteTypeDescription>sample string 3</NoteTypeDescription>
</BuildingNoteTypeViewModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.