POST web/Deal/DeclineQuote
Request Information
URI Parameters
None.
Body Parameters
DeclineQuote| Name | Description | Type | Additional information |
|---|---|---|---|
| entity_id | integer |
None. |
|
| module_id | string |
Required |
|
| buy_currency | IdValuePair |
None. |
|
| buy_amount | decimal number |
None. |
|
| sell_currency | IdValuePair |
None. |
|
| sell_amount | decimal number |
None. |
|
| exchange_rate | decimal number |
None. |
|
| spread_rate | decimal number |
None. |
|
| deal | IdValuePair |
None. |
Request Formats
application/json, text/json
Sample:
{
"entity_id": 1,
"module_id": "sample string 2",
"buy_currency": {
"value": "sample string 1",
"id": 2
},
"buy_amount": 3.1,
"sell_currency": {
"value": "sample string 1",
"id": 2
},
"sell_amount": 4.1,
"exchange_rate": 5.1,
"spread_rate": 6.1,
"deal": {
"value": "sample string 1",
"id": 2
}
}
application/x-www-form-urlencoded
Sample:
application/xml
Sample:
text/xml
Sample:
Response Information
Resource Description
DSOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| data | Object |
None. |
|
| code | integer |
None. |
|
| message | string |
None. |
|
| error | Error |
None. |
|
| paging | Paging |
None. |
|
| additional_codes | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"data": {},
"code": 0,
"message": "sample string 3",
"error": {
"code": 0,
"message": "sample string 1",
"target": "sample string 2",
"details": [
{
"code": 0,
"target": "sample string 1",
"message": "sample string 2"
},
{
"code": 0,
"target": "sample string 1",
"message": "sample string 2"
}
]
},
"paging": {
"page_number": 1,
"page_size": 2,
"page_from": 3,
"page_to": 4,
"record_count": 5
},
"additional_codes": "sample string 4"
}
application/xml
Sample:
text/xml
Sample: