bill.created
- Triggered when a new bill is created in the systembill.completed
- Triggered when all reports in a bill are completed and the entire bill is finalizedbill.deleted
- Triggered when a bill is deleted from the systemreport.completed
- Triggered when an individual report within a bill is completedbill.completed
event is only
triggered when all reports within that bill are finished, while
report.completed
is triggered for each individual report as it gets
completed.Field | Type | Description |
---|---|---|
labID | string | Unique identifier for the laboratory |
eventType | string | Type of event (bill.created, bill.completed, bill.deleted, report.completed) |
eventTime | integer | Unix timestamp when the event occurred |
data.billID | string | Unique identifier for the bill |
data.integratorID | string | Your unique integrator ID (set when creating bill via API) |
data.billData.status | string | Current status of the bill |
data.billData.testData | array | Array of test/report data within the bill |
data.billData.testData[]._id | string | Unique identifier for each test/report |
data.billData.testData[].status | string | Status of individual test/report |
data.reportURL | string | URL to access the complete bill report |
integratorID
field contains your unique identifier that you provide when
creating a bill through the Create Bill API. This helps you correlate webhook
events with your internal records.2xx
status code to acknowledge receipt