Batch update score CRM entries
POST/TransactionScoreCrm/BatchActions
Batch update score CRM entries
Request​
- application/json
Body
The batch actions request containing details of the actions to be performed.
- Array [
- ]
- Array [
- ]
transactionScoreCrmList object[]nullable
The list of transaction score CRM records to create.
The unique identifier of this record.
The lower bound of the score range for this CRM action.
The upper bound of the score range for this CRM action.
The code of the workflow template to trigger for this score range.
Possible values: [0, 1, 2, 3]
The priority level assigned to the alert or action.
Indicates whether an alert should be created for this score range.
The unique code identifying the customer group.
The username or identifier of the user who created this record.
transactionScoreCrmUpdateRequestList object[]nullable
The list of transaction score CRM records to update.
The unique identifier of this record.
The lower bound of the score range for this CRM action.
The upper bound of the score range for this CRM action.
The code of the workflow template to trigger for this score range.
Possible values: [0, 1, 2, 3]
The priority level assigned to the alert or action.
Indicates whether an alert should be created for this score range.
The unique code identifying the customer group.
The username or identifier of the user who last updated this record.
The list of transaction score CRM record IDs to delete.
Responses​
- 200
- 400
The updated collection of transaction scores after batch actions are applied.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The unique identifier of this record.
The lower bound of the score range for this CRM action.
The upper bound of the score range for this CRM action.
The code of the workflow template to trigger for this score range.
Possible values: [0, 1, 2, 3]
The priority level assigned to the alert or action.
Indicates whether an alert should be created for this score range.
The unique code identifying the customer group.
The username or identifier of the user who created this record.
The username or identifier of the user who last updated this record.
[
{
"id": 0,
"scoreFrom": 0,
"scoreTo": 0,
"workFlowTemplateCode": "string",
"priority": 0,
"createAlert": true,
"groupCode": "string",
"createdBy": "string",
"updatedBy": "string"
}
]
Bad Request if the batch actions request contains invalid data.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
reasons object[]nullable
The list of underlying error reasons.
The error or validation message.
metadata objectnullable
Additional metadata associated with this record.
The list of underlying error reasons.
The unique code identifying this entity.
errors object[]nullable
The list of validation errors.
The name of the field that failed validation.
The error or validation message.
{
"message": "string",
"metadata": {},
"reasons": [
{
"message": "string",
"metadata": {},
"reasons": [
null
]
}
],
"code": 0,
"errors": [
{
"field": "string",
"message": "string"
}
]
}