Add a Live Price Grid Type

post/add/PGTT

Creates a Live Price Grid Type.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
operationType
string
textMatchStyle
string
object
uniqueName
string
label
string
targetDate
string
userGroupViewDetails
string
userGroupEdit
string
userGroupCanUseType
string
headerFormulaName
string
dimensionType
string
calculationFormulaName
string
matrixFormulaName
string
matrixFormulaElementName
string
object
relativeTargetDateDays
integer
preferencesSource
string
Array of objects
Array
name
string
label
string
type
string
value
integer
inputs
Array of objects
shotgunModeEnabled
boolean
allowColumnTypeChange
boolean
resultElementName
string
dynamicItemMode
string
object
_constructor
string
operator
string
Array of objects
uomOverrideElementName
string
currencyOverrideElementName
string
autoApproveElementName
string
manualResultExpiryElementName
string
maxIncreasePct
integer
maxDecreasePct
integer
Array of objects
Array
name
string
label
string
url
string
type
string
object or boolean or Array of arrays or integer
inputs
Array of objects
parameterConfig
object
formattingOptions
object
lookupTableId
string
valueHint
string
elementNames
Array of strings
hiddenElementNames
Array of strings
approvalTriggerFields
Array of strings
userCanToggleVisibility
Array of strings
approvalMappings
Array of strings
overridableFields
Array of strings
calcLogicInputsOverridableFields
Array of strings
object
key1
string
object
key2
string
object
key3
string
Responses
200

OK

Response Schema: application/json
object
node
string
Array of objects (LivePriceGridType)
Array
version
integer
typedId
string
uniqueName
string
label
string
createdByName
string
lastUpdateByName
string
targetDate
string
object
buttonsConfiguration
object
dimensionType
string
calculationFormulaName
string
contextualActions
object
createDate
string
createdBy
integer
lastUpdateDate
string
lastUpdateBy
integer
id
integer
status
integer
Request samples
application/json
{
  • "operationType": "add",
  • "textMatchStyle": "exact",
  • "data": {
    • "uniqueName": "Price Grid Type 1",
    • "label": "Price Grid Type 1 Label",
    • "targetDate": "2030-01-01",
    • "userGroupViewDetails": "Group A",
    • "userGroupEdit": "Group B",
    • "userGroupCanUseType": "Group C",
    • "headerFormulaName": "Header Formula",
    • "dimensionType": "MATRIX",
    • "calculationFormulaName": "Formula A",
    • "matrixFormulaName": "Matrix Keys Generation Formula",
    • "matrixFormulaElementName": "Element 123",
    • "typeConfiguration": {
      • "relativeTargetDateDays": 3,
      • "preferencesSource": "123",
      • "headerInputs": [
        • {
          }
        ],
      • "shotgunModeEnabled": false,
      • "allowColumnTypeChange": false,
      • "resultElementName": "resultPrice",
      • "dynamicItemMode": "ADD_ONLY",
      • "productFilterCriteria": {
        • "_constructor": "AdvancedCriteria",
        • "operator": "and",
        • "criteria": [
          ]
        },
      • "uomOverrideElementName": "SecretFormula",
      • "currencyOverrideElementName": "currencyElement",
      • "autoApproveElementName": "resultPrice",
      • "manualResultExpiryElementName": "ElementB",
      • "maxIncreasePct": 1,
      • "maxDecreasePct": 2,
      • "calculationLogicInputs": [
        • {
          },
        • {
          },
        • {
          },
        • {
          },
        • {
          },
        • {
          },
        • {
          }
        ],
      • "elementNames": [
        • "testFormula",
        • "ElementB",
        • "resultPrice",
        • "SecretFormula",
        • "currencyElement"
        ],
      • "hiddenElementNames": [
        • "SecretFormula"
        ],
      • "approvalTriggerFields": [
        • "SecretFormula"
        ],
      • "userCanToggleVisibility": [
        • "SecretFormula"
        ],
      • "approvalMappings": [
        • "testFormula"
        ],
      • "overridableFields": [
        • "calculationLogic"
        ],
      • "calcLogicInputsOverridableFields": [
        • "Input A"
        ]
      },
    • "customActionLogics": {
      • "key1": "value"
      },
    • "contextualActions": {
      • "key2": "value"
      },
    • "buttonsConfiguration": {
      • "key3": "value"
      }
    }
}
Response samples
application/json
{
  • "response": {
    • "data": [
      • {
        • "version": 0,
        • "typedId": "3.PGTT",
        • "uniqueName": "Price Grid Type 1",
        • "label": "Price Grid Type 1 Label",
        • "createdByName": "unity",
        • "lastUpdateByName": "unity",
        • "targetDate": "2030-01-01",
        • "userGroupEdit": "Group B",
        • "userGroupViewDetails": "Group A",
        • "userGroupCanUseType": "Group C",
        • "typeConfiguration": {
          },
        • "buttonsConfiguration": {
          },
        • "headerFormulaName": "Header Formula",
        • "dimensionType": "MATRIX",
        • "calculationFormulaName": "Formula A",
        • "matrixFormulaName": "Matrix Keys Generation Formula",
        • "matrixFormulaElementName": "Element 123",
        • "customActionLogics": "{key1=value}",
        • "contextualActions": {
          },
        • "createDate": "2024-11-11T13:04:16",
        • "createdBy": 1302,
        • "lastUpdateDate": "2024-11-11T13:04:16",
        • "lastUpdateBy": 1302,
        • "id": 3
        }
      ],
    • "status": 0
    }
}