Get Revenue Centers

post

/config/sim/v1/hierarchy/getRevenueCenters

Gets all the revenue centers for the specified organization

Request

Supported Media Types
Body ()
The input Body model that needs to be given.
Root Schema : schema
Type: object
Show Source
  • Objects included in the response.
    Example: hierUnitId
  • This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except Ext values. If 'detailed' is specified, The response contains all the properties of the object.
    Example: detailed
  • If specified, limits the translated strings returned.
    Example: en-US, es-ES, es-MX
  • If using paging, number of results returned in this page.
    Example: 10
  • Starting resource record index. Not required if paging parameters are not supported.
    Example: 0
  • Sorts the response by the specified field name and sort order.
    Example: objectNum:asc
  • Search criteria to filter results based on field value.
    Example: where equals(objectNum,1)
Back to Top

Response

Supported Media Types

200 Response

A collection of Revenue Centers.
Body ()
Root Schema : RevenueCenterGetResponsev1
Type: object
Show Source
Nested Schema : items
Type: array
Array of Revenue Center objects of the organization.
Show Source
Nested Schema : RevenueCenterGETv1
Type: object
Model for RevenueCenter Object
Show Source
  • The address line 1 for the revenue center.
    Example: Address Line 1
  • The address line 2 for the revenue center.
    Example: Address Line 2
  • The address line 3 for the revenue center.
    Example: Address Line 3
  • The city for the revenue center.
    Example: City
  • consumerFacingName
    A group of string objects representing the consumer facing name of the revenue center in the configured languages
  • The country for the revenue center.
    Example: United States
  • The country code for the revenue center.
    Example: US
  • dataExtensions
    An array of extension data associated with the revenue center
  • The floor of the building.
    Example: 1st Floor
  • Unique reference of the hierarchy structure of the revenue center. Excluded by default.
    Example: 1
  • Unique reference of the hierarchy unit of the revenue center
    Example: 1
  • A flag indicating if LDS is activated for this revenue center.
    Example: false
  • The unique reference of the KDS Controller that controls the KDS Display Order Devices in this revenue center. Oracle recommends using no more than 15 KDS Display Order Devices on a single KDS Controller
    Example: 2
  • kdsControllerName
    A group of string objects representing the name of the KDS controller in configured languages
  • The revenue center latitude. Latitude must be within range -90 to +90
    Example: 12.23
  • Unique reference of the hierarchy structure of the property. Excluded by default.
    Example: 1
  • Unique reference of the hierarchy unit of the property
    Example: 1
  • locName
    A group of string objects representing the name of the location configured languages
  • Object number of the property
    Example: 1
  • The revenue center longitude. Longitude must be between -180 and 180
    Example: 12.34
  • name
    A group of string objects representing the name of the revenue center configured languages
  • Object number of the revenue center
    Example: 1
  • The phone number of the revenue center
    Example: 1234567890
  • The phone number country code of the revenue center.
    Example: US
  • The phone number prefix of the revenue center.
    Example: 1
  • rvcGroups
    An object containing the descriptive options list associated with the revenue center groups associated with this revenue center
  • This field shows the Revenue Center ID, an uneditable field that is the database ID number. This field is provided as a reference so that configuration can be completed for interfaces and other applications that require Revenue Center IDs
    Example: 1
  • A string value of 0s & 1s of length 32 representing the enablement or disablement of the revenue center types associated with the revenue center. If not specified, this will represent the default options associated with the revenue center
    Example: 11111111111111111111111111111111
  • The state or region for the revenue center.
    Example: New York
  • The state or region code for the revenue center.
    Example: NY
  • The ZIP or postal code for the revenue center.
    Example: YXA123
Nested Schema : consumerFacingName
Type: object
A group of string objects representing the consumer facing name of the revenue center in the configured languages
Example:
{
    "en-US":"Enterprise",
    "de-DE":"Unternehmen",
    "es-MX":"Empresa"
}
Nested Schema : dataExtensions
Type: array
An array of extension data associated with the revenue center
Show Source
Example:
{
    "columnName":"extension column 1",
    "value":"value 1"
}
Nested Schema : kdsControllerName
Type: object
A group of string objects representing the name of the KDS controller in configured languages
Example:
{
    "en-US":"Controller",
    "de-DE":"Regler",
    "es-MX":"Controlador"
}
Nested Schema : locName
Type: object
A group of string objects representing the name of the location configured languages
Example:
{
    "en-US":"Enterprise",
    "de-DE":"Unternehmen",
    "es-MX":"Empresa"
}
Nested Schema : name
Type: object
A group of string objects representing the name of the revenue center configured languages
Example:
{
    "en-US":"Enterprise",
    "de-DE":"Unternehmen",
    "es-MX":"Empresa"
}
Nested Schema : rvcGroups
Type: array
An object containing the descriptive options list associated with the revenue center groups associated with this revenue center
Show Source
Example:
{
    "rvcGroupNum":1
}
Nested Schema : items
Type: object
Show Source
  • The name of the extension data column
    Example: extension column 1
  • The value associated with the extension data column
    Example: value 1
Nested Schema : items
Type: object
Show Source
  • The object number of the revenue center group associated with the revenue center
    Example: 1
Back to Top