Configuring certificates
Last updated
[
{
"preEnrollmentCode": "62",
"recipient": {
"name": "Sam",
"uhid": "abc2232",
"dob": "1990-09-14",
"age": "31",
"gender": "Male",
"nationality": "India",
"identity": "did:in.gov.uidai.aadhaar:11112222334",
"contact": [
"tel:1111111313"
],
"address": {
"addressLine1": "123, Koramangala",
"addressLine2": "",
"district": "Bengaluru South",
"state": "bihar",
"pincode": "560033"
}
},
"vaccination": {
"name": "covaxin",
"batch": "AB348FS",
"manufacturer": "Bharat Biotech",
"date": "2021-07-12T19:21:19.646Z",
"effectiveStart": "2021-07-12",
"effectiveUntil": "2021-08-12",
"dose": 2,
"totalDoses": 2
},
"vaccinator": {
"name": "Sooraj Singh"
},
"facility": {
"name": "ABCD Medical Center",
"address": {
"addressLine1": "123, Koramangala",
"addressLine2": "",
"district": "Bengaluru South",
"state": "Karnataka",
"pincode": "560033"
}
},
"programId": "6ce74c0f-b1b5-4b20-9fa2-084acbbd857a",
"meta": { //Meta section stored as an Object and it can contain information in Key value pair
}
}
]\// /v3/certify:
post:
tags:
- certification
summary: Certify the one or more vaccination
description: >-
Certification happens asynchronously, this requires vaccinator
authorization and vaccinator should be trained for the vaccination that
is being certified. The payload for this API is compliant with DDCC core
data set prescribed by WHO
operationId: certifyV3
parameters:
- in: body
name: body
required: true
schema:
type: array
items:
$ref: '#/definitions/CertificationRequestV2' //Refer Line 722 in same file
responses:
'200':
description: OK
'400':
description: Invalid input
schema:
$ref: '#/definitions/Error'