Count Mass Action Items

post/pricegridmanager.massactioncount/{id}

Returns a number of Price Grid Items that would be affected by the mass action operation.

totalRows value = number of affected items.


Required Permission Roles with the Required Permission
PRICEGRID_UPDATE Edit LPG & Add Products (PB_PRICEGRIDEDITOR_ADD_SKU), Edit LPG (PB_PRICEGRIDEDITOR), Administer LPG (PB_PRICEGRIDS)
Securitybasic or X-PriceFx-jwt
Request
path Parameters
id
required
string
Request Body schema: application/json
required
object
_constructor
required
string non-empty
operator
required
string non-empty
required
Array of objects non-empty unique
Array (non-empty)
fieldName
required
string non-empty
operator
required
string non-empty

Specify an operator of the filter criteria.

Possible values: "equals" "iEquals" "notEqual" "iNotEqual" "isNull" "notNull" "contains" "iContains" "containsPattern" "iContainsPattern" "notContains" "iNotContains" "startsWith" "iStartsWith" "notStartsWith" "iNotStartsWith" "endsWith" "iEndsWith" "notEndsWith" "iNotEndsWith" … 4 more
value
required
string non-empty
workflowAction
required
string non-empty
Responses
200

OK

Response Schema: application/json
object
node
string non-empty
data
any
totalRows
number

The number of affected items by the mass action operation.

status
number
Request samples
application/json
{
  • "data": {
    • "_constructor": "AdvancedCriteria",
    • "operator": "and",
    • "criteria": [
      • {
        • "fieldName": "currency",
        • "operator": "iEquals",
        • "value": "USD"
        }
      ],
    • "workflowAction": "SUBMITTED"
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "string",
    • "data": null,
    • "totalRows": 0,
    • "status": 0
    }
}