GET api/Units/GetUnitHomeAway?unitID={unitID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| unitID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UnitHomeAway| Name | Description | Type | Additional information |
|---|---|---|---|
| UnitID | integer |
None. |
|
| HAActive | boolean |
None. |
|
| HAHeadline | string |
None. |
|
| HAName | string |
None. |
|
| HAPreDescription | string |
None. |
|
| HAPostDescription | string |
None. |
|
| HAPropertyType | string |
None. |
|
| HALastContentPulled | date |
None. |
|
| HALastAvailabilityPulled | date |
None. |
|
| HALastRatesPulled | date |
None. |
|
| HALastLodgingConfigurationPulled | date |
None. |
|
| MarkupAmountPerDay | decimal number |
None. |
|
| MarkupRateModifier | decimal number |
None. |
|
| MainPicture | string |
None. |
|
| HAPropertyKey | string |
None. |
|
| HAExternalID | string |
None. |
|
| PictureVersion | integer |
None. |
|
| ShowExactGeoLocation | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"UnitID": 1,
"HAActive": true,
"HAHeadline": "sample string 3",
"HAName": "sample string 4",
"HAPreDescription": "sample string 5",
"HAPostDescription": "sample string 6",
"HAPropertyType": "sample string 7",
"HALastContentPulled": "2025-12-10T06:00:36.7184141+00:00",
"HALastAvailabilityPulled": "2025-12-10T06:00:36.7184141+00:00",
"HALastRatesPulled": "2025-12-10T06:00:36.7184141+00:00",
"HALastLodgingConfigurationPulled": "2025-12-10T06:00:36.7184141+00:00",
"MarkupAmountPerDay": 12.0,
"MarkupRateModifier": 13.0,
"MainPicture": "sample string 14",
"HAPropertyKey": "sample string 15",
"HAExternalID": "sample string 16",
"PictureVersion": 17,
"ShowExactGeoLocation": true
}
application/xml, text/xml
Sample:
<UnitHomeAway xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UnitID>1</UnitID> <HAActive>true</HAActive> <HAHeadline>sample string 3</HAHeadline> <HAName>sample string 4</HAName> <HAPreDescription>sample string 5</HAPreDescription> <HAPostDescription>sample string 6</HAPostDescription> <HAPropertyType>sample string 7</HAPropertyType> <HALastContentPulled>2025-12-10T06:00:36.7184141+00:00</HALastContentPulled> <HALastAvailabilityPulled>2025-12-10T06:00:36.7184141+00:00</HALastAvailabilityPulled> <HALastRatesPulled>2025-12-10T06:00:36.7184141+00:00</HALastRatesPulled> <HALastLodgingConfigurationPulled>2025-12-10T06:00:36.7184141+00:00</HALastLodgingConfigurationPulled> <MarkupAmountPerDay>12</MarkupAmountPerDay> <MarkupRateModifier>13</MarkupRateModifier> <MainPicture>sample string 14</MainPicture> <HAPropertyKey>sample string 15</HAPropertyKey> <HAExternalID>sample string 16</HAExternalID> <PictureVersion>17</PictureVersion> <ShowExactGeoLocation>true</ShowExactGeoLocation> </UnitHomeAway>