API reference/REST API//
- Query quote request (client ID)
Request quote
Query quote request (server ID)
Accept quote
Withdraw quote request
Query quote request (clie...
Query the state of quote request by the RFS ID clOrderId assigned by you when you sent the request. The response can include quotes, trades, and state of the Quote request.
Security
SSO_TOKEN
GET
const query = new URLSearchParams({
clOrderId: 'view1MultiLP5'
}).toString();
const resp = await fetch(
`https://docs.fxinside.net/_mock/openapi/integral-api-reference/rest/v2/rfs?${query}`,
{
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.
Enum:"QUOTE""REQUEST_RECEIVED""REQUEST_EXPIRED""REQUEST_WITHDRAWN""REQUEST_DECLINED""REQUEST_ACCEPTED""TRADE_VERIFIED""TRADE_PENDING""TRADE_REJECTED"
Discriminator
Response
- QUOTE
- REQUEST_RECEIVED
- REQUEST_EXPIRED
- REQUEST_WITHDRAWN
- REQUEST_DECLINED
- REQUEST_ACCEPTED
- TRADE_VERIFIED
- TRADE_PENDING
- TRADE_REJECTED
- QUOTE (outright)
- QUOTE (forward/forward swap)
- TRADE_VERIFIED
- REQUEST_RECEIVED
- REQUEST_ACCEPTED
- REQUEST_DECLINED
- TRADE_REJECTED
- REQUEST_WITHDRAWN
- REQUEST_EXPIRED
{ "clOrderId": "rjv_566", "requestId": "G4796976d5_228bd_19587256c877", "transactionId": "FXI9445344076", "ttl": 7200, "event": "QUOTE", "quotes": [ { … } ] }