POST api/ESB/ModifyFXPaymentDeals
Request Information
URI Parameters
None.
Body Parameters
UpdateDeals| Name | Description | Type | Additional information |
|---|---|---|---|
| TransactionId | string |
None. |
|
| SettlementDate | date |
None. |
|
| TotalCrossBorderAmount | decimal number |
None. |
|
| TotalCounterAmount | decimal number |
None. |
|
| Deals | Collection of Deal |
None. |
Request Formats
application/json, text/json
Sample:
{
"TransactionId": "sample string 1",
"SettlementDate": "2025-12-10T01:35:21.542984+00:00",
"TotalCrossBorderAmount": 1.0,
"TotalCounterAmount": 1.0,
"Deals": [
{
"DealNumber_7": "sample string 1",
"DealType": "sample string 2",
"ForeignCurrencyAmount_10": 1.0,
"ExchangeRate_11": 1.0,
"RandAmount_12": 1.0
},
{
"DealNumber_7": "sample string 1",
"DealType": "sample string 2",
"ForeignCurrencyAmount_10": 1.0,
"ExchangeRate_11": 1.0,
"RandAmount_12": 1.0
}
]
}
application/xml, text/xml
Sample:
<UpdateDeals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MercantileEventHandler.ViewModels">
<Deals xmlns:d2p1="http://schemas.datacontract.org/2004/07/MercantileEventHandler.ViewModels.ESB">
<d2p1:Deal>
<d2p1:DealNumber_7>sample string 1</d2p1:DealNumber_7>
<d2p1:DealType>sample string 2</d2p1:DealType>
<d2p1:ExchangeRate_11>1</d2p1:ExchangeRate_11>
<d2p1:ForeignCurrencyAmount_10>1</d2p1:ForeignCurrencyAmount_10>
<d2p1:RandAmount_12>1</d2p1:RandAmount_12>
</d2p1:Deal>
<d2p1:Deal>
<d2p1:DealNumber_7>sample string 1</d2p1:DealNumber_7>
<d2p1:DealType>sample string 2</d2p1:DealType>
<d2p1:ExchangeRate_11>1</d2p1:ExchangeRate_11>
<d2p1:ForeignCurrencyAmount_10>1</d2p1:ForeignCurrencyAmount_10>
<d2p1:RandAmount_12>1</d2p1:RandAmount_12>
</d2p1:Deal>
</Deals>
<SettlementDate>2025-12-10T01:35:21.542984+00:00</SettlementDate>
<TotalCounterAmount>1</TotalCounterAmount>
<TotalCrossBorderAmount>1</TotalCrossBorderAmount>
<TransactionId>sample string 1</TransactionId>
</UpdateDeals>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| TransactionId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"TransactionId": "sample string 3"
}
application/xml, text/xml
Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MercantileEventHandler.ViewModels"> <Message>sample string 2</Message> <Success>true</Success> <TransactionId>sample string 3</TransactionId> </ServiceResponse>