We are under going audit and as per audit requirement we have to demonstrate that data we receive from Refinitiv is complete.
To do that we need to validate checksum/md5/hash( or any equivalent algorithm ) that is sent by source along with response.
So we wanted to know if Refinitiv apis provide any of the above information in their responses which we can validate at our end.
API : https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractWithNotes
************************
So i referred few FAQs from developer's portal about MD5.
Also checked in DSS REST API help page which says the below.
MD5 Checksum
Most Standard Solutions downloaded streams will have a corresponding MD5 checksum value that can be used to ensure that the stream was transmitted completely without any dropped bytes. A 3rd part tool will be required to generate a checksum value on the stream that was downloaded. Once generated, the 2 checksum values will need to be compared. If they are the same, your download was successful. The checksum value can be found in the "ContentMd5" property of the stream.
**********************
So, I looked at the documentation and links provided here.
This md5 checksum is only available if we are streaming files.
But our case we are calling the rest API ( https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractWithNotes) which currently sends only following headers in response.
HTTP/1.1 200 OK [Cache-Control: no-cache, Pragma: no-cache, Content-Type: application/json; charset=utf-8, Expires: -1, Server: Microsoft-IIS/7.5, BeginRequestTime: 07:54:45.9757961, BeginRequestDate: 2024-08-02, X-Request-Execution-Correlation-Id: CiD/9023395/AAAAAA.090840daae3a21b9/RA, X-App-Id: Custom.RestApi, X-App-Version: 18.1.112.64, CPUUtilization: 23.95272, RequestsPerSec: 16.90911, W3WP-PrivateBytes: 1134268, Date: Fri, 02 Aug 2024 07:54:49 GMT, Content-Length: 2819] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 2819,Chunked: false]}
Could md5 checksum be set in api response header too?