Resource Input

Input representation of the expression set resource (variable or constant).

This API has been deprecated as of API version 55.0. In API version 55.0 and later, use the new Business APIs in Business Rules Engine.

Note

JSON Example 

1{
2   "variables":{
3      "details":[ {
4         "apiName":"condition_output__1",
5         "dataType":"Boolean",
6         "defaultValue":"False",
7         "id":"0kJxx00000000KzEAI",
8         "isEditable":false,
9         "isUserDefined":false,
10         "name":"condition_output__1"
11      } ]
12   }
13}
14"constants":{
15   "details":[ {
16      "apiName":"SENIOR_CITIZEN_AGE",
17      "dataType":"Number",
18      "defaultValue":"60",
19      "isEditable":true,
20      "isUserDefined":true,
21      "name":"SENIOR_CITIZEN_AGE",
22      "precision":2
23   }.]
24}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
apiNameStringThe API name of the variable or constant.Required53.0
calculationMatrixNameStringThe name of the decision matrix used in the variable or constant.Optional53.0
dataTypeStringThe date type of the variable or constant.
Possible values are:
  • Boolean
  • Currency
  • Date
  • Number
  • Percent
  • Text
Required53.0
defaultValueStringThe default value of the variable or constant.Optional53.0
displayNameStringThe display name of the variable or constant that appears in the user interface.Optional53.0
idStringThe ID of the variable or constant.Required
Note: This field is required for the update request.
53.0
isEditableBooleanIndicates whether the variable or constant is editable.
Note: This field is for user-interface use only.
Optional53.0
isUserDefinedBooleanIndicates whether the variable or constant is user-defined.Optional53.0
nameStringThe name of the variable or constant.Required53.0
precisionIntegerThe floating-point precision of the variable or constant.Required
Note: This field is required when the data type is number, currency, or percentage.
53.0
uiDisplayOrderIntegerThe display order of the variable or constant in the UI.
Note: Reserved for future use.
Optional53.0