List Customer Assignments

post/customermanager.fetchassignments/{typedId}

Retrieves a list of customers assigned to the specified entity. A filter can be applied (see the request sample).

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

The typedId of the entity you want to retrieve assignments for.

Example: 2147490405.PL
Request Body schema: application/json
endRow
number
oldValues
any
operationType
string non-empty
startRow
number
textMatchStyle
string non-empty
object
_constructor
required
string non-empty
operator
string non-empty
Array of objects non-empty unique
Array (non-empty)
fieldName
string non-empty
operator
required
string non-empty
value
number
Responses
200

Example response

Response Schema: application/json
object
node
string non-empty
Array of objects non-empty unique
Array (non-empty)
version
number
typedId
string non-empty
object
assignmentId
number
priority
number
additionalInfo1
any
additionalInfo2
any
additionalInfo3
any
additionalInfo4
any
lastUpdateByName
string non-empty
createdByName
string non-empty
assignment
string non-empty
createDate
string non-empty
createdBy
number
lastUpdateDate
string non-empty
lastUpdateBy
number
status
number
Request samples
application/json
{
  • "endRow": 300,
  • "oldValues": null,
  • "operationType": "fetch",
  • "startRow": 0,
  • "textMatchStyle": "exact",
  • "data": {
    • "_constructor": "AdvancedCriteria",
    • "operator": "and",
    • "criteria": [
      • {
        • "fieldName": "priority",
        • "operator": "equals",
        • "value": 2
        }
      ]
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "e2e-templates-node",
    • "data": [
      • {
        • "version": 1,
        • "typedId": "3.CA",
        • "customerGroup": {
          },
        • "assignmentId": 211,
        • "priority": 1,
        • "additionalInfo1": null,
        • "additionalInfo2": null,
        • "additionalInfo3": null,
        • "additionalInfo4": null,
        • "lastUpdateByName": "admin",
        • "createdByName": "admin",
        • "assignment": "211.PG",
        • "createDate": "2021-12-13T10:11:09",
        • "createdBy": 2147490696,
        • "lastUpdateDate": "2021-12-13T10:11:09",
        • "lastUpdateBy": 2147490696
        }
      ],
    • "status": 0
    }
}