Sales Intervention reasons
This page describes the format of the Reasons
and PrimaryReason
fields in the PickUpAck messages of the Sales Intervention trade model.
The Reasons
and PrimaryReason
fields describe the reasons why a deal requires manual intervention.
FX Integration API builders
The FX Integration API provides the following builders for creating messages that use the Reasons
and PrimaryReason
fields:
Message/Part | Type | Builder |
---|---|---|
Intervention Trade Details Fields |
Part |
|
PickUpAck |
Message |
|
PickUpAck |
Message |
|
PickUpAck |
Message |
Field formats
Two fields describe Sales Intervention reasons:
Field | Type | Format | Description |
---|---|---|---|
|
String |
- |
Text describing the main reason why a deal requires intervention. For display in blotters. Can be any text, but is conventionally populated with the same text from the |
|
String |
JSON |
Array of |
The Reasons field contains an array of Reason
objects:
Property | Type | Mandatory | Description |
---|---|---|---|
|
String |
No |
Heading text |
|
Array |
Yes |
Array of data objects |
Reason object example
{
"header": "Settlement cut-off exceeded",
"data": [ ... ]
}
The data
property of a Reason
object contains an array of data objects:
Property | Type | Mandatory | Description |
---|---|---|---|
|
String |
Yes |
The message to be displayed or the label of the value (if a value is specified) |
|
String |
No |
A value to be displayed to the right of the title. If left blank, the title takes up the whole row. |
|
String |
No |
Type of the |
|
String |
No |
The severity of the data: 'success', 'warning', 'error', or blank |
|
String |
No |
The currency, if |
Data object example 1
{
"title": "The settlement cutoff for EURUSD is 4pm, but the request was received 5:22pm"
}
Data object example 2
{
"title": "Amount Exceeded By",
"value": "100000",
"type": "CCY_AMOUNT",
"level": "error",
"ccy": "EUR"
}
Reasons field examples
Reasons field | Display |
---|---|
|
Settlement cut-off exceeded The settlement cutoff for EURUSD is 4pm, but the request was received 5:22pm |
Reasons field | Display | ||||||
---|---|---|---|---|---|---|---|
|
Credit Limit Exceeded
|