v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
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

Headers

X-Property-IDinteger required

Property id

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.