POST api/{apiVersion}/CustomerAccountOperation/CalculateExchanges

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiVersion

string

None.

Body Parameters

CustomerAccountCalculateExchangesRequest
NameDescriptionTypeAdditional information
CustAccountOperationTypeId

globally unique identifier

None.

SendAmount

decimal number

None.

SendAmountCurrencyId

globally unique identifier

None.

ReceivedAmount

decimal number

None.

ReceivedAmountCurrencyId

globally unique identifier

None.

SenderCustAccountId

globally unique identifier

None.

SenderCurrencyId

globally unique identifier

None.

ReceiverCustAccountId

globally unique identifier

None.

ReceiverCurrencyId

globally unique identifier

None.

ReceiverAccountNo

string

None.

ReceiverPhoneNumber

string

None.

ReceiverCurrencyIsoCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustAccountOperationTypeId": "2d3078a0-6ef9-47f6-812c-c908c475bdfb",
  "SendAmount": 2.0,
  "SendAmountCurrencyId": "c16d483f-cbb7-4ba9-8a81-4613995f455d",
  "ReceivedAmount": 4.0,
  "ReceivedAmountCurrencyId": "f53c9770-6a46-4a1b-b75f-a89f6572a4f6",
  "SenderCustAccountId": "442aad19-c75d-4a47-843d-ff41a758b1d3",
  "SenderCurrencyId": "61923c32-cf23-4d53-b835-411613af2bee",
  "ReceiverCustAccountId": "100c9f2e-0724-4946-963e-34c4b3a44b80",
  "ReceiverCurrencyId": "10ec9e84-d58a-433b-803f-f54a90b7ab53",
  "ReceiverAccountNo": "sample string 10",
  "ReceiverPhoneNumber": "sample string 11",
  "ReceiverCurrencyIsoCode": "sample string 12"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfCustomerAccountCalculateExchangesResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

CustomerAccountCalculateExchangesResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": {
    "CorporationId": "9528fa41-95a4-4536-9365-d7b4e6cd54f4",
    "CustAccountOperationTypeId": "28a81c64-8a08-4bfb-93f4-6aaf1927bdb1",
    "SendAmount": 3.0,
    "SendAmountCurrencyId": "b4a8f986-5f4a-4973-8adc-197162ef1b8d",
    "ReceivedAmount": 5.0,
    "ReceivedAmountCurrencyId": "18c35d71-e95b-4ba3-a3de-b0efe46ad839",
    "ExchangeRate": 7.1,
    "MarginParity": 8.0,
    "OriginalParity": 9.0,
    "SenderCustAccountId": "e9d1f41e-27c9-4e75-ae0e-db4990d3d0d3",
    "SenderCurrencyId": "de9c1e48-81c0-42d3-be67-327bfc326030",
    "ReceiverCustAccountId": "53bb9c49-71b0-4a43-9627-3e87b29538a5",
    "ReceiverCurrencyId": "112878f9-4c7d-4379-aa4f-4c2a2e0424c3",
    "KambiyoAmount": 14.0,
    "KambiyoAmountCurrencyId": "8ce3f1e7-d702-4bbe-bcdb-309a1a4bb5be"
  },
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}