For a deeper look into our DataScope Select SOAP 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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
23k 22 9 14

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

@zoya.farberov

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

Best regards,

Oscar

Click below to post an Idea Post Idea