While trying to download the list of files for an exchange I am getting different results. I am using "Prefer: odata.maxpagesize=1200; respond-async" header for the same. For IEU, NAQ,NMQ, NSQ I am not getting the entire list for last 30 days, however using the same header I am getting the entire list for other exchanges like AEX,ASQ,SES,SHH etc. We are trying to automate the download process so using odata.nextlink is a pretty difficult choice. Please help.
The request is correct. It could be the problem on the server pm 29th Sep.
However, we are unable to replicate the issue right now.
If the problem happens again, please directly contact the TRTH support via Contact Us and attach the request and retrieved response in the query.
curl -k -X GET -H 'Content-Type: application/json' -H 'Prefer: odata.maxpagesize=1200; respond-async' -H 'Accept-Charset: UTF-8' -H 'Authorization: Token _xxxx' https://10.192.6.221/RestApi/v1/StandardExtractions/UserPackageDeliveryGetUserPackageDeliveriesByPackageId%28PackageId%3D%270x04f21a8d25e59cb1%27%29
The above is the request command for NAQ exchange. The structure will remain same only the package id will get changed for other exchanges. While I run this command I am getting the correct list of file which contains last 30 days of file names. However when I ran the same on 29th Sep, I got the issue as I have mentioned earlier. Is there anything that I have missed? please suggest.