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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 1 0 3

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 5.0 MiB each and 10.0 MiB total.

Upvote
Accepted
38.1k 71 35 53

@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 5.0 MiB each and 10.0 MiB total.

Upvotes
38.1k 71 35 53

@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 5.0 MiB each and 10.0 MiB total.

Upvotes
5 1 0 3

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea