Folio Configuration

Create an autorouting rule

Create a new autorouting rule for a group profile. The rule defines which transaction types are automatically routed from reservations to a group profile folio.

post/accounting/v1.0/folios/rules

Request

  • Base URL
    https://api.cloudbeds.com
  • URL
    https://api.cloudbeds.com/accounting/v1.0/folios/rules
  • Auth
    • HTTP bearer
    • or OAuth 2
      Implicit: https://hotels.cloudbeds.com/api/v1.2/oauth

Headers

X-Property-IDinteger required

Unique identifier of the property. Required for all requests to scope data to a specific property.

Request body

sourceIdinteger required

Group Profile ID

sourceKind'GROUP_PROFILE'

Deprecated. Defaults to GROUP_PROFILE if not provided.

subSourceIdinteger

Allotment Block ID. Null for group-level rules, required for block-level rules.

Example request

{
  "sourceId": 12345,
  "subSourceId": 67890
}

Response

Created

propertyIdstring

Property ID

sourceIdstring

Group Profile ID

sourceKind'GROUP_PROFILE'

Deprecated. Defaults to GROUP_PROFILE if not provided.

subSourceIdstring

Allotment Block ID. Null for group-level rules.

Changes

No recorded changes to this operation across all 1 revision of this API.