List technicians for a category
Technicians who can be assigned tickets in one category.
GET https://cotlet.dev/api/v1/jitbit/categories/{category_id}/technicians
read
Returns the technicians and administrators who can take tickets in the category, with ID, name and how many tickets each one has assigned. Use technician_id with assign_ticket or create_ticket. A technician who has no access to the category is not listed.
Parameters
| Name | Type | Description |
|---|---|---|
| category_id integer required | integer | Category ID from list_categories. |
Request
curl https://cotlet.dev/api/v1/jitbit/categories/1/technicians \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("jitbit", "list_technicians", {"category_id":1}) const result = await cotlet.call('jitbit', 'list_technicians', {"category_id":1}); cotlet call jitbit list_technicians --data '{"category_id":1}' Example response
{
"technicians": [
{
"technician_id": 14,
"name": "Priya Nair",
"tickets_assigned": 12
},
{
"technician_id": 9,
"name": "Sam Okafor",
"tickets_assigned": 7
}
]
}