Companionships
Get all companionships
Returns all companionships based on customers, reservations or reservation groups. One of them must be specified in the request. Note this operation uses Pagination and supports Portfolio Access Tokens.
Request
[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.
Companionship extent
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.
Response
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.
Companionship
Id
string
required
CustomerId
string
required
ReservationId
string
optional
Unique identifier of reservation.
ReservationGroupId
string
required
Last updated
Was this helpful?