Skip to content

Fragments:QueryCustomFragments

Queries for custom pieces of data

This is a legacy API and should not be used.

Controller: Fragments
Topic: QueryCustomFragments
Action: Publish
Permissions: Zenith/Market

NameTypeExpectDescription
SourceStringRequiredThe data source name.
TargetAnyRequiredThe targeting data for this data source.
FragmentsArrayRequiredAn array of Fragment Definitions defining the fragments to retrieve.
TradingDateDateTimeOptionalThe trading date to retrieve fragments for. If omitted, retrieves fragments for the current date relevant to the Target.
NameTypeDescription
NameStringRequired. The name of the Fragment in the output.
SourceStringOptional. The name of the Fragment to retrieve. If omitted, uses the Name.

This object can include extra fields, determined by the fragment being requested.

An object containing the fragment data, with the Name fields used as property names.

Send:

{
"Controller":"Fragments",
"Topic":"QueryCustomFragments",
"TransactionID":1,
"Data":
{
"Source":"Fundamentals.ShareholderHoldings",
"Target":{"Name":"CUSTODIAL SERVICES LIMITED"},
"Fragments":
[
{"Name":"Holdings","Data":"Fundamentals.TopShareholders"}
]
}
}

Receive:

{"Controller":"Fragments","Topic":"QueryCustomFragments","TransactionID":1,"Data":{"Holdings":[]}}