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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 0 0 3

Condition: ShareAmountTypes:[FreeFloat] doesn't get the expected output

I want to specify the type of share amount. But if I use "FreeFloat" as specific value, I get "Shares Amount Type": "LIS" and not "FFL" as expected.

Consider my piece of code. I used it in postman.

Thanks for any help.

Oscar

{
	"ExtractionRequest": {
		"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.CorporateActionsStandardExtractionRequest",
		"ContentFieldNames": [
			"RIC",
			"Shares Amount Date",
			"Shares Amount",
			"Shares Amount Type"
			],
			"IdentifierList": {
				"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
				"InstrumentIdentifiers": [{
					"Identifier":"UBSG.S",
					"IdentifierType":"Ric"
				}],
				"ValidationOptions":null,
				"UseUserPreferencesForValidationOptions":false
			},
			"Condition": {
				"ReportDateRangeType":"Range",
				"QueryStartDate":"2017-01-01",
				"QueryEndDate":"2017-09-13",
				"ExcludeDeletedEvents":true,
				"IncludeSharesOutstandingEvents":true,
				"CorporateActionsSharesType":"SharesAmountDate",
				"ShareAmountTypes":["FreeFloat"]
			}
		}
}
dss-rest-apidatascope-selectdss
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.

Hello @ovill ,

I get the same results as you ("LIS").

I will try to confirm with the content group if this is the expected result.

Hi @zoya.farberov

Thanks for proving. Any news from the content group?

Opened case 05853232 to investigate

1 Answer

· Write an Answer
Upvote
Accepted
32.2k 40 11 20

The "SharesAmountType", looks like it’s dependent on the ShareAmountChoice being set to "Subset". Include "Subset" field in the request (please see the example below), to get only results with type "FFL":

{ 
"ExtractionRequest": { 
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.CorporateActionsStandardExtractionRequest", 
"ContentFieldNames": [ 
"RIC", 
"Shares Amount Date", 
"Shares Amount", 
"Shares Amount Type" 
], 
"IdentifierList": { 
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList", 
"InstrumentIdentifiers": [{ 
"Identifier":"UBSG.S", 
"IdentifierType":"Ric" 
}], 
"ValidationOptions":null, 
"UseUserPreferencesForValidationOptions":false 
}, 
"Condition": { 
"ReportDateRangeType":"Range", 
"QueryStartDate":"2017-01-01", 
"QueryEndDate":"2017-09-13", 
"ExcludeDeletedEvents":true, 
"IncludeSharesOutstandingEvents":true, 
"CorporateActionsSharesType":"SharesAmountDate", 
"ShareAmountChoice": "Subset",
"ShareAmountTypes":["FreeFloat"] 
} 
 
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.

@zoya.farberov

Many thanks. Now, it's working as expected.

Best regards,

Oscar

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.