Mass Edit

post/datamart.massedit/{typedId}

Performs a Mass Edit operation on specified Datamart object - changes values of the specified field (column).

Securitybasic or X-PriceFx-jwt
Request
path Parameters
typedId
required
string

The typedId of the object you want to perform the mass edit action for.

Example: 2147483653.DMDS
Request Body schema: application/json
required
object
filterCriteria
object
required
Array of objects non-empty unique
Array (non-empty)
fieldName
required
string non-empty

The name of the column whose values you want to change.

massEditOperator
required
string non-empty
fieldValue
required
string non-empty

New column values.

precision
any
Responses
200

OK - returns the number of edited records.

Response Schema: application/json
object
node
string non-empty
data
Array of strings
status
number
Request samples
application/json
{
  • "data": {
    • "filterCriteria": { },
    • "massEditRecords": [
      • {
        • "fieldName": "currency",
        • "massEditOperator": "=",
        • "fieldValue": "EUR",
        • "precision": null
        }
      ]
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "e2e-staging-node",
    • "data": [
      • "121"
      ],
    • "status": 0
    }
}