Hello,
Im trying to run the example request for
SymbolCrossReferenceExtractionRequest
but im getting the following error: {"error":{"message":"No permission for template \"SymbolCrossReferenceReportTemplate\"."}}
My user can access the UI and see the data im trying to request but it just gets the permission denied from the api. Whats wrong?
I attached the code in python below
extraction_url = "https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractWithNotes"
extraction_data = json.dumps(
{
"ExtractionRequest": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.SymbolCrossReferenceExtractionRequest",
"ContentFieldNames": [
"Quote ID",
"Asset Type",
"Asset Type Description",
"Security Description",
"Instrument ID",
"Instrument ID Type",
"Reuters Editorial RIC"
],
"IdentifierList": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{
"Identifier": "IBM.N",
"IdentifierType": "Ric"
}
],
"UseUserPreferencesForValidationOptions": False
},
"Condition": {
"IdentifierTypes": [
"Ric",
"Sedol",
"Cusip",
"Wertpapier",
"Valoren"
],
"DaysAgo": 14,
"AllXRefIdentifierTypes": True
}
}
}
)
headers = {
'Authorization': 'Token <token>',
'Content-Type': 'application/json'}
response = requests.request("POST", url=extraction_url, headers=headers, data=extraction_data)