For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 2 2 6

running the same http request that was valid - getting error - could not sent request

Hi,

sometimes same json that was valid changing the token of course,

i'm keep getting the error

Could not send request - Error: socket hang up

using via fiddler composer or via visual studio everything works fine.

thanks,

Yaniv

dss-rest-apidatascope-selectdssjsonpostman
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@YD

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

Hello @YD ,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

Upvote
Accepted
79.1k 250 52 74

@YD

From the problem description, the Postman didn't work but other applications worked fine. In this case, it could not be an outage issue.

You can register to get alert notifications via MyRefinitv.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
79.1k 250 52 74

@YD

Does this problem happen in Postman?

If yes, it may relate to settings in Postman.

Please share the request that you are using so I can test it on my Postman.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
5 2 2 6

Hi Jirapongse,

Yes, its postman(as the tag shows).

Apparently entering to postman and running the query without changes worked perfectly.

Can it be that it would be related to web site Maintenance?

the reference header are:

Authontication: Token _*(given token for 24 hours)

Prefer : respond-async

Content-Type : application/json; odata=minimalmetadata

Host: selectapi.datascope.refinitiv.com

Content-length : 2496


the body content:

{

"ExtractionRequest": {

"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.CompositeExtractionRequest","ContentFieldNames": [

"User Defined Identifier",

"RIC",

"Issue PermID",

"Ticker",

"Exchange Country Code",

"Security Description",

"CUSIP",

"ISIN",

"SEDOL",

"OCC Code",

"Currency Code",

"High Price",

"Low Price",

"Ask Price",

"Bid Price",

"Universal Close Price",

"Universal Close Price Date",

"Volume",

"Average Volume - 3 Months",

"Market Capitalization - Local",

"TRBC Industry Group Code Description",

"Asset Type",

"Asset Category Description",

"Asset SubType",

"User Defined Identifier2",

"Trading Status",

"Listing Status",

"Suspend Flag",

"Asset Status",

"Volatility - 30 days",

"Industry Description",

"User Defined Identifier4",

"Mid Dirty Price",

"Net Asset Value",

"Expiration Date",

"Maturity Date",

"Factor",

"Display Factor",

"User Defined Identifier3",

"Lot Size",

"S&P Rating",

"Contributor Code",

"Index Linked Bond Index Ratio",

"Accrued Interest",

"Market Capitalization",

"Instrument ID"

],

"IdentifierList": {

"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList","InstrumentIdentifiers": [

{

"Identifier": "TMV.DEU",

"IdentifierType": "Ric",

"UserDefinedIdentifier": "111",

"Source": ""

},

{

"Identifier": "MEDV.BR�",

"IdentifierType": "Ric",

"UserDefinedIdentifier": "222",

"Source": ""

},

{

"Identifier": "APHTQ",

"IdentifierType": "Ric",

"UserDefinedIdentifier": "333",

"Source": ""

},

{

"Identifier": "DWAS.O",

"IdentifierType": "Ric",

"UserDefinedIdentifier": "444",

"Source": ""

},

{

"Identifier": "HMDR.PK�",

"IdentifierType": "Ric",

"UserDefinedIdentifier": "555",

"Source": ""

},

{

"Identifier": "NDXX11750J",

"IdentifierType": "Ric",

"UserDefinedIdentifier": "666",

"Source": ""

}

],

"ValidationOptions": {

"AllowHistoricalInstruments": true,

"AllowInactiveInstruments": true,

"AllowLimitedTermInstruments": false,

"AllowOpenAccessInstruments": true,

"AllowSubclassImport": false,

"AllowUnsupportedInstruments": true,

"ExcludeFinrAsPricingSourceForBonds": false,

"UseConsolidatedQuoteSourceForCanada": false,

"UseConsolidatedQuoteSourceForUsa": true,

"UseDebtOverEquity": true,

"UseExchangeCodeInsteadOfLipper": false,

"UseOtcPqSource": false,

"UseUsQuoteInsteadOfCanadian": false

},

"UseUserPreferencesForValidationOptions": false

},

"Condition": null

}

}



icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.