Open AdityaPimpalkar opened 3 years ago
This is an internal Api and not meant to be used for automation
@karsumit94 Thanks for replying! I am not sure I got what you said, could you elaborate?
If we are not supposed to use the /appointment/schedule API then hen how are we supposed to book the slot?
@karsumit94 Thanks for replying! I am not sure I got what you said, could you elaborate?
If we are not supposed to use the /appointment/schedule API then hen how are we supposed to book the slot?
Again, these are internal APIs and are not intended to be used by public to book slot.
By the way, let;s say even you are allowed to use these APIs, you are doing it all wrong. Please refer : https://apisetu.gov.in/public/marketplace/api/cowin/cowin-protected-v2#/
@AdityaPimpalkar @amartya-s @karsumit94 The Protected APIs can be used for production. Read the first paragraph in this page and complete ASP registration for production access.
As for your question, just check the response Vaccination Appointment APIs GET methods for example, /v2/appointment/sessions/findByPin. The response of this method contains session_id
. Need to use this session_id
.
Is anyone else getting this issue? I keep getting this same error every single time the program finds an open slot
OTP generation and validation-
Fetching my slot sessions -
Booking appointment -
I am doubtful about the value I should be passing in "session_id" parameter, should it be txnId or some other value?
Any help with would be appreciated!!