Upsert Revenue Center Groups

post

/config/sim/v2/setup/upsertRevenueCenterGroups

Updates provided fields if Revenue Center Group exists; inserts new Revenue Center Group if it does not.

Request

Supported Media Types
Header Parameters
Body ()
Revenue Center Groups upsert request body.
Root Schema : schema
Type: object
Show Source
Nested Schema : name
Type: object
Localized revenue center group name. Each language-id keyed value must not exceed 64 characters. Required when the upsert inserts a new RVC Group.
Example:
{
    "1":"Main Dining Group",
    "2":"Groupe de salle principale",
    "3":"Grupo de comedor principal"
}
Nested Schema : revenueCenters
Type: array
Revenue centers assigned to the group. Each revenue center must be in the same property.
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Revenue Center Group updated.
Body ()
Root Schema : schema
Type: object
Show Source

201 Response

Revenue Center Group inserted.
Body ()
Root Schema : schema
Type: object
Show Source
Back to Top