Create score CRM entry
POST/TransactionScoreCrm
Create score CRM entry
Request​
- application/json
Body
Trans Score Crm 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.
Responses​
- 201
- 400
- 406
- 409
trans score crm was created.
- 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"
}
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"
}
]
}
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"
}
]
}
trans score crm already exists.
- 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"
}
]
}