Event Notification clients
Submitting full or partial event applications into OpenCRVS from an external service such as a health institution or public portal.
Last updated
POST /api/events/events
Content-Type: application/json
Authorization: Bearer {{token}}
{
"type": "v2.birth",
"transactionId": "{{uuid}}",
"dateOfEvent": {
"fieldId": "child.dob"
}
}POST /api/events/events/notifications
Content-Type: application/json
Authorization: Bearer {{token}}
{
"eventId": "{{eventId}}",
"transactionId": "{{uuid}}",
"declaration": {
"child.firstname": "Jane",
"child.surname": "Doe",
"child.dob": "{{yyyy-MM-dd}}"
},
"annotation": {},
"createdAtLocation": "{{officeId}}", // Retrievable from the location API - See "APIs for system administrators"
"type": "NOTIFY"
}