POST api/PriceLabs/PriceLabsSync
Request Information
URI Parameters
None.
Body Parameters
PriceLabsSyncPricesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| listing_id | string |
None. |
|
| last_refreshed | string |
None. |
|
| data | Collection of PriceLabsSyncPrices |
None. |
Request Formats
application/json, text/json
Sample:
{
"listing_id": "sample string 1",
"last_refreshed": "sample string 2",
"data": [
{
"price": 1,
"date": "sample string 2",
"min_stay": 3,
"check_in": true,
"check_out": true,
"weekly_discount": 6.0,
"monthly_discount": 7.0,
"extra_person_fee": 8,
"extra_person_fee_trigger": 9,
"los_discount_v2": {
"los_night": "sample string 1",
"max_price": "sample string 2",
"min_price": "sample string 3",
"los_adjustment": "sample string 4"
}
},
{
"price": 1,
"date": "sample string 2",
"min_stay": 3,
"check_in": true,
"check_out": true,
"weekly_discount": 6.0,
"monthly_discount": 7.0,
"extra_person_fee": 8,
"extra_person_fee_trigger": 9,
"los_discount_v2": {
"los_night": "sample string 1",
"max_price": "sample string 2",
"min_price": "sample string 3",
"los_adjustment": "sample string 4"
}
}
]
}
application/xml, text/xml
Sample:
<PriceLabsSyncPricesRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<listing_id>sample string 1</listing_id>
<last_refreshed>sample string 2</last_refreshed>
<data>
<PriceLabsSyncPrices>
<price>1</price>
<date>sample string 2</date>
<min_stay>3</min_stay>
<check_in>true</check_in>
<check_out>true</check_out>
<weekly_discount>6</weekly_discount>
<monthly_discount>7</monthly_discount>
<extra_person_fee>8</extra_person_fee>
<extra_person_fee_trigger>9</extra_person_fee_trigger>
<los_discount_v2>
<los_night>sample string 1</los_night>
<max_price>sample string 2</max_price>
<min_price>sample string 3</min_price>
<los_adjustment>sample string 4</los_adjustment>
</los_discount_v2>
</PriceLabsSyncPrices>
<PriceLabsSyncPrices>
<price>1</price>
<date>sample string 2</date>
<min_stay>3</min_stay>
<check_in>true</check_in>
<check_out>true</check_out>
<weekly_discount>6</weekly_discount>
<monthly_discount>7</monthly_discount>
<extra_person_fee>8</extra_person_fee>
<extra_person_fee_trigger>9</extra_person_fee_trigger>
<los_discount_v2>
<los_night>sample string 1</los_night>
<max_price>sample string 2</max_price>
<min_price>sample string 3</min_price>
<los_adjustment>sample string 4</los_adjustment>
</los_discount_v2>
</PriceLabsSyncPrices>
</data>
</PriceLabsSyncPricesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string>sample string 1</string>