https://poc.eccolabphlebio.com
All API requests must include a Bearer Token in the Authorization header.
Authorization: Bearer YOUR_API_TOKEN Content-Type: application/json Accept: application/json
POST/api/icare/store-data
https://poc.eccolabphlebio.com/api/icare/store-data
{
"emr_order_id": "ORD-A1B2C3",
"event_type": "appointment_booked",
"appointment_date": "2026-06-10",
"appointment_time": "14:30:00",
"phlebio_appointment_id": "PHL-98765"
}
{
"code": 200,
"isSuccess": true,
"message": "Successfully saved in jsonrecord table as order_1650.json"
}
{
"code": "EMPTY_REQUEST_BODY",
"message": "The request body is empty. Please provide a valid JSON payload.",
"data": null,
"success": false
}
{
"status": false,
"message": "Unauthorized"
}
Returns available technicians for next business days.
GET /api/icare/technicianavailablelist
https://poc.eccolabphlebio.com/api/icare/technicianavailablelist
Authorization: Bearer YOUR_API_TOKEN Accept: application/json
| Field | Description |
|---|---|
| event_type | appointment_available |
| appointment_date | Date technician is available |
| appointment_time | Available technician time frame |
| technician_name | Technician name |
| technician_phone | Technician phone number |
| technician_emp | Unique technician employee identifier |
{
"code":200,
"isSuccess":true,
"technicianavailablelist":[
{
"event_type":"appointment_available",
"appointment_date":"06/26/2026",
"appointment_time":"08:30 AM-03:00 PM",
"technician_name":"PHLEBIO APPTEST",
"technician_phone":"555-222-3333",
"technician_emp":"1234567890"
},
{
"event_type":"appointment_available",
"appointment_date":"06/26/2026",
"appointment_time":"03:00 PM-09:30 PM",
"technician_name":"PHLEBIO APPTEST",
"technician_phone":"555-222-3333",
"technician_emp":"1234567890"
}
]
}
{
"code":404,
"isSuccess":false,
"message":"No technician found.",
"technicianavailablelist":[]
}
| HTTP Code | Meaning | Example Body |
|---|---|---|
| 200 | Successfully processed | {
"code": 200,
"isSuccess": true,
"message": "Successfully saved in jsonrecord table as order_1650.json"
} |
| 400 | Bad request — missing Json data or invalid payload | {
"code": "EMPTY_REQUEST_BODY",
"message": "The request body is empty. Please provide a valid JSON payload.",
"data": null,
"success": false
} |
| 401 | Unauthorized — missing or invalid Bearer token | {
"status": false,
"message": "Unauthorized"
} |
| 404 | Not Found | {
"code": 404,
"isSuccess": false,
"message": "No technician found.",
"technicianavailablelist": []
} |
| 422 | Unknown Unprocessable Entity for Invalid input in Json Data Validation/security errors |
{
"code": "INVALID_JSON_PAYLOAD",
"message": "Invalid JSON payload.",
"data": null,
"success": false
}
{
"code": "INVALID_PAYLOAD",
"message": "Invalid input: HTML content is not allowed at Resource",
"data": null,
"success": false
}
{
"code": "INVALID_PAYLOAD",
"message": "Invalid input: Malicious content detected at Resource",
"data": null,
"success": false
}
|
| 500 | Internal server error — retry with exponential backoff | {"success": false, "error": "Internal server error"} |