I am so far unable to make a time and sales extraction request... here is my request:
{
"ExtractionRequest" : {
"@odata.type" : "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TickHistoryTimeAndSalesExtractionRequest",
"Condition" : {
"ApplyCorrectionsAndCancellations" : false,
"DisplaySourceRIC" : true,
"MessageTypeStampIn" : "GmtUtc",
"QueryEndDate" : "2017-08-17T23:59:59.999Z",
"QueryStartDate" : "2017-08-17T00:00:00.000Z",
"ReportDateRangeType" : "Range"
},
"ContentFieldNames" : [
"Trade - Price",
"Quote - Volume",
"Trade - Qualifiers",
"Quote - Bid Price",
"Quote - Bid Size",
"Quote - Ask Price",
"Quote - Ask Size"
],
"IdentifierList" : {
"@odata.type" : "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers" : [
{
"Identifier" : "YBAH0",
"IdentifierType" : "Ric"
},
{
"Identifier" : "YBAH1",
"IdentifierType" : "Ric"
}
],
"UseUserPreferencesForValidationOptions" : false,
"ValidationOptions" : null
}
}
}
And the result:
Cache-Control: no-cache
Date: Thu, 17 Aug 2017 21:21:38 GMT
Pragma: no-cache
Server: Microsoft-IIS/7.5
Content-Length: 212
Content-Type: application/json; charset=utf-8
Expires: -1
Client-Date: Thu, 17 Aug 2017 21:21:39 GMT
Client-Peer: 144.77.68.230:8080
Client-Response-Num: 1
Set-Cookie: DSSAPI-COOKIE=R2154578860; path=/
X-App-Id: Custom.RestApi
X-App-Version: 11.1.558.64
X-Client-Session-Id: 0D6B21C6-8392-11E7-85E3-07437AA92012
X-Request-Execution-Correlation-Id: 0e867448-8392-11e7-85e3-07437aa92012
[2017-08-17 14:21:39] Status: 400
[2017-08-17 14:21:39] Content:
{
"@odata.context" : "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#Edm.String",
"value" : "_Zac0uKWP4l5x29-02URdsHEqc41xkcJETfuE8ureWqjLSdAs1AmS91m21pEEfavRIEMJaMuVL_YMAHgG0qOvPkkaMoE9fVqsr4XLD8VZgvZiAWcnH2ZgKvid3j6iQ39mXngAwPPIu61DbGEVXYcCYyd5_3nK-3ZCwGCE9iUgEVRNjYx1mWxBzpClLJtIXq1UpV6hBAdPjTkRRJOVEijl65ihELzXfNqax-fYUnKYnZdlFr3qsWzLNlQLwBBVV4sxrovcG_opfosUOtPA7yshUwsOgemfPgfs7yYtACLgUjA"
}