Get Ops Comment
Use this api get list ops comments.
Flow: When call the api, tf service return list of comments in db.
URL : /api/ops-comments/get
Params : transfer_order_id
Method : GET
Example : /api/ops-comments/get?transfer_order_id=40
Success Response
Code : 200 OK
Content example
{
"success": true,
"errors": null,
"errorCode": null,
"data": [
{
"id": 3,
"transfer_order_id": 40,
"employee_name": "Lê Bá Tiến",
"employee_id": 817993,
"note": "ABCD",
"created_at": "2023-06-12T04:37:58.000000Z"
},
{
"id": 2,
"transfer_order_id": 40,
"employee_name": "Lê Bá Tiến",
"employee_id": 817993,
"note": "Test",
"created_at": "2023-06-12T04:37:24.000000Z"
},
{
"id": 1,
"transfer_order_id": 40,
"employee_name": "Lê Bá Tiến",
"employee_id": 817993,
"note": "ops note",
"created_at": "2023-06-12T04:35:51.000000Z"
}
]
}
Empty Response
Code : 200 OK
Content :
{
"success": true,
"errors": null,
"errorCode": null,
"data": []
}