Get vaccination sessions by PIN
GET {{baseUrl}}/v2/appointment/sessions/findByPin?pincode=110001&date=31-03-2021&vaccine=COVISHIELD
API to get planned vaccination sessions on a specific date in a given pin. An optional parameter vaccine can also used to get the sessions for a specific vaccine. This paramters is used to to get the sessions for dose 2 appointment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pincode | number | (Required) | |
date | string | (Required) | |
vaccine | string | This is an optional parameter to get the sessions for a specific vaccine. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept-Language | string | The locate code of the preferred language such as en_US. The text data will be returned in the preferred language along with default English text. |
RESPONSES
status: OK
{"sessions":[{"available_capacity":50,"block_name":"Jaoli","center_id":1234,"date":"31-05-2021","district_name":"Satara","fee":"250","fee_type":"Paid","from":"09:00:00","min_age_limit":18,"name":"District General Hostpital","pincode":"413608","session_id":"72e197fa-fb0d-becb-d641-812917d42920","slots":["FORENOON","AFTERNOON"],"state_name":"Maharashtra","to":"18:00:00","vaccine":"COVISHIELD","name_l":"sed aute aliqua","state_name_l":"esse ipsum sit ut","district_name_l":"tempor","block_name_l":"exercitation ipsum sed quis","lat":28.7,"long":77.1},{"available_capacity":50,"block_name":"Jaoli","center_id":1234,"date":"31-05-2021","district_name":"Satara","fee":"250","fee_type":"Paid","from":"09:00:00","min_age_limit":18,"name":"District General Hostpital","pincode":"413608","session_id":"urn:uuid:f93ce20a-727c-bcee-e82e-8dca39fb7b22","slots":["FORENOON","AFTERNOON"],"state_name":"Maharashtra","to":"18:00:00","vaccine":"COVISHIELD","name_l":"tempor commodo aliqua pariatur","state_name_l":"ut tempor ipsum nostrud eu","district_name_l":"Ut dolor","block_name_l":"enim ex Duis do","lat":28.7,"long":77.1}]}