curl --request POST \
--url https://gateway.varchev.com/crypto/getExportReportStatus \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"nonce": "-20863236",
"report": "ledgers"
}'
{
"error": [],
"result": [
{
"id": "VSKC",
"descr": "my_trades_1",
"format": "CSV",
"report": "trades",
"subtype": "all",
"status": "Processed",
"flags": "0",
"fields": "all",
"createdtm": "1616669085",
"expiretm": "1617878685",
"starttm": "1616669093",
"completedtm": "1616669093",
"datastarttm": "1614556800",
"dataendtm": "1616669085",
"aclass": "forex",
"asset": "all"
},
{
"id": "TCJA",
"descr": "my_trades_1",
"format": "CSV",
"report": "trades",
"subtype": "all",
"status": "Processed",
"flags": "0",
"fields": "all",
"createdtm": "1617363637",
"expiretm": "1618573237",
"starttm": "1617363664",
"completedtm": "1617363664",
"datastarttm": "1617235200",
"dataendtm": "1617363637",
"aclass": "forex",
"asset": "all"
}
]
}
Get status of requested data exports.
curl --request POST \
--url https://gateway.varchev.com/crypto/getExportReportStatus \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"nonce": "-20863236",
"report": "ledgers"
}'
{
"error": [],
"result": [
{
"id": "VSKC",
"descr": "my_trades_1",
"format": "CSV",
"report": "trades",
"subtype": "all",
"status": "Processed",
"flags": "0",
"fields": "all",
"createdtm": "1616669085",
"expiretm": "1617878685",
"starttm": "1616669093",
"completedtm": "1616669093",
"datastarttm": "1614556800",
"dataendtm": "1616669085",
"aclass": "forex",
"asset": "all"
},
{
"id": "TCJA",
"descr": "my_trades_1",
"format": "CSV",
"report": "trades",
"subtype": "all",
"status": "Processed",
"flags": "0",
"fields": "all",
"createdtm": "1617363637",
"expiretm": "1618573237",
"starttm": "1617363664",
"completedtm": "1617363664",
"datastarttm": "1617235200",
"dataendtm": "1617363637",
"aclass": "forex",
"asset": "all"
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
OK
The response is of type object
.