Add a Lookup Table Value

post/lookuptablemanager.add/{tableId}

Creates a new LookupTableValue or MatrixLookupTableValue record in the LookupTable (Company Parameter table).


Required Permission Roles with the Required Permission
LOOKUPTABLE_ADD Administer Price Parameters (PB_PARAMETERS), Administer Plasma (PLASMA)
Securitybasic or X-PriceFx-jwt
Request
path Parameters
tableId
required
string

Enter the ID of the table. The ID can be retrieved using the /lookuptablemanager.fetch method.

Request Body schema: application/json
required
object
name
required
string non-empty
value
required
string non-empty
operation
string non-empty

Must be 'add' or null or omitted.

Responses
200

OK

Response Schema: application/json
required
object
node
required
string non-empty
required
Array of objects non-empty unique
Array (non-empty)
version
required
number
typedId
required
string non-empty
name
required
string non-empty
value
required
string non-empty
lowerBound
any
upperBound
any
lastUpdateByName
required
string non-empty
createdByName
required
string non-empty
tableId
required
number
valueType
required
string non-empty
type
required
string non-empty
rawValue
required
string non-empty
createDate
required
string non-empty
createdBy
required
number
lastUpdateDate
required
string non-empty
lastUpdateBy
required
number
status
required
number
Request samples
application/json
{
  • "data": {
    • "name": "recordName",
    • "value": "recordValue"
    },
  • "operation": "add"
}
Response samples
application/json
{
  • "response": {
    • "node": "e2e-templates-node",
    • "data": [
      • {
        • "version": 1,
        • "typedId": "2147490006.LTV",
        • "name": "recordName2",
        • "value": "recordValue2",
        • "lowerBound": null,
        • "upperBound": null,
        • "lastUpdateByName": "admin",
        • "createdByName": "admin",
        • "tableId": 2147484027,
        • "valueType": "STRING",
        • "type": "SIMPLE",
        • "rawValue": "recordValue2",
        • "createDate": "2021-10-07T09:07:24",
        • "createdBy": 2147490696,
        • "lastUpdateDate": "2021-10-07T09:07:24",
        • "lastUpdateBy": 2147490696
        }
      ],
    • "status": 0
    }
}