Added listings data
This commit is contained in:
parent
5585880b63
commit
6fce8c0ec6
4 changed files with 58 additions and 8 deletions
|
|
@ -51,8 +51,12 @@ select
|
||||||
uu.email as guest_email,
|
uu.email as guest_email,
|
||||||
uu.billing_country_name as guest_billing_country,
|
uu.billing_country_name as guest_billing_country,
|
||||||
uu.billing_town as guest_billing_town,
|
uu.billing_town as guest_billing_town,
|
||||||
a.friendly_name,
|
a.id_accommodation,
|
||||||
a.address_line_1,
|
a.friendly_name as accommodation_name,
|
||||||
|
a.country_name as accommodation_country,
|
||||||
|
a.town as accommodation_town,
|
||||||
|
a.address_line_1 as accommodation_address,
|
||||||
|
a.postcode as accommodation_postcode,
|
||||||
b.check_in_date_utc,
|
b.check_in_date_utc,
|
||||||
b.check_out_date_utc,
|
b.check_out_date_utc,
|
||||||
uh.account_currency_iso4217 as host_currency
|
uh.account_currency_iso4217 as host_currency
|
||||||
|
|
|
||||||
|
|
@ -5640,17 +5640,38 @@ models:
|
||||||
description: |
|
description: |
|
||||||
The town or city name of the guest's billing address.
|
The town or city name of the guest's billing address.
|
||||||
|
|
||||||
- name: friendly_name
|
- name: id_accommodation
|
||||||
|
data_type: character varying
|
||||||
|
description: |
|
||||||
|
"Id of the accommodation or listing."
|
||||||
|
|
||||||
|
- name: accommodation_name
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: |
|
description: |
|
||||||
A user-friendly name for the booking or transaction, often used for
|
A user-friendly name for the booking or transaction, often used for
|
||||||
display purposes.
|
display purposes.
|
||||||
|
|
||||||
- name: address_line_1
|
- name: accommodation_country
|
||||||
|
data_type: text
|
||||||
|
description: |
|
||||||
|
The country name of the accommodation.
|
||||||
|
|
||||||
|
- name: accommodation_town
|
||||||
|
data_type: text
|
||||||
|
description: |
|
||||||
|
The town or city name of the accommodation.
|
||||||
|
|
||||||
|
- name: accommodation_address
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: |
|
description: |
|
||||||
The first line of the property address associated with the payment.
|
The first line of the property address associated with the payment.
|
||||||
|
|
||||||
|
- name: accommodation_postcode
|
||||||
|
data_type: character varying
|
||||||
|
description: |
|
||||||
|
The postal code of the property address associated with the payment
|
||||||
|
for the booking.
|
||||||
|
|
||||||
- name: check_in_date_utc
|
- name: check_in_date_utc
|
||||||
data_type: date
|
data_type: date
|
||||||
description: The scheduled check-in date of the guest, in UTC.
|
description: The scheduled check-in date of the guest, in UTC.
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,12 @@ select
|
||||||
guest_email as guest_email,
|
guest_email as guest_email,
|
||||||
guest_billing_country as guest_billing_country,
|
guest_billing_country as guest_billing_country,
|
||||||
guest_billing_town as guest_billing_town,
|
guest_billing_town as guest_billing_town,
|
||||||
friendly_name as friendly_name,
|
id_accommodation as id_accommodation,
|
||||||
address_line_1 as address_line_1,
|
accommodation_name as accommodation_name,
|
||||||
|
accommodation_country as accommodation_country,
|
||||||
|
accommodation_town as accommodation_town,
|
||||||
|
accommodation_address as accommodation_address,
|
||||||
|
accommodation_postcode as accommodation_postcode,
|
||||||
check_in_date_utc as check_in_date_utc,
|
check_in_date_utc as check_in_date_utc,
|
||||||
check_out_date_utc as check_out_date_utc,
|
check_out_date_utc as check_out_date_utc,
|
||||||
host_currency as host_currency
|
host_currency as host_currency
|
||||||
|
|
|
||||||
|
|
@ -1901,17 +1901,38 @@ models:
|
||||||
description: |
|
description: |
|
||||||
The town or city name of the guest's billing address.
|
The town or city name of the guest's billing address.
|
||||||
|
|
||||||
- name: friendly_name
|
- name: id_accommodation
|
||||||
|
data_type: character varying
|
||||||
|
description: |
|
||||||
|
"Id of the accommodation or listing."
|
||||||
|
|
||||||
|
- name: accommodation_name
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: |
|
description: |
|
||||||
A user-friendly name for the booking or transaction, often used for
|
A user-friendly name for the booking or transaction, often used for
|
||||||
display purposes.
|
display purposes.
|
||||||
|
|
||||||
- name: address_line_1
|
- name: accommodation_country
|
||||||
|
data_type: text
|
||||||
|
description: |
|
||||||
|
The country name of the accommodation.
|
||||||
|
|
||||||
|
- name: accommodation_town
|
||||||
|
data_type: text
|
||||||
|
description: |
|
||||||
|
The town or city name of the accommodation.
|
||||||
|
|
||||||
|
- name: accommodation_address
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: |
|
description: |
|
||||||
The first line of the property address associated with the payment.
|
The first line of the property address associated with the payment.
|
||||||
|
|
||||||
|
- name: accommodation_postcode
|
||||||
|
data_type: character varying
|
||||||
|
description: |
|
||||||
|
The postal code of the property address associated with the payment
|
||||||
|
for the booking.
|
||||||
|
|
||||||
- name: check_in_date_utc
|
- name: check_in_date_utc
|
||||||
data_type: date
|
data_type: date
|
||||||
description: The scheduled check-in date of the guest, in UTC.
|
description: The scheduled check-in date of the guest, in UTC.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue