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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 0 2 2

How to retrieve the full set of FID details available in TickHistoryRaw using the .NET API?

Hi all,


I would like to know whether it is possible to access the list of FIDs with all the details available in TickHistoryRaw reports (shown below) via the .NET API.

More specifically, I would like to find a FID number by FID name. For example, if my input string is "GV1_DATE", I would like to get the corresponding FID number, which in this case would be 1028. Is this something that can be done in C#?


Thank you and kind regards


dss-rest-apidssdatascope-selecttick-history-rest-apic#.net
1585235580242.png (25.6 KiB)
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.

1 Answer

Upvote
Accepted
31.9k 38 11 19

Hello @Vlad,

Check out GetHistoricalFidDefinitions() method in ExtractionsContext.

The naked request that can be tried in Postman tool:

{
                {protocol}}{
                {host}}{
                {api}}Extractions/GetHistoricalFidDefinitions

It returns the map, un-ordered:

...
   {
            "Code": "1",
            "Name": "[PROD_PERM] PERMISSION"
        },
...
 {
            "Code": "2",
            "Name": "[RDNDISPLAY] DISPLAYTEMPLATE"
        },
...

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.

Hi, that is exactly what I needed - thank you very much!