Hello. I am new to DSS REST API.
What is the difference between "/Extractions/Extract" and "/Extractions/ExtractRaw"?
I made an ExtractionRequest using both of them, without the "Prefer: respond-async" arg in the header, and with the following payload:
{"ExtractionRequest": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.TermsAndConditionsExtractionRequest",
"ContentFieldNames": [
"RIC", "Security Description", "Last Trading Day", "Expiration Date"],
"IdentifierList": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{
"Identifier": "0#CGB:",
"IdentifierType": "ChainRIC"
}
]
}
}
}
For the former, I got my results back directly. For the latter, I got back a JobId that I needed to retrieve the results from (even though I did not want "respond-async").
Is it safe to say that "/Extractions/Extract" will always return with the results? For context, I am running a cron job with only a few requests per day, so it's easier for me to not implement polling logic etc.
Thanks!
Jack