GET api/Payment/GetQuoteByBeneficiery?beneficieryId={beneficieryId}&Currency={Currency}&amount={amount}&doSave={doSave}&ocrId={ocrId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| beneficieryId | globally unique identifier |
Required |
|
| Currency | string |
Required |
|
| amount | decimal number |
Required |
|
| doSave | boolean |
Default value is False |
|
| ocrId | globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
QuoteViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| QuoteId | globally unique identifier |
None. |
|
| Spot | decimal number |
None. |
|
| Charge | decimal number |
None. |
|
| ChargeCurrency | string |
None. |
|
| Send | decimal number |
None. |
|
| SendCurrency | string |
None. |
|
| CostList | Collection of Pair of string [key] and decimal number [value] |
None. |
|
| NecessaryFiles | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"quoteId": "cbdf7f6a-3e04-4bce-808d-2fa8fe6c380a",
"spot": 1.0,
"charge": 1.0,
"chargeCurrency": "sample string 2",
"send": 1.0,
"sendCurrency": "sample string 3",
"costList": [
{
"Key": "sample string 1",
"Value": 2.0
},
{
"Key": "sample string 1",
"Value": 2.0
}
],
"necessaryFiles": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<QuoteViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EvenEdgeService.Models">
<Charge>1</Charge>
<ChargeCurrency>sample string 2</ChargeCurrency>
<CostList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d2p1:KeyValuePairOfstringdecimal>
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value>2</d2p1:value>
</d2p1:KeyValuePairOfstringdecimal>
<d2p1:KeyValuePairOfstringdecimal>
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value>2</d2p1:value>
</d2p1:KeyValuePairOfstringdecimal>
</CostList>
<NecessaryFiles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</NecessaryFiles>
<QuoteId>cbdf7f6a-3e04-4bce-808d-2fa8fe6c380a</QuoteId>
<Send>1</Send>
<SendCurrency>sample string 3</SendCurrency>
<Spot>1</Spot>
</QuoteViewModel>