POST api/crmconnect/property/getrooms
Get the rooms as a RoomDescriptionSaveDataContract so that they can be added to a property after creation in rezi
Request Information
URI Parameters
None.
Body Parameters
A value usable to identify the item in the crm, this key is generated by the selected domain service
ObjectNone.
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{}
Response Information
Resource Description
Dezrez.Core.DataContracts.External.Api.Descriptions.Command.RoomDescriptionSaveDataContractName | Description | Type | Additional information |
---|---|---|---|
Rooms | Collection of Dezrez.Core.DataContracts.External.Api.Descriptions.Command.RoomSaveDataContract |
None. |
|
Name | string |
None. |
|
Notes | string |
None. |
|
PropertyId | integer |
None. |
|
RoleId | integer |
None. |
|
ForceUpdate | boolean |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "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 }