Additional Information

Currencies

Currency parameters may use the "currencyType" from the Oracle New Media Type. When used, this mandates an ISO4217 currency code. Example:

{

"value":21.99,

"currency":"GBP"

}

In all other cases, the currency data type will reflect a number data type with decimal precision as available in Simphony unless specified in the specifications for higher precision.

Dates

Dates that include only the date segment may be defined as a string, format = "date". Example:

"2017-03-07"

Date-Times

In line with the Oracle REST Standard, dates and times will be expressed only as RFC3339 dates or ISO 8601 dates. Both these formats mandate time zones where they include times.

Phone Number Prefixes

When inserting or updating location or revenue center endpoints, and you include the phone object, you must also include the phoneCountryCode object. The system returns an error when the phoneCountryCode object is missing. Sending the correct country, region, and phone code values is especially important for customers who use Oracle MICROS Payment Cloud Service. See the following references for more information:

Translated String

The Translated String resource type is used for strings that can be translated into multiple languages, such as menu item name. A translated string contains key value pairs consisting of the language's culture key and the text that is used by the system when that language is active.

V1 example:

{ 
"en-US": "coffee", 
"es-ES": "cafe", 
"lt-LT": "kavos" 
}

V2 example:

{ 
  "1": "coffee", 
  "2": "cafe", 
  "3": "kavos" 
}

In some unique cases, when two languages have the same culture code, the API generates an error indicating the duplicate languages are not permitted.

Option String

Option Strings are used in many tables to efficiently store yes/no (enabled/disabled) settings. These settings are represented in arrays, whose values are only 1 or 0. The position of the 1 or 0 determines what option has been enabled or disabled for the record.

A very common example, found in menu item definitions, is the menu level settings, which look like this:

"mainLevel": "11111111",

In this case, there are 8 main levels, each represented by a single digit. Since each digit is a 1, this Option String indicates that all 8 menu levels are enabled. If only menu levels 1 and 7 are enabled, the values will look like this:

"mainLevel": "10000010",

The easiest way to way with the options is to first configure a sample record using the Enterprise Management Console (EMC) and then export the data after saving the record.

Some endpoints support the ability to provide more detailed information on the options' meaning by including the <field nam>Ext data, as can be seen in the highlighted portion of the Auto Menu Level object shown below:

{
	"hierUnitId": 2,
      "hierUnitObjNum": 1,
	"hierUnitName":{
		"en-US": "Location 1",
		"es-SS": ...,
		"lt=LT": ...,
		....
	},
	"index": 1,
	"start": "10:00",
	"end": "18:00",
	"mainLevelIndex": 1,
	"subLevelIndex": 1,
	"options": "10000000",
	"optionsExt": {
		"activeEntry": false,
		"activeOnSunday": false,
		"activeOnMonday": false,
		"activeOnTuesday": false,
		"activeOnWednesday": false,
		"activeOnThursday": false,
		"activeOnFriday": false,
		"activeOnSaturday": false,
	}
}

Pre-Delete Dependency Checks

Some objects support a pre-delete dependency check, which checks for foreign key references that will prevent a successful delete operation.

Language Codes

The following table lists supported languages with their localeID and localeKey values.

localeID localeKey localeString
1025 ar-SA Arabic - Saudi Arabia
1026 bg-BG Bulgarian
1027 ca-ES Catalan
1028 zh-TW Chinese - Taiwan
1029 cs-CZ Czech
1030 da-DK Danish
1031 de-DE German - Germany
1032 el-GR Greek
1033 en-US English - United States
1034 es-ES Spanish - Spain (Traditional Sort)
1035 fi-FI Finnish
1036 fr-FR French - France
1037 he-IL Hebrew
1038 hu-HU Hungarian
1039 is-IS Icelandic
1040 it-IT Italian - Italy
1041 ja-JP Japanese
1042 ko-KR Korean
1043 nl-NL Dutch - Netherlands
1044 nb-NO Norwegian (Bokmål)
1045 pl-PL Polish
1046 pt-BR Portuguese - Brazil
1048 ro-RO Romanian
1049 ru-RU Russian
1050 hr-HR Croatian
1051 sk-SK Slovak
1052 sq-AL Albanian - Albania
1053 sv-SE Swedish
1054 th-TH Thai
1055 tr-TR Turkish
1056 ur-PK Urdu - Pakistan
1057 id-ID Indonesian
1058 uk-UA Ukrainian
1059 be-BY Belarusian
1060 sl-SI Slovenian
1061 et-EE Estonian
1062 lv-LV Latvian
1063 lt-LT Lithuanian
1065 fa-IR Persian
1066 vi-VN Vietnamese
1067 hy-AM Armenian - Armenia
1068 az-Latn-AZ Azeri (Latin)
1069 eu-ES Basque
1071 mk-MK F.Y.R.O. Macedonian
1078 af-ZA Afrikaans - South Africa
1079 ka-GE Georgian
1080 fo-FO Faroese
1081 hi-IN Hindi
1086 ms-MY Malay - Malaysia
1087 kk-KZ Kazakh
1088 ky-KG Kyrgyz (Cyrillic)
1089 sw-KE Swahili
1091 uz-Latn-UZ Uzbek (Latin)
1092 tt-RU Tatar
1094 pa-IN Punjabi
1095 gu-IN Gujarati
1097 ta-IN Tamil
1098 te-IN Telugu
1099 kn-IN Kannada
1102 mr-IN Marathi
1103 sa-IN Sanskrit
1104 mn-MN Mongolian (Cyrillic)
1110 gl-ES Galician
1111 kok-IN Konkani
1114 syr-SY Syriac
1125 dv-MV Divehi
2049 ar-IQ Arabic - Iraq
2052 zh-CN Chinese - People's Republic of China
2055 de-CH German - Switzerland
2057 en-GB English - United Kingdom
2058 es-MX Spanish - Mexico
2060 fr-BE French - Belgium
2064 it-CH Italian - Switzerland
2067 nl-BE Dutch - Belgium
2068 nn-NO Norwegian (Nynorsk)
2070 pt-PT Portuguese - Portugal
2074 sr-Latn-CS Serbian (Latin)
2077 sv-FI Swedish - Finland
2092 az-Cyrl-AZ Azeri (Cyrillic)
2110 ms-BN Malay - Brunei Darussalam
2115 uz-Cyrl-UZ Uzbek (Cyrillic)
3073 ar-EG Arabic - Egypt
3076 zh-HK Chinese - Hong Kong SAR
3079 de-AT German - Austria
3081 en-AU English - Australia
3082 es-ES Spanish - Spain (Modern Sort)
3084 fr-CA French - Canada
3098 sr-Cyrl-CS Serbian (Cyrillic)
4097 ar-LY Arabic - Libya
4100 zh-SG Chinese - Singapore
4103 de-LU German - Luxembourg
4105 en-CA English - Canada
4106 es-GT Spanish - Guatemala
4108 fr-CH French - Switzerland
5121 ar-DZ Arabic - Algeria
5124 zh-MO Chinese - Macao SAR
5127 de-LI German - Liechtenstein
5129 en-NZ English - New Zealand
5130 es-CR Spanish - Costa Rica
5132 fr-LU French - Luxembourg
6145 ar-MA Arabic - Morocco
6153 en-IE English - Ireland
6154 es-PA Spanish - Panama
6156 fr-MC French - Monaco
7169 ar-TN Arabic - Tunisia
7177 en-ZA English - South Africa
7178 es-DO Spanish - Dominican Republic
8193 ar-OM Arabic - Oman
8201 en-JM English - Jamaica
8202 es-VE Spanish - Venezuela
9217 ar-YE Arabic - Yemen
9225 en-029 English - Caribbean
9226 es-CO Spanish - Colombia
10241 ar-SY Arabic - Syria
10249 en-BZ English - Belize
10250 es-PE Spanish - Peru
11265 ar-JO Arabic - Jordan
11273 en-TT English - Trinidad
11274 es-AR Spanish - Argentina
12289 ar-LB Arabic - Lebanon
12297 en-ZW English - Zimbabwe
12298 es-EC Spanish - Ecuador
13313 ar-KW Arabic - Kuwait
13321 en-PH English - Philippines
13322 es-CL Spanish - Chile
14337 ar-AE Arabic - U.A.E.
14346 es-UY Spanish - Uruguay
15361 ar-BH Arabic - Bahrain
15370 es-PY Spanish - Paraguay
16385 ar-QA Arabic - Qatar
16394 es-BO Spanish - Bolivia
17418 es-SV Spanish - El Salvador
18442 es-HN Spanish - Honduras
19466 es-NI Spanish - Nicaragua
20490 es-PR Spanish - Puerto Rico