POST api/roomdescription/Save
Save. Processes this room description API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
The room description save data contract supplied with the request.
RoomDescriptionSaveDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Rooms |
The collection of rooms. |
Collection of RoomSaveDataContract |
None. |
| Name |
The name value. |
string |
None. |
| Notes |
The notes value. |
string |
None. |
| PropertyId |
The unique identifier of the related property resource. |
integer |
None. |
| RoleId |
The unique identifier of the related role resource. |
integer |
None. |
| ForceUpdate |
Indicates whether force update is true. |
boolean |
None. |
| Id |
The unique identifier of this resource. |
integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample not available.
application/json, text/json
{
"Rooms": [
{
"Order": 1,
"Name": "sample string 2",
"Text": "sample string 3",
"RoomDescriptionType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"RoomMeasurements": [
{
"MeasurementUnitType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Width": 1.1,
"Length": 2.1,
"OriginalMeasurement": true,
"Id": 4
},
{
"MeasurementUnitType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Width": 1.1,
"Length": 2.1,
"OriginalMeasurement": true,
"Id": 4
}
],
"Id": 4
},
{
"Order": 1,
"Name": "sample string 2",
"Text": "sample string 3",
"RoomDescriptionType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"RoomMeasurements": [
{
"MeasurementUnitType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Width": 1.1,
"Length": 2.1,
"OriginalMeasurement": true,
"Id": 4
},
{
"MeasurementUnitType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Width": 1.1,
"Length": 2.1,
"OriginalMeasurement": true,
"Id": 4
}
],
"Id": 4
}
],
"Name": "sample string 1",
"Notes": "sample string 2",
"PropertyId": 3,
"RoleId": 4,
"ForceUpdate": true,
"Id": 6
}
Response Information
Resource Description
The response returned after the operation completes.
RoomDescriptionDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Rooms |
The collection of rooms. |
Collection of RoomDescriptionSelectedRoomDataContract |
None. |
| Name |
The name value. |
string |
None. |
| Order |
The order value. |
integer |
None. |
| Type |
The type value. |
EnumDataContract |
None. |
| PropertyId |
The unique identifier of the related property resource. |
integer |
None. |
| Notes |
The notes value. |
string |
None. |
| Roles |
The collection of roles. |
Collection of DescriptionRoleDataContract |
None. |
| CreatedDate |
The created date, expressed as a date and time. |
date |
None. |
| CreatedBy |
The created by value. |
CreatedByDataContract |
None. |
| Id |
The unique identifier of this resource. |
integer |
None. |
Response Formats
application/json
Sample not available.
text/json
Sample not available.