Generate Parameters

post/formulamanager.testparams

Retrieves a list of parameters and their Nature for a given formula.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
required
object
targetDate
required
string non-empty

The validity date of the formula.

item
string
required
object

JSON that represents the whole draft formula (the same format as used for the update command).

required
Array of objects non-empty unique
Array (non-empty)
allowOverride
required
boolean
combinationType
required
string non-empty
displayOptions
required
number
elementGroups
Array of objects
elementName
required
string non-empty
elementTimeout
required
number
hideOnNull
required
boolean
hideWarnings
required
boolean
protectedExpression
required
boolean
summarize
required
boolean
formulaExpression
required
string non-empty
status
required
string non-empty
uniqueName
required
string non-empty
validAfter
required
string non-empty
required
object
sourceId
required
string non-empty
typeCode
required
string non-empty
fsId
required
string non-empty
type
required
string non-empty
Responses
200

OK

Response Schema: application/json
object
node
string non-empty
data
object
status
integer
Request samples
application/json
{
  • "data": {
    • "targetDate": "2021-12-10",
    • "item": "P0000012345",
    • "testFormula": {
      • "elements": [
        • {
          }
        ],
      • "status": "ACTIVE",
      • "uniqueName": "admin",
      • "validAfter": "2020-01-01",
      • "__PROC": {
        • "sourceId": "CalculationLogic/MichalS+2020-01-01",
        • "typeCode": "F",
        • "fsId": "CalculationLogic/MichalS+2020-01-01",
        • "type": "CalculationLogic"
        }
      }
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "string",
    • "data": { },
    • "status": 0
    }
}