POST api/buildingnotetypes
Create buildingnotetype
Request Information
URI Parameters
None.
Body Parameters
BuildingNoteTypeViewModelName | Description | Type | Additional 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:
Response Information
Resource Description
BuildingNoteTypeViewModel
BuildingNoteTypeViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
|
integer |
None. |
NoteType |
|
string |
Required Max length: 10 |
NoteTypeDescription |
|
string |
Max length: 100 |
HasBuildingNotes |
|
boolean |
None. |
Response 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>