v3

latestOpenAPI 3.0.42026-07-312008682.1 MB
Company contracts

Get all company contracts

Returns all contracts between the enterprise and other companies. Note this operation uses Pagination and supports Portfolio Access Tokens.

post/api/connector/v1/companyContracts/getAll

Request body

ClientTokenstring required

Token identifying the client application.

AccessTokenstring required

Access token of the client application.

Clientstring required

Name and version of the client application.

EnterpriseIdsstring[] nullable

Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.

CompanyContractIdsstring[] nullable

Unique identifier of the Travel agency contracts to fetch.

CompanyIdsstring[] nullable

Unique identifiers of Company assigned with Travel agency contracts.

ServiceIdsstring[] nullable

Unique identifiers of Service where the Travel agency contracts belong to.

ActivityStatesActivityStates[] nullable

Whether to return only active, only deleted or both records.

Response

OK

Cursorstring uuid nullable

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