Skip to content

Notify:QueryScan

Requests the details of a specific persistent Scan.

Controller: Notify
Topic: QueryScan
Action: Publish
Permissions: None

NameTypeExpectDescription
ScanIDStringAlwaysThe persistent Scan identifier to request the details for.
NameTypeExpectDescription
ScanIDStringAlwaysThe unique identifier of the existing Scan.
DetailsObjectAlwaysA Scan Details object for identification.
ParametersObjectAlwaysA Scan Parameters object for describing the scan rules.
NameTypeExpectDescription
NameStringAlwaysThe user-defined name for the Scan.
DescriptionStringSometimesAn optional description providing further details of the Scan.
MetadataObjectAlwaysAn user-defined object with string values.
IsWritableBooleanAlwaysTrue if the Scan can be edited, False for Read Only.
StatusStringAlwaysThe status of the Scan. One of:
Active: Scan is active. Will provide notifications and can be queried.
Inactive: Scan is inactive. Will not provide notifications, and cannot be queried.
Faulted: Scan has failed due to an error. Will not provide notifications, and cannot be queried.
NameTypeExpectDescription
TypeStringAlwaysThe scanner type.
CriteriaAnyAlwaysThe parameters of the Scan. Format depends on the type.
TargetAnyAlwaysThe targeting information for the Scan. Format depends on the type.
NotificationsArraySometimesAn array of Notification Parameters objects that describe how this Scan should notify of changes.

See Appendix J1 - Scanners for more information on scanner criteria and targets.

NameTypeExpectDescription
ChannelIDStringAlwaysThe identifier of a Notification Channel.
CultureCodeStringSometimesAn optional culture identification code. If omitted, notifications will be sent in English.
MinimumStableTimeSometimesThe minimum amount of time a Scan must match before a notification can be sent.
MinimumElapsedTimeSometimesThe minimum amount of time since the last notification before a new one can be sent.
SettingsAnySometimesAny channel-specific settings for this notification source.

See Appendix K - Distribution Channels and the Channel Controller for more information on Notification Channels and Channel settings.

Send:

{"Controller":"Notify","Topic":"QueryScan","TransactionID":1,"Data":{"ScanID":"j5Tm6X"}}

Receive:

{"Controller":"Notify","Topic":"QueryScan","TransactionID":1,"Data":{
"ScanID":"j5Tm6X",
"Details":{"Name":"Hot Indices","Metadata":{"Category":"User"},"Status":"Active"},
"Parameters":{
"Type":"Market.Monitor",
"Criteria":["IsIndex"],
"Target":["ASX[Demo]"],
"Notifications":[
{"Channel":"j5Tm6X"}
]
}
}}