PriceFunction resource

Methods

  • post - Create a price function
  • get - Get a price function by ID
  • put - Update a price function

Resource

{
    "createDate": "date-time",
    "customerId": "string",
    "dbVersion": "int64",
    "expression": "string",
    "id": "string",
    "name": "string",
    "parameters": [
        {
            "defaultValue": "string",
            "field": "string",
            "internalDesc": "string",
            "labels": {
                "<key>": "string"
            },
            "max": "int32",
            "min": "int32",
            "pattern": "string",
            "type": "string"
        }
    ],
    "productFields": [
        "string"
    ],
    "subject": "string",
    "updateDate": "date-time",
    "variables": [
        "string"
    ]
}

Properties

Name Type Description Additional
createDate date-time Optional
customerId string

Customer ID

Optional
dbVersion int64 Optional
expression string Optional
id string Optional
name string Optional
parameters[] array

Parameters of the expression

Optional
parameters[].defaultValue string

Parameter default value

parameters[].field string

Parameter name

parameters[].internalDesc string

Parameter internal description

Optional
parameters[].labels object Optional
parameters[].labels.<key> map of string Optional
parameters[].max int32

Maximum value

parameters[].min int32

Minimum value

parameters[].pattern string

Pattern value

parameters[].type string

Parameter type

Possible values are:

  • INTEGER
  • STRING
productFields[] array of string

Product fields used in the expression

Optional
subject string Optional
updateDate date-time Optional
variables[] array of string

Variables used in the expression

Optional