prasanna p

prasanna p

  • 1.3k
  • 470
  • 104.2k

Web API data upload in .net core

Sep 29 2022 11:47 PM

Hi Friends,

I have date yyyy-MM-dd parameter in the api.Data available in the API daily upto 11.30PM. I am executing  api call method upto in the evening 7pm(in the office hours).I place a condition that if(database max(date))<= apidate then today date else date..Adddays(1).

again when I am running It will directly take next date.So I missed few records insertion after 7pm.Date and Timestamp fields available in the API.

Here what I need is if I am not available also whenever I am running the api the missed dates data should insert into the database without any fail.

Please tell me how to handle this requirement?