GET /v2/api/entity/unit_template/list.data[] alongside pagination metadata (current_page, per_page, total, last_page, from, to, links, and the *_page_url fields). The default page size is 20; use ?page=N to move between pages and ?per_page=N to change the page size. Filtering and sorting use the shared v2 listing grammar (filter[<field>][<operator>]=…, sort[<field>]=asc|desc).data[] row carries the template's own fields (id, template_name, active, main_unit_name, unit_small_name, created, modified, branch_id, staff_id) plus the embedded branch and staff records. The list does not include the unit-factor sub-rows — call Get Single Unit Template to read a template's unit_templates_unit_factors./unit_template/list/1); it can be omitted for the default detail level.curl --location --globoff 'https://.daftara.com/api2/unit_template/list' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"current_page": 1,
"data": [
{
"id": 2,
"template_name": "Weight",
"active": 1,
"main_unit_name": "gram",
"unit_small_name": "g",
"created": "string",
"modified": "string",
"branch_id": 0,
"staff_id": 0,
"branch": {
"id": 0,
"name": "string",
"status": 0,
"created": "string",
"modified": "string"
},
"staff": {}
}
],
"first_page_url": "string",
"from": 0,
"last_page": 0,
"last_page_url": "string",
"links": [
{
"url": "string",
"label": "string",
"page": 0,
"active": true
}
],
"next_page_url": "string",
"path": "string",
"per_page": 20,
"prev_page_url": "string",
"to": 0,
"total": 2
}