POST /RestApi/v1/Authentication/RequestToken HTTP/1.1 Host: hosted.datascopeapi.reuters.com Accept: */* Prefer: respond-async Content-Type: application/json; odata=none Content-Length: 80 { "Credentials": { "Username": "", "Password": "" } } --- Server replies: HTTP/1.1 200 OK Set-Cookie: DSSAPI-COOKIE=R3479498792; path=/ Cache-Control: no-cache Pragma: no-cache Content-Type: application/json; charset=utf-8 Expires: -1 Server: Microsoft-IIS/7.5 X-Request-Execution-Correlation-Id: 94e6105d-5981-4d04-8cfc-f7aaed6b19e3 X-App-Id: Custom.RestApi X-App-Version: 11.0.492.64 Date: Fri, 16 Jun 2017 13:23:52 GMT Content-Length: 403 {"@odata.context":"https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#Edm.String","value":"_wRZWurwNK1qL4mSQxulsoKQHWOZIjbszJ1Q1JsP1TdVu7GNcY9yKgLRYyH-XQJsJKfZgTOwJN42HbZUgMK8Y-HAY7u3u11tzkzLpGBLx2oG9zShqgrNM7LDpBGGckrRtl_olKuols_h-30LSuLI4Q10RJOG-dx3njSqLNXLKBVavkpLKcqJ9YWd0hyKEAykF0eQX4RF-IvW5jyf7DGVwFccFIqg2xL8ZrsFUZ1xNixEzxMTZJQoy7qzrq3En5EEtv3NswtnOH6UWjHJX8Do0J2r1alJyCR2TidK_V6qb6dc"} --- Client sends: POST /RestApi/v1/Extractions/ExtractRaw HTTP/1.1 Host: hosted.datascopeapi.reuters.com Cookie: DSSAPI-COOKIE=R3479498792 Authorization: Token <"_wRZWurwNK1qL4mSQxulsoKQHWOZIjbszJ1Q1JsP1TdVu7GNcY9yKgLRYyH-XQJsJKfZgTOwJN42HbZUgMK8Y-HAY7u3u11tzkzLpGBLx2oG9zShqgrNM7LDpBGGckrRtl_olKuols_h-30LSuLI4Q10RJOG-dx3njSqLNXLKBVavkpLKcqJ9YWd0hyKEAykF0eQX4RF-IvW5jyf7DGVwFccFIqg2xL8ZrsFUZ1xNixEzxMTZJQoy7qzrq3En5EEtv3NswtnOH6UWjHJX8Do0J2r1alJyCR2TidK_V6qb6dc"> Content-Type: application/json Prefer: respond-async Content-Length: 634 { "ExtractionRequest": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TickHistoryRawExtractionRequest", "ContentFieldNames": [ ], "IdentifierList": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList", "InstrumentIdentifiers": [ { "Identifier": "EBAY.O", "IdentifierType": "Ric" } ], "ValidationOptions": null, "UseUserPreferencesForValidationOptions": false }, "Condition": { "MessageTimeStampIn": "GmtUtc", "ReportDateRangeType": "Range", "QueryStartDate": "2017-06-13T20:00:00.000Z", "QueryEndDate": "2017-06-13T23:59:59.999Z", "DisplaySourceRIC": true } } } --- Server replies: HTTP/1.1 401 Unauthorized Set-Cookie: DSSAPI-COOKIE=R3479498792; path=/ Cache-Control: no-cache Pragma: no-cache Content-Type: application/json; charset=utf-8 Expires: -1 Server: Microsoft-IIS/7.5 WWW-Authenticate: Basic X-Request-Execution-Correlation-Id: 05b64255-b308-4e18-9111-c2de8eccfc94 X-App-Id: Custom.RestApi X-App-Version: 11.0.492.64 Date: Fri, 16 Jun 2017 13:46:10 GMT Content-Length: 51 {"error":{"message":"Invalid Authorization Token"}}