Khôi Phục Công Việc
Endpoint
- URL:
/api/v6.1/task/restore
- Phương thức:
POST
Tiêu đề yêu cầu (Request Headers)
Content-Type: application/json
X-API-KEY: <your_api_key>
Dữ liệu yêu cầu (Request Body)
Trường | Kiểu dữ liệu | Mô tả |
---|---|---|
task_code | string | Mã công việc cần khôi phục. |
{
"task_code": "Task.0002[UP]"
}
Ví dụ Request
curl --location 'https://xxxxx.getflycrm.com/api/v6.1/task/restore' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <your_api_key>' \
--data '{
"task_code": "Task.0002[UP]"
}'
Phản hồi (Response)
{
"message": "Khôi phục công việc thành công",
"data": {
"task_code": "Task.0002[UP]"
}
}