Update score CRM entry
PUT/TransactionScoreCrm
Update score CRM entry
Request​
- application/json
Body
The transaction score CRM data 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.
Responses​
- 200
- 400
- 404
- 406
The trans score crm was updated.
- application/json
- Schema
- Example (from schema)
Schema
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"
}
The trans score crm is invalid.
- 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"
}
]
}
An trans score crm with the specified id could not be found.
- 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"
}
]
}
Incorrect JSON format.
- 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"
}
]
}