Name Description Type Additional information
Source

Source of the booking. if not provided Manual is used

BookingSource

None.

SourceText

Source Text for the booking

string

None.

Arrival

Arrival date with the format yyyy-MM-dd

date

None.

Departure

Departure date with the format yyyy-MM-dd

date

None.

PropertyId

Property Identifier

integer

None.

Status

Status of the booking. If not provided Open is used

BookingStatusDto

None.

Rooms

List of rooms booked

Collection of CreateBookingRoomTypeDto

None.

Guest

Guest information

CreateBookingGuestDto

None.

Messages

List of messages attached to the booking. Optional

Collection of CreateBookingMessageDto

None.

PaymentType

Payment type asociated with the booking. Optional, default value is None

string

None.

PaymentAddress

Payment Address. Only if the Payment Type used supports it (eg. Paypal)

string

None.

IpCreated

Optional. Ip from where the booking is created. If not provided will be used the Ip from where the API is called

string

None.

Total

Total Amount for the booking, leave null to allow lodgify do his own Quote calculations. If something is passed then no calculations will be made. If a total value is defined, then a CurrencyCode should be defined.

decimal number

None.

CurrencyCode

CurrencyCode for the Total amount. If no currency code is defined then we will default the currency to the currency defined for the property rates in Lodgify rates

string

None.