PUT fxo/Deal/CorporateDeal
Request Information
URI Parameters
None.
Body Parameters
UpdateCorporateDeal| Name | Description | Type | Additional information |
|---|---|---|---|
| detail | UpdateCorporateDetail |
Required |
|
| deal | CorporateDeal |
Required |
|
| deal_transaction | Collection of UpdateCorporateTransaction |
Required |
|
| payments | Collection of CorporatePayments |
None. |
|
| settlements | Collection of CorporateSettlements |
None. |
Request Formats
application/json, text/json
Sample:
{
"detail": {
"record": {
"value": "sample string 1",
"id": 2
},
"entity": {
"value": "sample string 1",
"id": 2
},
"trader": {
"value": "sample string 1",
"id": 2
},
"booker": {
"value": "sample string 1",
"id": 2
},
"currency": {
"value": "sample string 1",
"id": 2
},
"notes": "sample string 1",
"internal_remarks": "sample string 2",
"external_id": "sample string 3",
"sub_inv_org": {
"value": "sample string 1",
"id": 2
}
},
"deal": {
"value_date": "sample string 1",
"start_date": "sample string 2",
"entry_date": "sample string 3"
},
"deal_transaction": [
{
"trans_id": 1,
"buy_currency": {
"value": "sample string 1",
"id": 2
},
"sub_inv_org": {
"value": "sample string 1",
"id": 2
},
"buy_amount": 2.0,
"exchange_rate": 3.0,
"actual_market_rate": 4.0,
"market_rate": 5.0,
"sell_currency": {
"value": "sample string 1",
"id": 2
},
"sell_amount": 6.0,
"external_det_id": "sample string 7"
},
{
"trans_id": 1,
"buy_currency": {
"value": "sample string 1",
"id": 2
},
"sub_inv_org": {
"value": "sample string 1",
"id": 2
},
"buy_amount": 2.0,
"exchange_rate": 3.0,
"actual_market_rate": 4.0,
"market_rate": 5.0,
"sell_currency": {
"value": "sample string 1",
"id": 2
},
"sell_amount": 6.0,
"external_det_id": "sample string 7"
}
],
"payments": [
{
"currency": {
"value": "sample string 1",
"id": 2
},
"amount": 1.0,
"value_date": "sample string 2",
"account_value": "sample string 3",
"account_id": "sample string 4",
"payee": {
"value": "sample string 1",
"id": 2
},
"payee_name": "sample string 5",
"action": {
"value": "sample string 1",
"id": 2
},
"act_type": "sample string 6"
},
{
"currency": {
"value": "sample string 1",
"id": 2
},
"amount": 1.0,
"value_date": "sample string 2",
"account_value": "sample string 3",
"account_id": "sample string 4",
"payee": {
"value": "sample string 1",
"id": 2
},
"payee_name": "sample string 5",
"action": {
"value": "sample string 1",
"id": 2
},
"act_type": "sample string 6"
}
],
"settlements": [
{
"action": {
"value": "sample string 1",
"id": 2
},
"currency": {
"value": "sample string 1",
"id": 2
},
"amount": 1.0,
"value_date": "sample string 2",
"account_value": "sample string 3",
"account_id": "sample string 4",
"payee": {
"value": "sample string 1",
"id": 2
},
"payee_name": "sample string 5",
"act_type": "sample string 6",
"reference": "sample string 7",
"beneficiary_reference": "sample string 8",
"notify_my_receipient": "sample string 9",
"beneficiary_remarks": "sample string 10",
"internal_reference": "sample string 11",
"remittence_remarks": "sample string 12",
"purpose_of_payment": {
"value": "sample string 1",
"id": 2
},
"purpose_of_payment_details": "sample string 13",
"is_equivalent": 14,
"fee": 15.1,
"fee_type": {
"value": "sample string 1",
"id": 2
},
"fee_currency": {
"value": "sample string 1",
"id": 2
}
},
{
"action": {
"value": "sample string 1",
"id": 2
},
"currency": {
"value": "sample string 1",
"id": 2
},
"amount": 1.0,
"value_date": "sample string 2",
"account_value": "sample string 3",
"account_id": "sample string 4",
"payee": {
"value": "sample string 1",
"id": 2
},
"payee_name": "sample string 5",
"act_type": "sample string 6",
"reference": "sample string 7",
"beneficiary_reference": "sample string 8",
"notify_my_receipient": "sample string 9",
"beneficiary_remarks": "sample string 10",
"internal_reference": "sample string 11",
"remittence_remarks": "sample string 12",
"purpose_of_payment": {
"value": "sample string 1",
"id": 2
},
"purpose_of_payment_details": "sample string 13",
"is_equivalent": 14,
"fee": 15.1,
"fee_type": {
"value": "sample string 1",
"id": 2
},
"fee_currency": {
"value": "sample string 1",
"id": 2
}
}
]
}
application/x-www-form-urlencoded
Sample:
application/xml
Sample:
text/xml
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.