question

Upvotes
Accepted
1 0 1 1

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 512.0 KiB each and 1.0 MiB total.

hi @sarah.aoun ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

Upvotes
Accepted
79.1k 250 52 74

@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 512.0 KiB each and 1.0 MiB total.

Upvotes
22.1k 59 14 21

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 512.0 KiB each and 1.0 MiB total.

Upvotes
1 0 1 1

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 512.0 KiB each and 1.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 1 1

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 512.0 KiB each and 1.0 MiB total.

Upvotes
1 0 1 1

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.