Companionships
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns all companionships based on customers, reservations or reservation groups. One of them must be specified in the request. Note this operation uses and supports .
[PlatformAddress]/api/connector/v1/companionships/getAll
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseIds
array of string
optional, max 1000 items
CompanionshipIds
array of string
optional, max 1000 items
CustomerIds
array of string
optional, max 1000 items
ReservationIds
array of string
optional, max 1000 items
Unique identifiers of reservations.
ReservationGroupIds
array of string
optional, max 1000 items
UpdatedUtc
optional, max length 3 months
Extent
required
Extent of data to be returned. E.g. it is possible to specify that together with the companionships, customers, reservations, and reservation groups should be also returned.
Limitation
required
Limitation on the quantity of data returned.
Customers
bool
optional
Whether the response should contain customers.
Reservations
bool
optional
Whether the response should contain reservations.
ReservationGroups
bool
optional
Whether the response should contain reservation groups.
Companionships
required
Companionships.
Customers
optional
Customers that belong to the companionships.
Reservations
optional
The accompanied reservations.
ReservationGroups
optional
The accompanied reservation groups.
Cursor
string
optional
Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.
Id
string
required
CustomerId
string
required
ReservationId
string
optional
Unique identifier of reservation.
ReservationGroupId
string
required
Unique identifiers of the . If not specified, the operation returns data for all enterprises within scope of the Access Token.
Unique identifiers of .
Unique identifiers of .
Unique identifiers of .
Interval in which the was updated.
array of
array of
array of
array of
Unique identifier of .
Unique identifier of .
Unique identifier of .