Checklist Items¶
Show¶
Required permission: ticket.agent
GET
-Request sent: /api/v1/checklist_items/{checklist item id}
Response:
# HTTP-Code 200 OK
{
"text": "Hand over the goods to the shipping company",
"checked": false,
"updated_by_id": 3,
"ticket_id": null,
"created_by_id": 3,
"checklist_id": 6,
"id": 20,
"created_at": "2024-10-15T08:48:14.216Z",
"updated_at": "2024-10-15T08:49:10.467Z"
}
Create¶
Required permission: ticket.agent
POST
-Request sent: /api/v1/checklist_items
Request:
{
"text": "New Item via API!",
"checklist_id": 12,
"checked": false
}
Response:
# HTTP-Code 200 OK
{
"id": 35,
"text": "New Item via API!",
"checked": false,
"checklist_id": 12,
"created_by_id": 3,
"updated_by_id": 3,
"created_at": "2024-10-16T08:00:35.347Z",
"updated_at": "2024-10-16T08:00:35.347Z",
"ticket_id": null
}
Update¶
Required permission: ticket.agent
PATCH
-Request sent: /api/v1/checklist_items/{checklist item id}
Request:
{
"text": "Changed checklist item",
"checked": true
}
Response:
# HTTP-Code 200 OK
{
"text": "Changed checklist item",
"checked": true,
"updated_by_id": 3,
"ticket_id": null,
"created_by_id": 3,
"checklist_id": 6,
"id": 20,
"created_at": "2024-10-15T08:48:14.216Z",
"updated_at": "2024-10-15T12:19:35.235Z"
}
Delete¶
Required permission: ticket.agent
DELETE
-Request sent: /api/v1/checklist_items/{checklist item id}
Response:
# HTTP-Code 200 OK