Rules

Returns all rules applied with the reservations. Note this operation uses Pagination and supports Portfolio Access Tokens.

post/api/connector/v1/rules/getAll

Request

  • Base URL: https://api.mews.com
  • URL: https://api.mews.com/api/connector/v1/rules/getAll
  • Auth: none declared

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.

Idsstring[] nullable

Unique identifiers of the Rule.

ServiceIdsstring[] required

Unique identifiers of the Service.

Response

OK

Cursorstring uuid nullable

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.

Changes

    • info

      added the optional property // to the response with the status

    • warning

      added the new Cabin enum value to the // response property for the response status

    • warning

      added the new Pod enum value to the // response property for the response status

    • warning

      added the new SunBed enum value to the // response property for the response status