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.

image

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


Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @vlad_deprecated_0,

    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"
            },
    ...

Answers