Skip to content

Get all reservations (ver 2017-04-12)

Deprecated
POST
/api/connector/v1/reservations/getAll
ReservationFilterParameters
object
ClientToken
required

Token identifying the client application.

string
>= 1 characters
AccessToken
required

Access token of the client application.

string
>= 1 characters
Client
required

Name and version of the client application.

string
>= 1 characters
ServiceIds
required

Unique identifiers of the Services from which the reservations are requested.

Array<string>
>= 1 items <= 1000 items
ServiceId
string format: uuid
nullable
GroupIds

Unique identifiers of the requested Reservation groups.

Array<string>
nullable >= 1 items <= 1000 items
ReservationIds

Unique identifiers of the requested Reservations.

Array<string>
nullable >= 1 items <= 1000 items
CustomerIds

Unique identifiers of the Customers which own the reservations.

Array<string>
nullable >= 1 items <= 1000 items
AssignedResourceIds

Unique identifiers of Resources assigned to the reservations.

Array<string>
nullable >= 1 items <= 1000 items
RateIds

Unique identifiers of Rates assigned to the reservations.

Array<string>
nullable >= 1 items <= 1000 items
BusinessSegmentIds

Unique identifiers of Business segments assigned to the reservations.

Array<string>
nullable >= 1 items <= 1000 items
ChannelNumbers

Set of numbers or references used by the Channel (i.e. OTA, GDS, CRS, etc.) in case the reservation group originates there, e.g. Booking.com confirmation numbers.

Array<string>
nullable >= 1 items <= 1000 items
Numbers

Confirmation numbers of Reservations.

Array<string>
nullable >= 1 items <= 1000 items
StartUtc

Start of the interval in UTC timezone in ISO 8601 format. Required when used in conjunction with the TimeFilter or States search parameter.

string format: date-time
nullable
EndUtc

End of the interval in UTC timezone in ISO 8601 format. Required when used in conjunction with the TimeFilter or States search parameter.

string format: date-time
nullable
TimeFilter
Any of:
Reservation time filter
string
Allowed values: Colliding Created Updated Start End Overlapping Canceled
Currency

ISO-4217 code of the Currency the item costs should be converted to.

string format: currency
nullable
States

States the reservations should be in. If not specified, reservations in Confirmed, Started or Processed states or reservations specified by ReservationIds regardless of state are returned.

Array<string>
nullable
Allowed values: Enquired Confirmed Started Processed Canceled Optional Requested
Extent
required
Reservation extent

Extent of data to be returned. E.g. it is possible to specify that together with the reservations, customers, groups and rates should be also returned.

object
Reservations

Whether the response should contain reservations.

boolean
nullable
ReservationGroups

Whether the response should contain groups of the reservations.

boolean
nullable
Customers

Whether the response should contain customers of the reservations.

boolean
nullable
CustomerAdresses

Whether the response should contain addresses of the customers.

boolean
nullable
CustomerIdentityDocuments

Whether the response should contain identity documents of the customers.

boolean
nullable
Services

Whether the response should contain services reserved by the reservations.

boolean
nullable
Products

Whether the response should contain products orderable with the reservations.

boolean
nullable
BusinessSegments

Whether the response should contain business segmentation.

boolean
nullable
Resources

Whether the response should contain resources.

boolean
nullable
ResourceCategories

Whether the response should contain resource categories.

boolean
nullable
ResourceCategoryAssignments

Whether the response should contain assignments of the resources to categories.

boolean
nullable
Rates

Whether the response should contain rates and rate groups.

boolean
nullable
Items

Whether the response should contain accounting items.

boolean
nullable
OrderItems

Whether the response should contain reservation items.

boolean
nullable
Notes

Whether the response should contain notes.

boolean
nullable
QrCodeData

Whether the response should contain QR code data.

boolean
nullable
Companies

Whether the response should contain companies.

boolean
nullable
AccountingStates

States the items should be in. If not specified, items in Open or Closed states are returned.

Array<string>
nullable
Allowed values: Open Closed Inactive Canceled
Limitation
required

Limitation on the quantity of data returned.

object
Count
required
integer format: int32
Cursor
string format: uuid
nullable
Example
{
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
"Client": "Sample Client 1.0.0",
"StartUtc": "2016-01-01T00:00:00Z",
"EndUtc": "2016-01-07T00:00:00Z",
"ServiceIds": [
"bd26d8db-86da-4f96-9efc-e5a4654a4a94"
],
"ReservationIds": [
"db6cad34-9a91-448b-bea1-abbe01240d9c"
],
"CustomerIds": [
"8e1d0ca6-1dde-4be0-8566-aafc01866110"
],
"RateIds": [
"ed4b660b-19d0-434b-9360-a4de2ea42eda"
],
"ChannelNumbers": [
"TW48ZP"
],
"States": [
"Started"
],
"Extent": {
"Reservations": true,
"ReservationGroups": true,
"Customers": true
},
"Limitation": {
"Cursor": "e7f26210-10e7-462e-9da8-ae8300be8ab7",
"Count": 10
}
}

OK

ReservationResult
object
Reservations

The reservations that collide with the specified interval.

Array<object>
nullable
Reservation (ver 2017-04-12)
object
Id
required

Unique identifier of the reservation.

string format: uuid
ServiceId
required

Unique identifier of the Service that is reserved.

string format: uuid
GroupId
required

Unique identifier of the Reservation group.

string format: uuid
Number
required

Confirmation number of the reservation in Mews.

string
>= 1 characters
ChannelNumber

Number of the reservation within the Channel (i.e. OTA, GDS, CRS, etc) in case the reservation group originates there (e.g. Booking.com confirmation number).

string
nullable
ChannelManagerNumber

Unique number of the reservation within the reservation group.

string
nullable
ChannelManagerGroupNumber

Number of the reservation group within a Channel manager that transferred the reservation from Channel to Mews.

string
nullable
ChannelManager

Name of the Channel manager (e.g. AvailPro, SiteMinder, TravelClick, etc).

string
nullable
State
required
Service order state (ver 2017-04-12)
string
Allowed values: Enquired Confirmed Started Processed Canceled Optional Requested
Origin
required
Reservation origin (ver 2017-04-12)
string
Allowed values: Distributor ChannelManager Import Connector Navigator CommanderInPerson CommanderChannel CommanderPhone CommanderEmail CommanderWebsite CommanderMessage CommanderCallCenter
OriginDetails

Details about the reservation origin.

string
nullable
Purpose
Any of:
Reservation purpose
string
Allowed values: Leisure Business Student
CreatedUtc
required

Creation date and time of the reservation in UTC timezone in ISO 8601 format.

string
>= 1 characters
UpdatedUtc
required

Last update date and time of the reservation in UTC timezone in ISO 8601 format.

string
>= 1 characters
CancelledUtc

Cancellation date and time in UTC timezone in ISO 8601 format.

string
nullable
StartUtc
required

Start of the reservation in UTC timezone in ISO 8601 format. This is either the scheduled reservation start time, or the actual customer check-in time if this is earlier than the scheduled start time.

string
>= 1 characters
EndUtc
required

End of the reservation (departure) in UTC timezone in ISO 8601 format.

string
>= 1 characters
ReleasedUtc

Date when the optional reservation is released in UTC timezone in ISO 8601 format.

string
nullable
RequestedCategoryId
required

Identifier of the requested Resource category.

string format: uuid
AssignedSpaceId

Identifier of the assigned Space.

string format: uuid
nullable
AssignedSpaceLocked

Whether the reservation is locked to the assigned Space and cannot be moved.

boolean
AssignedResourceId

Identifier of the assigned Resource.

string format: uuid
nullable
AssignedResourceLocked
required

Whether the reservation is locked to the assigned Resource and cannot be moved.

boolean
BusinessSegmentId

Identifier of the reservation Business segment.

string format: uuid
nullable
CompanyId

Identifier of the Company on behalf of which the reservation was made.

string format: uuid
nullable
TravelAgencyId

Identifier of the Company that mediated the reservation.

string format: uuid
nullable
AvailabilityBlockId

Unique identifier of the Availability block the reservation is assigned to.

string format: uuid
nullable
RateId
required

Identifier of the reservation Rate.

string format: uuid
VoucherId

Unique identifier of the Voucher that has been used to create reservation.

string format: uuid
nullable
CreditCardId

Unique identifier of the Credit card.

string format: uuid
nullable
CancellationReason
Any of:
string
Allowed values: Other ConfirmationMissed BookedElsewhere ForceMajeure GuestComplaint NoShow PriceTooHigh ServiceNotAvailable InputError InvalidPayment TravelAgency RequestedByGuest Update BookingAbandoned RequestedByBooker
AdultCount

Count of adults the reservation was booked for.

integer format: int32
ChildCount

Count of children the reservation was booked for.

integer format: int32
PersonCounts
required

Number of people per age category the reservation was booked for.

Array<object>
Age category parameters
object
AgeCategoryId
required

Unique identifier of the Age category.

string format: uuid
Count
required

Number of people of a given age category. Only positive value is accepted.

integer format: int32
OwnerId
required

Unique identifier of the Customer or Company who owns the reservation.

string format: uuid
CustomerId
required

Unique identifier of the Customer who owns the reservation.

string format: uuid
BookerId

Unique identifier of the Customer on whose behalf the reservation was made.

string format: uuid
nullable
CompanionIds
required

Unique identifiers of the Customers that will use the resource.

Array<string>
ChannelManagerId

Channel Manager number.

string
nullable
Options
required
Reservation options

Options of the reservation.

object
OwnerCheckedIn
required

Owner of the reservation checked in.

boolean
AllCompanionsCheckedIn
required

All companions of the reservation checked in.

boolean
AnyCompanionCheckedIn
required

Any companion of the reservation checked in.

boolean
ReservationGroups

Reservation groups that the reservations are members of.

Array<object>
nullable
Reservation groups (ver 2017-04-12)
object
Id

Unique identifier of the reservation group.

string format: uuid
Name

Name of the reservation group.

string
nullable
Customers

Customers that are members of the reservations.

Array<object>
nullable
Customer
object
Id
required

Unique identifier of the customer.

string format: uuid
ChainId
required

Unique identifier of the chain.

string format: uuid
Number
required

Number of the customer.

string
>= 1 characters
Title

Title of the customer.

Mister (Mr.)

Miss (Ms.)

Misses (Mrs.)

string
Allowed values: Mister Miss Misses
Sex

Sex of the customer.

Male

Female

string
Allowed values: Male Female
FirstName

First name of the customer.

string
nullable
LastName
required

Last name of the customer.

string
>= 1 characters
SecondLastName

Second last name of the customer.

string
nullable
NationalityCode

ISO 3166-1 code of the Country.

string
nullable
PreferredLanguageCode

Language and culture code of the customer’s preferred language, according to their profile. For example: en-GB, fr-CA.

string
nullable
LanguageCode

Language and culture code of the customer’s language, based on multiple sources. These sources include the preferred language specified in internal data based on previous bookings, and the preferred language of the customer specified in their profile. If neither of these sources are present, we use the native language based on the customer’s nationality. The format is, for example, en-US or fr-FR.

string
nullable
BirthDate

Date of birth in ISO 8601 format.

string
nullable
BirthPlace

Place of birth.

string
nullable
Occupation

Occupation of the customer.

string
nullable
Email

Email address of the customer.

string
nullable
HasOtaEmail

Whether the customer’s email address is a temporary email address from an OTA. For more details, see the product documentation.

boolean
Phone

Phone number of the customer (possibly mobile).

string
nullable
TaxIdentificationNumber

Tax identification number of the customer.

string
nullable
LoyaltyCode

Loyalty code of the customer.

string
nullable
AccountingCode

Accounting code of the customer.

string
nullable
BillingCode

Billing code of the customer.

string
nullable
Notes

Internal notes about the customer.

string
nullable
CarRegistrationNumber

Registration number of the customer’s car.

string
nullable <= 255 characters
DietaryRequirements

Customer’s dietary requirements, e.g. Vegan, Halal.

string
nullable <= 255 characters
CreatedUtc
required

Creation date and time of the customer in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
UpdatedUtc
required

Last update date and time of the customer in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
Passport
Identity document
object
Id

Unique identifier of the document.

string format: uuid
CustomerId

Identifier of the Customer.

string format: uuid
Type
Document type

Type of the document.

IdentityCard

Passport

Visa

DriversLicense

string
Allowed values: IdentityCard Passport Visa DriversLicense
Number

Number of the document (e.g. passport number).

string
nullable
Expiration

Expiration date in ISO 8601 format.

string format: date
nullable
Issuance

Date of issuance in ISO 8601 format.

string format: date
nullable
IssuingCountryCode

ISO 3166-1 code of the Country.

string
nullable
IssuingCity

City where the document was issued.

string
nullable
IdentityDocumentSupportNumber

Identity document support number. Only required for Spanish identity cards in Spanish hotels.

string
nullable
IdentityCard
Identity document
object
Id

Unique identifier of the document.

string format: uuid
CustomerId

Identifier of the Customer.

string format: uuid
Type
Document type

Type of the document.

IdentityCard

Passport

Visa

DriversLicense

string
Allowed values: IdentityCard Passport Visa DriversLicense
Number

Number of the document (e.g. passport number).

string
nullable
Expiration

Expiration date in ISO 8601 format.

string format: date
nullable
Issuance

Date of issuance in ISO 8601 format.

string format: date
nullable
IssuingCountryCode

ISO 3166-1 code of the Country.

string
nullable
IssuingCity

City where the document was issued.

string
nullable
IdentityDocumentSupportNumber

Identity document support number. Only required for Spanish identity cards in Spanish hotels.

string
nullable
Visa
Identity document
object
Id

Unique identifier of the document.

string format: uuid
CustomerId

Identifier of the Customer.

string format: uuid
Type
Document type

Type of the document.

IdentityCard

Passport

Visa

DriversLicense

string
Allowed values: IdentityCard Passport Visa DriversLicense
Number

Number of the document (e.g. passport number).

string
nullable
Expiration

Expiration date in ISO 8601 format.

string format: date
nullable
Issuance

Date of issuance in ISO 8601 format.

string format: date
nullable
IssuingCountryCode

ISO 3166-1 code of the Country.

string
nullable
IssuingCity

City where the document was issued.

string
nullable
IdentityDocumentSupportNumber

Identity document support number. Only required for Spanish identity cards in Spanish hotels.

string
nullable
DriversLicense
Identity document
object
Id

Unique identifier of the document.

string format: uuid
CustomerId

Identifier of the Customer.

string format: uuid
Type
Document type

Type of the document.

IdentityCard

Passport

Visa

DriversLicense

string
Allowed values: IdentityCard Passport Visa DriversLicense
Number

Number of the document (e.g. passport number).

string
nullable
Expiration

Expiration date in ISO 8601 format.

string format: date
nullable
Issuance

Date of issuance in ISO 8601 format.

string format: date
nullable
IssuingCountryCode

ISO 3166-1 code of the Country.

string
nullable
IssuingCity

City where the document was issued.

string
nullable
IdentityDocumentSupportNumber

Identity document support number. Only required for Spanish identity cards in Spanish hotels.

string
nullable
Address
Address
object
Id

Unique identifier of the address.

string format: uuid
Line1

First line of the address.

string
nullable
Line2

Second line of the address.

string
nullable
City

The city.

string
nullable
PostalCode

Postal code.

string
nullable
CountryCode

ISO 3166-1 code of the Country.

string
nullable
CountrySubdivisionCode

ISO 3166-2 code of the administrative division, e.g. DE-BW.

string
nullable
Latitude

The latitude.

number format: double
nullable
Longitude

The longitude.

number format: double
nullable
AddressId

Unique identifier of the Address of the customer.

string format: uuid
nullable
Classifications
required

Classifications of the customer.

Array<string>
Allowed values: None PaymasterAccount Blacklist Media LoyaltyProgram PreviousComplaint Returning Staff FriendOrFamily TopManagement Important VeryImportant Problematic Cashlist DisabledPerson Military Airline HealthCompliant InRoom WaitingForRoom Student
Options
required

Options of the customer.

Array<string>
Allowed values: None SendMarketingEmails Invoiceable BillAddressObjection SendMarketingPostalMail SendPartnerMarketingEmails SendPartnerMarketingPostalMail WithdrawCardConsent GuestPhotoConsent IdPhotosConsent
ItalianDestinationCode

Value of Italian destination code.

string
nullable
ItalianFiscalCode

Value of Italian fiscal code.

string
nullable
CompanyId

Unique identifier of Company the customer is associated with.

string format: uuid
nullable
MergeTargetId

Unique identifier of the account (Customer) to which this customer is linked.

string format: uuid
nullable
ActivityState

Activity State of customer record, i.e. whether active or deleted.

string
nullable
IsActive
required

Whether the customer record is still active.

boolean
PreferredSpaceFeatures
required

A list of room preferences, such as view type, bed type, and amenities.

Array<string>
Allowed values: SeaView RiverView OceanView TwinBeds DoubleBed RollawayBed UpperBed LowerBed Balcony AccessibleBathroom AccessibleRoom ElevatorAccess HighFloor Kitchenette AirConditioning PrivateJacuzzi PrivateSauna EnsuiteRoom PrivateBathroom SharedBathroom
CreatorProfileId
required

Unique identifier of the user who created the customer.

string format: uuid
UpdaterProfileId
required

Unique identifier of the user who last updated the customer.

string format: uuid
Services

Services that have been reserved.

Array<object>
nullable
Service
object
Id
required

Unique identifier of the service.

string format: uuid
EnterpriseId
required

Unique identifier of the Enterprise.

string format: uuid
IsActive
required

Whether the service is still active.

boolean
Name
required

Name of the service.

string
>= 1 characters
Names
required
Localized text

All translations of the name.

object
key
additional properties
string
StartTime
string
nullable
EndTime
string
nullable
Options
required
Service options

Options of the service.

object
BillAsPackage
required

Products should be displayed as a single package instead of individual items.

boolean
Promotions
object
BeforeCheckIn
required

Whether it can be promoted before check-in.

boolean
AfterCheckIn
required

Whether it can be promoted after check-in.

boolean
DuringStay
required

Whether it can be promoted during stay.

boolean
BeforeCheckOut
required

Whether it can be promoted before check-out.

boolean
AfterCheckOut
required

Whether it can be promoted after check-out.

boolean
DuringCheckOut
required

Whether it can be promoted during check-out.

boolean
Type
string
nullable
Ordering
required

Order value for presentation purposes.

integer format: int32
Data
required
Service data

Additional information about the specific service.

object
Discriminator
Service data discriminator
string
Allowed values: Bookable Additional
Value
One of:
Bookable service data
object
StartOffset
required

Offset from the start of the time unit which defines the default start of the service; expressed in ISO 8601 duration format.

string
>= 1 characters
EndOffset
required

Offset from the end of the time unit which defines the default end of the service; expressed in ISO 8601 duration format.

string
>= 1 characters
OccupancyStartOffset
required

Offset from the start of the time unit which defines the occupancy start of the service; expressed in ISO 8601 duration format. ‘Occupancy start’ is used for availability and reporting purposes, it implies the time at which the booked resource is considered occupied.

string
>= 1 characters
OccupancyEndOffset
required

Offset from the end of the time unit which defines the occupancy end of the service; expressed in ISO 8601 duration format. ‘Occupancy end’ is used for availability and reporting purposes, it implies the time at which the booked resource is no longer considered occupied.

string
>= 1 characters
TimeUnit
required
Time unit period

Day

Month

Hour

string
Allowed values: Day Month Hour
TimeUnitPeriod
required
Time unit period

The length of time or period represented by a time unit, for which the service can be booked.

Day

Month

Hour

string
Allowed values: Day Month Hour
ExternalIdentifier

Identifier of the service from external system.

string
nullable <= 255 characters
CreatedUtc
required

Creation date and time of the service in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
UpdatedUtc
required

Last update date and time of the service in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
Products

Products orderable with reservations.

Array<object>
nullable
Product
object
Id
required

Unique identifier of the product.

string format: uuid
ServiceId
required

Unique identifier of the Service.

string format: uuid
CategoryId

Unique identifier of the Product category.

string format: uuid
nullable
AccountingCategoryId

Unique identifier of Accounting Category.

string format: uuid
nullable
IsActive
required

Whether the product is still active.

boolean
IsDefault
boolean
Name

Name of the product. Deprecated! Please use Names

string
nullable
Names
required
Localized text

All translations of the name.

object
key
additional properties
string
ExternalName

Name of the product meant to be displayed to customer. Deprecated! Please use ExternalNames

string
nullable
ExternalNames
required
Localized text

All translations of external name.

object
key
additional properties
string
ShortName

Short name of the product. Deprecated! Please use ShortNames

string
nullable
ShortNames
required
Localized text

All translations of short name.

object
key
additional properties
string
Description

Description of the product. Deprecated! Please use Descriptions

string
nullable
Descriptions
Localized text

All translations of descriptions.

object
key
additional properties
string
Charging
Product charging mode

Once

PerTimeUnit

PerPersonPerTimeUnit

PerPerson

string
Allowed values: Once PerTimeUnit PerPersonPerTimeUnit PerPerson
ChargingMode
required
Product charging mode

Charging mode of the product.

Once

PerTimeUnit

PerPersonPerTimeUnit

PerPerson

string
Allowed values: Once PerTimeUnit PerPersonPerTimeUnit PerPerson
Posting
Product posting

Once

Daily

string
Allowed values: Once Daily
PostingMode
required
Product posting mode

Charging mode of the product.

Once

PerTimeUnit

string
Allowed values: Once PerTimeUnit
Options
required
Product options

Options of the product.

object
BillAsPackage
required

Product should be displayed as part of a package.

boolean
Promotions
required

Promotions of the product.

object
BeforeCheckIn
required

Whether it can be promoted before check-in.

boolean
AfterCheckIn
required

Whether it can be promoted after check-in.

boolean
DuringStay
required

Whether it can be promoted during stay.

boolean
BeforeCheckOut
required

Whether it can be promoted before check-out.

boolean
AfterCheckOut
required

Whether it can be promoted after check-out.

boolean
DuringCheckOut
required

Whether it can be promoted during check-out.

boolean
Classifications
required
Product classifications

Classifications of the product.

object
Food

Product is classified as food.

boolean
Beverage

Product is classified as beverage.

boolean
Wellness

Product is classified as wellness.

boolean
CityTax

Product is classified as city tax.

boolean
Fee

Product is classified as fee.

boolean
Price
required
Extended amount

Price representing price of the product.

object
Currency
required

ISO-4217 code of the Currency.

string format: currency
>= 1 characters
NetValue
required

Net value without taxes.

number format: double
GrossValue
required

Gross value including all taxes.

number format: double
TaxValues
required

The tax values applied.

Array<object>
Tax value
object
Code

Code corresponding to tax type.

string
nullable
Value
required

Amount of tax applied.

number format: double
Breakdown
required
Tax breakdown

Information about individual tax amounts.

object
Items
required

Tax breakdown items per each tax rate applied.

Array<object>
Tax breakdown item
object
TaxRateCode

Tax rate code for the item. null for untaxed amounts.

string
nullable
NetValue
required

The net value that the tax is calculated from.

number format: double
TaxValue
required

The value of the tax.

number format: double
Value
number format: double
nullable
Net
number format: double
nullable
Tax
number format: double
nullable
TaxRate
number format: double
nullable
Pricing
Product pricing
object
Discriminator
Product pricing data discriminator
string
Allowed values: Absolute Relative
Value
One of:
Extended amount
object
Currency
required

ISO-4217 code of the Currency.

string format: currency
>= 1 characters
NetValue
required

Net value without taxes.

number format: double
GrossValue
required

Gross value including all taxes.

number format: double
TaxValues
required

The tax values applied.

Array<object>
Tax value
object
Code

Code corresponding to tax type.

string
nullable
Value
required

Amount of tax applied.

number format: double
Breakdown
required
Tax breakdown

Information about individual tax amounts.

object
Items
required

Tax breakdown items per each tax rate applied.

Array<object>
Tax breakdown item
object
TaxRateCode

Tax rate code for the item. null for untaxed amounts.

string
nullable
NetValue
required

The net value that the tax is calculated from.

number format: double
TaxValue
required

The value of the tax.

number format: double
Value
number format: double
nullable
Net
number format: double
nullable
Tax
number format: double
nullable
TaxRate
number format: double
nullable
ImageIds

Unique identifier of the product image.

Array<string>
nullable
Ordering
required

Order value for presentation purposes.

integer format: int32
ExternalIdentifier

Identifier of the product from external system.

string
nullable <= 255 characters
TaxExemptionReason

Specifies the reason a product is exempt from tax.

IT_N1 (N1 - Escluse ex art.15)

IT_N2_2 (N2.2 - Non soggette – altri casi)

IT_N3_5 (N3.5 - Non imponibili – a seguito di dichiarazioni d’intento)

IT_N4 (N4 - Esenti)

IT_N5 (N5 - Regime del margine / IVA non esposta in fattura)

PL_ZW (ZW - Zwolniony)

PL_NP (NP - Nie podlega)

string
Allowed values: IT_N1 IT_N2_2 IT_N3_5 IT_N4 IT_N5 PL_ZW PL_NP
TaxExemptionLegalReference

Legal reference that states why this product is exempt from tax.

string
nullable
CreatedUtc
required

Creation date and time of the product in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
UpdatedUtc
required

Last update date and time of the product in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
ConsumptionMoment
required
Product consumption moment

Consumption moment of the product.

ServiceOrderEnd

ServiceOrderStart

PostingTimeUnit

NextTimeUnit

string
Allowed values: ServiceOrderEnd ServiceOrderStart PostingTimeUnit NextTimeUnit
Resources

Assigned resources of the reservations.

Array<object>
nullable
Resource
object
Id
required

Unique identifier of the resource.

string format: uuid
EnterpriseId
required

Unique identifier of the Enterprise.

string format: uuid
IsActive
required

Whether the resource is still active.

boolean
ParentResourceId

Identifier of the parent Resource (e.g. room of a bed).

string format: uuid
nullable
Name
required

Name of the resource (e.g. room number).

string
>= 1 characters
State
required

State of the resource.

string
>= 1 characters
Descriptions
required
Localized text

All translations of the description.

object
key
additional properties
string
CreatedUtc
required

Creation date and time of the resource in UTC timezone in ISO 8601 format.

string
>= 1 characters
UpdatedUtc
required

Last update date and time of the resource in UTC timezone in ISO 8601 format.

string
>= 1 characters
Data
required
Data

Additional data of the resource.

object
Discriminator
string
Value
One of:
SpaceData
object
FloorNumber
required
string
>= 1 characters
LocationNotes
string
nullable
ExternalNames
required
Localized text

All translations of external name.

object
key
additional properties
string
Directions
required
Localized text

All translations of direction.

object
key
additional properties
string
ResourceCategories

Resource categories of the resources.

Array<object>
nullable
Resource category
object
Id
required

Unique identifier of the category.

string format: uuid
EnterpriseId
required

Unique identifier of the Enterprise.

string format: uuid
ServiceId
required

Unique identifier of the Service of the resource category.

string format: uuid
IsActive
required

Whether the category is still active.

boolean
Type
required
Resource category type
string
Allowed values: Room Bed Dorm Apartment Suite Villa Site Office MeetingRoom ParkingSpot Desk TeamArea Membership Tent CaravanOrRV UnequippedCampsite Bike ExtraBed Cot Crib ConferenceRoom Rooftop Garden Restaurant Amphitheater PrivateSpaces
Classification
required
string
Allowed values: StandardSingle StandardDouble SuperiorTwin SuperiorDouble JuniorSuite SharedOrDorm Other SuperiorSingle Triple Family StandardTwin Studio SuperiorTripleRoom OneBedroomApartment ThreeBedroomsApartment TwoBedroomsApartment
Names
required
Localized text

All translations of the name.

object
key
additional properties
string
ShortNames
required
Localized text

All translations of the short name.

object
key
additional properties
string
Descriptions
required
Localized text

All translations of the description.

object
key
additional properties
string
Ordering
required
integer format: int32
Capacity
required
integer format: int32
ExtraCapacity
required

Extra capacity that can be served (e.g. extra bed count).

integer format: int32
ExternalIdentifier

Identifier of the resource category from external system.

string
nullable <= 255 characters
AccountingCategoryId
string format: uuid
nullable
ResourceCategoryAssignments

Assignments of the resources to categories.

Array<object>
nullable
Resource category assignment
object
Id
required

Unique identifier of the assignment.

string format: uuid
IsActive
required

Whether the assignment is still active.

boolean
ResourceId
required

Unique identifier of the Resource assigned to the Resource category.

string format: uuid
CategoryId
required

Unique identifier of the Resource category.

string format: uuid
CreatedUtc
required

Creation date and time of the assignment in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
UpdatedUtc
required

Last update date and time of the assignment in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
BusinessSegments

Business segments of the reservations.

Array<object>
nullable
Business segment
object
Id
required

Unique identifier of the business segment.

string format: uuid
ServiceId
required

Unique identifier of the Service.

string format: uuid
IsActive
required

Whether the business segment is still active.

boolean
Name
required

Name of the business segment.

string
>= 1 characters
CreatedUtc
required

Creation date and time of the business segment in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
UpdatedUtc
required

Last update date and time of the business segment in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
Rates

Rates of the reservations.

Array<object>
nullable
Rate for extent

Rate entity, without some of the details, e.g. pricing.

object
Id
required

Unique identifier of the rate.

string format: uuid
GroupId
required

Unique identifier of Rate Group where the rate belongs.

string format: uuid
ServiceId
required

Unique identifier of the Service.

string format: uuid
BaseRateId

Unique identifier of the base Rate.

string format: uuid
nullable
IsBaseRate
required

Whether the rate is a base rate.

boolean
BusinessSegmentId

Unique identifier of the Business Segment.

string format: uuid
nullable
IsActive
required

Whether the rate is still active.

boolean
IsEnabled
required

Whether the rate is currently available to customers.

boolean
IsPublic
required

Whether the rate is publicly available.

boolean
Type
required
Rate type

Type of the rate.

Public

Private

AvailabilityBlock

string
Allowed values: Public Private AvailabilityBlock
Name

Name of the rate (in the default language).

string
nullable
Names
required
Localized text

All translations of the name.

object
key
additional properties
string
ShortName

Short name of the rate (in the default language).

string
nullable
UpdatedUtc
required

Interval in which the rates were updated.

string format: date-time
>= 1 characters
ExternalNames
Localized text

All translations of the external name of the rate.

object
key
additional properties
string
Description
Localized text

All translations of the description of the rate.

object
key
additional properties
string
ExternalIdentifier

Identifier of the rate from external system.

string
nullable <= 255 characters
RateGroups

Rate groups of the reservation rates.

Array<object>
nullable
Rate group (ver 2017-04-12)
object
Id

Unique identifier of the rate group.

string format: uuid
ServiceId

Unique identifier of the Service that the rate group belongs to.

string format: uuid
IsActive

Whether the rate group is still active.

boolean
Name

Name of the rate group.

string
nullable
ExternalIdentifier

External identifier of the rate group.

string
nullable <= 255 characters
Items

Accounting items that are part of the reservations.

Array<object>
nullable
Accounting item
object
Id
string format: uuid
AccountId
string format: uuid
CustomerId
string format: uuid
nullable
OrderId
string format: uuid
nullable
ServiceId
string format: uuid
nullable
ProductId
string format: uuid
nullable
BillId
string format: uuid
nullable
InvoiceId
string format: uuid
nullable
AccountingCategoryId
string format: uuid
nullable
CreditCardId
string format: uuid
nullable
Type
string
nullable
SubType
string
nullable
Name
string
nullable
Notes
string
nullable
ConsumptionUtc
string
nullable
ClosedUtc
string
nullable
State
string
nullable
SubState
string
nullable
Amount
Extended amount
object
Currency
required

ISO-4217 code of the Currency.

string format: currency
>= 1 characters
NetValue
required

Net value without taxes.

number format: double
GrossValue
required

Gross value including all taxes.

number format: double
TaxValues
required

The tax values applied.

Array<object>
Tax value
object
Code

Code corresponding to tax type.

string
nullable
Value
required

Amount of tax applied.

number format: double
Breakdown
required
Tax breakdown

Information about individual tax amounts.

object
Items
required

Tax breakdown items per each tax rate applied.

Array<object>
Tax breakdown item
object
TaxRateCode

Tax rate code for the item. null for untaxed amounts.

string
nullable
NetValue
required

The net value that the tax is calculated from.

number format: double
TaxValue
required

The value of the tax.

number format: double
Value
number format: double
nullable
Net
number format: double
nullable
Tax
number format: double
nullable
TaxRate
number format: double
nullable
TaxExemptionReasonCode

Code of tax exemption reason. Restricted! This property is currently intended for Mews’ internal usage and may be subject to change.

string
nullable
OrderItems

Revenue items of the reservations.

Array<object>
nullable
Order item
object
Id

Unique identifier of the item.

string format: uuid
AccountId

Unique identifier of the account (for example Customer) the item belongs to.

string format: uuid
nullable
OrderId

Unique identifier of the order (or Reservation which is a special type of order) the item belongs to.

string format: uuid
BillId

Unique identifier of the Bill the item is assigned to.

string format: uuid
nullable
AccountingCategoryId

Unique identifier of the Accounting category the item belongs to.

string format: uuid
nullable
UnitCount

Unit count of item, i.e. the number of sub-items or units, if applicable.

integer format: int32
UnitAmount
Amount
object
Currency
required

ISO-4217 code of the Currency.

string format: currency
>= 1 characters
NetValue
required

Net value without taxes.

number format: double
GrossValue
required

Gross value including all taxes.

number format: double
TaxValues
required

The tax values applied.

Array<object>
Tax value
object
Code

Code corresponding to tax type.

string
nullable
Value
required

Amount of tax applied.

number format: double
Breakdown
required
Tax breakdown

Information about individual tax amounts.

object
Items
required

Tax breakdown items per each tax rate applied.

Array<object>
Tax breakdown item
object
TaxRateCode

Tax rate code for the item. null for untaxed amounts.

string
nullable
NetValue
required

The net value that the tax is calculated from.

number format: double
TaxValue
required

The value of the tax.

number format: double
Amount
Extended amount
object
Currency
required

ISO-4217 code of the Currency.

string format: currency
>= 1 characters
NetValue
required

Net value without taxes.

number format: double
GrossValue
required

Gross value including all taxes.

number format: double
TaxValues
required

The tax values applied.

Array<object>
Tax value
object
Code

Code corresponding to tax type.

string
nullable
Value
required

Amount of tax applied.

number format: double
Breakdown
required
Tax breakdown

Information about individual tax amounts.

object
Items
required

Tax breakdown items per each tax rate applied.

Array<object>
Tax breakdown item
object
TaxRateCode

Tax rate code for the item. null for untaxed amounts.

string
nullable
NetValue
required

The net value that the tax is calculated from.

number format: double
TaxValue
required

The value of the tax.

number format: double
Value
number format: double
nullable
Net
number format: double
nullable
Tax
number format: double
nullable
TaxRate
number format: double
nullable
OriginalAmount
Extended amount
object
Currency
required

ISO-4217 code of the Currency.

string format: currency
>= 1 characters
NetValue
required

Net value without taxes.

number format: double
GrossValue
required

Gross value including all taxes.

number format: double
TaxValues
required

The tax values applied.

Array<object>
Tax value
object
Code

Code corresponding to tax type.

string
nullable
Value
required

Amount of tax applied.

number format: double
Breakdown
required
Tax breakdown

Information about individual tax amounts.

object
Items
required

Tax breakdown items per each tax rate applied.

Array<object>
Tax breakdown item
object
TaxRateCode

Tax rate code for the item. null for untaxed amounts.

string
nullable
NetValue
required

The net value that the tax is calculated from.

number format: double
TaxValue
required

The value of the tax.

number format: double
Value
number format: double
nullable
Net
number format: double
nullable
Tax
number format: double
nullable
TaxRate
number format: double
nullable
RevenueType

Revenue type of the item.

string
nullable
CreatorProfileId
string format: uuid
UpdaterProfileId
string format: uuid
CreatedUtc
string format: date
nullable
UpdatedUtc
string format: date
nullable
ConsumedUtc

Date and time of the item consumption in UTC timezone in ISO 8601 format.

string format: date
nullable
CanceledUtc
string format: date
nullable
ClosedUtc

Date and time of the item bill closure in UTC timezone in ISO 8601 format.

string format: date
nullable
StartUtc
string format: date
nullable
AccountingState

Accounting state of the item.

string
nullable
Data
Data

Additional data specific to particular order item.

object
Discriminator
string
Allowed values: CancellationFee Rebate Deposit ExchangeRateDifference CustomItem Surcharge SurchargeDiscount SpaceOrder ProductOrder Other TaxCorrection ResourceUpgradeFee InvoiceFee
Value
One of:
RebateOrderItemData
object
RebatedItemId
string format: uuid
nullable
Notes

Notes of the reservations.

Array<object>
nullable
Service order note
object
Id

Unique identifier of the service order note.

string format: uuid
OrderId

Unique identifier of the Service order to which the Service Order Note belongs.

string format: uuid
Text

Content of the service order note.

string
nullable
Type
Service order note type

A discriminator specifying the type of service order note, e.g. general or channel manager.

General

ChannelManager

SpecialRequest

string
Allowed values: General ChannelManager SpecialRequest
CreatedUtc

Creation date and time of the service order note in UTC timezone in ISO 8601 format.

string format: date-time
nullable
UpdatedUtc

Last update date and time of the service order note in UTC timezone in ISO 8601 format.

string format: date-time
nullable
QrCodeData

QR code data of the reservations.

Array<object>
nullable
Reservation QR code data
object
ReservationId

Unique identifier of the reservation.

string format: uuid
Data

Reservation data for QR code generation.

string
nullable
Companies

Companies related to the reservations.

Array<object>
nullable
Company
object
Id
required

Unique identifier of the company.

string format: uuid
ChainId
required

Unique identifier of the chain.

string format: uuid
Name
required

Name of the company.

string
>= 1 characters
MotherCompanyId

Unique identifier of mother company.

string format: uuid
nullable
InvoicingEmail

Email for issuing invoices to the company.

string format: email
nullable
WebsiteUrl

The website url of the company.

string format: uri
nullable
InvoiceDueInterval

The maximum time, when the invoice has to be be paid in ISO 8601 duration format.

string
nullable
Options
required
Company Options

Options of the company.

object
Invoiceable

Whether the company is invoiceable or not.

boolean
AddFeesToInvoices

Whether the company has an additional fee applied for invoicing or not.

boolean
AddTaxDeductedPaymentToInvoices

Whether tax-deducted payments should be automatically added to invoices.

boolean
CreditRating
required
Credit Rating

Credit rating to define creditworthiness of the company.

object
Basic

Indicates the credit status of a company.

CreditOk (Company can book services.)

PaymentRequiredUpfront (Company must pay upfront.)

LocalDecisionRequired (Requires local approval.)

string
Allowed values: CreditOk PaymentRequiredUpfront LocalDecisionRequired
Department

The internal segmentation of a company, e.g. sales department.

string
nullable
DunsNumber

The Dun & Bradstreet unique 9-digit DUNS number.

string
nullable
ReferenceIdentifier

External system identifier - custom identifier used by an external system such as an external database.

string
nullable
AccountingCode

Accounting code of the company.

string
nullable
AdditionalTaxIdentifier

Additional tax identifier of the company.

string
nullable
BillingCode

Billing code of the company.

string
nullable
Contact

Other contact details, such as telephone, email or similar.

string
nullable
ContactPerson

Contact person of the company.

string
nullable
ElectronicInvoiceIdentifier

Electronic invoice identifier of the company.

string
nullable
Identifier

Fiscal or legal identifier of the company.

string
nullable
Iata

Iata of the company.

string
nullable
IsActive
required

Whether the company is still active.

boolean
Notes

Additional notes.

string
nullable
Number
required

Unique number of the company.

integer format: int64
TaxIdentifier

Tax identification number of the company.

string
nullable
Telephone

Contact telephone number.

string format: tel
nullable
CreatedUtc

Date of Company creation date and time.

string format: date-time
nullable
UpdatedUtc

Date of Company last update date and time.

string format: date-time
nullable
Address
Address
object
Id

Unique identifier of the address.

string format: uuid
Line1

First line of the address.

string
nullable
Line2

Second line of the address.

string
nullable
City

The city.

string
nullable
PostalCode

Postal code.

string
nullable
CountryCode

ISO 3166-1 code of the Country.

string
nullable
CountrySubdivisionCode

ISO 3166-2 code of the administrative division, e.g. DE-BW.

string
nullable
Latitude

The latitude.

number format: double
nullable
Longitude

The longitude.

number format: double
nullable
AddressId

Unique identifier of the company Address.

string format: uuid
nullable
MergeTargetId

Unique identifier of the account (Customer) to which this company is linked.

string format: uuid
nullable
TaxIdentificationNumber
string
nullable
ExternalIdentifier

Identifier of company from external system.

string
nullable <= 255 characters
ResourceAccessTokens

Resource access tokens for the reservations.

Array<object>
nullable
Resource access token
object
Id
required

Unique identifier of Resource access token.

string format: uuid
EnterpriseId
required

Unique identifier of the Enterprise.

string format: uuid
ServiceOrderId
required

Unique identifier of a reservation.

string format: uuid
CompanionshipId

Unique identifier of Companionship.

string format: uuid
nullable
ResourceId

Unique identifier of Resource.

string format: uuid
nullable
Type
required
string
Allowed values: PinCode RfidTag
Value

Value of resource access token

string
nullable
SerialNumber

Serial number of Resource access token type.

string
nullable
ValidityStartUtc
required

Marks the start of interval in which the resource access token can be used.

string format: date-time
>= 1 characters
ValidityEndUtc
required

Marks the end of interval in which the resource access token can be used.

string format: date-time
>= 1 characters
Permissions
ResourceAccessTokenPermissions

Specify permissions of Resource access token.

object
Bed
boolean
Room
boolean
Floor
boolean
Building
boolean
CreatedUtc
required

Creation date and time of the resource access token in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
UpdatedUtc
required

Last update date and time of the resource access token in UTC timezone in ISO 8601 format.

string format: date-time
>= 1 characters
IsActive
required

Whether the resource access token is still active.

boolean
Cursor

Unique identifier of the last and hence oldest reservation returned. This can be used in Limitation in a subsequent request to fetch the next batch of older reservations.

string format: uuid
nullable
Example
{
"BusinessSegments": null,
"Customers": [
{
"Address": null,
"BirthDate": null,
"BirthPlace": null,
"CategoryId": null,
"Classifications": [],
"CreatedUtc": "2016-01-01T00:00:00Z",
"Email": null,
"FirstName": "John",
"Sex": null,
"Id": "35d4b117-4e60-44a3-9580-c582117eff98",
"IdentityCard": null,
"LanguageCode": null,
"LastName": "Smith",
"LoyaltyCode": null,
"NationalityCode": "US",
"Notes": "",
"Number": "1",
"Passport": null,
"Phone": "00420123456789",
"SecondLastName": null,
"TaxIdentificationNumber": null,
"Title": null,
"UpdatedUtc": "2016-01-01T00:00:00Z",
"Visa": null
}
],
"OrderItems": null,
"Products": null,
"RateGroups": null,
"Rates": null,
"ReservationGroups": [
{
"Id": "c704dff3-7811-4af7-a3a0-7b2b0635ac59",
"Name": "13-12-Smith-F712"
}
],
"Reservations": [
{
"Id": "bfee2c44-1f84-4326-a862-5289598f6e2d",
"ServiceId": "bd26d8db-86da-4f96-9efc-e5a4654a4a94",
"GroupId": "94843f6f-3be3-481b-a1c7-06458774c3df",
"Number": "52",
"ChannelNumber": "TW48ZP",
"ChannelManager": "",
"ChannelManagerGroupNumber": null,
"ChannelManagerNumber": null,
"State": "Processed",
"Origin": "Connector",
"OriginDetail": null,
"Purpose": "Student",
"CreatedUtc": "2016-02-20T14:58:02Z",
"UpdatedUtc": "2016-02-20T14:58:02Z",
"CancelledUtc": null,
"StartUtc": "2016-02-20T13:00:00Z",
"EndUtc": "2016-02-22T11:00:00Z",
"ReleasedUtc": null,
"RequestedCategoryId": "773d5e42-de1e-43a0-9ce6-f940faf2303f",
"AssignedResourceId": "20e00c32-d561-4008-8609-82d8aa525714",
"AssignedResourceLocked": false,
"BusinessSegmentId": null,
"CompanyId": null,
"TravelAgencyId": null,
"AvailabilityBlockId": null,
"RateId": "ed4b660b-19d0-434b-9360-a4de2ea42eda",
"VoucherId": null,
"CustomerId": "35d4b117-4e60-44a3-9580-c582117eff98",
"PersonCounts": [
{
"AgeCategoryId": "1f67644f-052d-4863-acdf-ae1600c60ca0",
"Count": 2
},
{
"AgeCategoryId": "ab58c939-be30-4a60-8f75-ae1600c60c9f",
"Count": 2
}
]
}
],
"Services": null,
"Resources": null,
"ResourceCategories": null,
"ResourceCategoryAssignments": null,
"Notes": null,
"Cursor": "8d02142f-31cf-4115-90bf-ae5200c7a1ba"
}

Server has successfully fulfilled the request and there is no additional information to send back.

ConnectorApiExceptionResult
object
Message
string
nullable
RequestId
string
nullable
Details
nullable

Error caused by the client app, e.g. in case of malformed request or invalid identifier of a resource. In most cases, such an error signifies a bug in the client app (consumer of the API).

ConnectorApiExceptionResult
object
Message
string
nullable
RequestId
string
nullable
Details
nullable

Error caused by usage of invalid ClientToken, AccessToken, or you may not have the necessary permission to use the endpoint.

ConnectorApiExceptionResult
object
Message
string
nullable
RequestId
string
nullable
Details
nullable

Server error that should be reported to the end user of the client app. Happens for example when the server-side validation fails or when a business-logic check is violated.

ConnectorApiExceptionResult
object
Message
string
nullable
RequestId
string
nullable
Details
nullable

Error caused by heavy request that takes too long to process (typically tens of seconds). To get around this, request data in smaller batches. For more information, see Request timeouts

ConnectorApiExceptionResult
object
Message
string
nullable
RequestId
string
nullable
Details
nullable

Error caused by too many requests sent in a given amount of time. Response contains Retry-After header indicating how long the user agent should wait before making a follow-up request. For more information, see Request limits.

ConnectorApiExceptionResult
object
Message
string
nullable
RequestId
string
nullable
Details
nullable

Unexpected error on the Mews side. This may be due to a software fault. If such a situation occurs, the error will be logged and the development team notified, however you can raise an issue through GitHub on our documentation repository.

ConnectorApiExceptionResult
object
Message
string
nullable
RequestId
string
nullable
Details
nullable