question

Upvotes
Accepted
1 0 0 0

extractedFileID

Is the field "extractedFileID » varialble between extraction or invariable

tick-history-rest-api
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.

Upvotes
Accepted
38.1k 71 35 53

@sarah.aoun

Yes, it is a unique ID of an extracted file.

For example, I have a scheduled extraction that runs daily. On each day, the scheduled extraction will extract data from DSS and create a report extraction. Each report extraction contains several files and each file has a unique ID.

1635759111843.png

Then, the extractedFileId can be used to get a file description (Extractions/ExtractedFiles('VjF8fDkwNzc2NTY5Mg')), and download a file (Extractions/ExtractedFiles('VjF8fDkwNzc2NTY5Mg')/$value) .


        {
            "ExtractedFileId": "VjF8fDkwNzc2NTY5Mg",
            "ReportExtractionId": "550412856",
            "ScheduleId": "0x07b1b9370a7d1892",
            "FileType": "Full",
            "ExtractedFileName": "DailyOutput20211028-170005.csv",
            "LastWriteTimeUtc": "2021-10-28T16:00:06.117Z",
            "ContentsExists": true,
            "Size": 708,
            "ReceivedDateUtc": "2021-10-28T16:00:06.117Z"
        }

1635759111843.png (57.2 KiB)
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.

Upvotes
13k 32 12 18

The REST API help shows that it is a primary key and it is unique - which make me conclude that it should not change between extractions.

It is best to contact Refinitiv support at my.refinitiv.com to get clarification from RTH content expert.


1634909045859.png


1634909045859.png (17.2 KiB)
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.

Upvotes
1 0 0 0

hi

This is a question from client how want to parameter TRTH requests via API

They want to know if they have to parameter this field one time or for daily request they have to change it.


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.

Hi Sarah,

As per my previous comment, RTH product management can provide a qualified answer. It is not too much additional code to read the ExtractedFileId from the extraction response message from server.


Upvotes
1 0 0 0

yes, but it shows that is a unique ID for this particular extraction, for new extraction, new ID must be created i guess

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.

Upvotes
1 0 0 0

many thanks for your answer , that's clear!!

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.

Click below to post an Idea Post Idea