- Query quote request (server ID)
Query the state of quote request by the RFS ID assigned by Integral. The response can include quotes, trades, and state of the Quote request.
Request ID assigned by Integral. Returned in requestId of the response to Request quote.
const requestId = 'G4796976d517b1786e1fa242';
const resp = await fetch(
`https://docs.fxinside.net/_mock/openapi/integral-api-reference/rest/v2/rfs/${requestId}`,
{
method: 'GET',
headers: {
SSO_TOKEN: 'YOUR_API_KEY_HERE'
}
}
);
const data = await resp.text();
console.log(data);A JSON object with the quote status. May include quotes and trades.
ID assigned by you from your request. You need to use this ID or the server ID requestId to query your request to get quotes and status.
Request ID assigned by Integral. Use this ID to accept a quote. You need to use this ID or your ID clOrderId to query your request to get quotes and status. Returned in requestId of Request quote.
Request transaction ID assigned by Integral. Must be included on quote acceptance in the RFQ workflow.
QUOTE: a quote in response to your request for quote.
- QUOTE
- REQUEST_RECEIVED
- REQUEST_EXPIRED
- REQUEST_WITHDRAWN
- REQUEST_DECLINED
- REQUEST_ACCEPTED
- TRADE_VERIFIED
- TRADE_PENDING
- TRADE_REJECTED
- QUOTE (outright)
- QUOTE (forward/forward swap)
- REQUEST_RECEIVED
- REQUEST_ACCEPTED
- TRADE_PENDING
- TRADE_VERIFIED
- REQUEST_DECLINED
- TRADE_REJECTED
- REQUEST_WITHDRAWN
- REQUEST_EXPIRED
{ "clOrderId": "rjv_566", "requestId": "G4796976d5_228bd_19587256c877", "transactionId": "FXI9445344076", "ttl": 7200, "event": "QUOTE", "quotes": [ { … } ] }