Health Check
This endpoint verifies that the NRS FastAPI proxy service is running correctly.
Endpoint
GET /api/v1/health
Example Request
curl -X GET \
https://nrseinvoicedemo.avetiumconsult.com/api/v1/health \
-H "accept: application/json"
Response
{
"status": "ok",
"service": "eTranzact FastAPI Proxy",
"base_url": "https://firseinvoicedemo.etranzactng.com/api/v1/app/invoice/"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| status | string | Service status (e.g. ok) |
| service | string | Name of the running service |
| base_url | string | Base URL for invoice API |
Status Codes
| Code | Meaning |
|---|---|
| 200 | Service is healthy |
| 500 | Service unavailable |