Templates Category
/ Get template categories
Get template categories
Method: GET
https://api-prod.enotifiers.com/api/V1/service/templatesCategory/allCurl code
curl --location 'https://api-prod.enotifiers.com/api/V1/service/templatesCategory/all' \
--header 'accept: application/json' \
--header 'Authorization: Basic {{Authorization}}' \
Success response details
| Parameter | Description | Example |
|---|---|---|
| status String |
Indicates the success status of the API operation |
success |
| code String |
Provides the status code indicating the success of the request. |
200 |
| message String |
A descriptive message confirming the success of the operation. |
Template categories fetched
successfully |
| data.templateCategoryName String |
The name of the template category | testing_1 |
| data.templatesList array |
An array of template names within the
category |
[ "test1","test2" ] |
| data.createdAt String |
The date and time when the category
was created |
2024-03-14 05:48:20 |
| data.modifiedAt String |
The date and time when the category
was last modified |
2024-03-20 18:35:22 |
{
"status": "success",
"code": "200",
"message": "Template categories fetched successfully.",
"data": [
{
"templateCategoryName": "testing_1",
"templatesList": [
"test",
"test_edit_test",
"test123456789",
"test_pdf",
"test_pdf1"
],
"createdAt": "2024-03-14 05:48:20",
"modifiedAt": "2024-03-20 18:35:22"
},
{
"templateCategoryName": "testing_2",
"templatesList": [
"test"
],
"createdAt": "2024-03-21 06:42:08",
"modifiedAt": "2024-03-21 06:42:08"
},
{
"templateCategoryName": "test2",
"templatesList": [
"Unnamed_69534"
],
"createdAt": "2024-03-25 07:14:32",
"modifiedAt": "2024-03-25 07:14:32"
},
{
"templateCategoryName": "string",
"templatesList": [],
"createdAt": "2024-03-29 10:23:47",
"modifiedAt": "2024-03-29 10:23:47"
},
{
"templateCategoryName": "test_4",
"templatesList": [],
"createdAt": "2024-03-29 10:26:59",
"modifiedAt": "2024-03-29 10:57:55"
},
{
"templateCategoryName": "test_3",
"templatesList": [],
"createdAt": "2024-03-29 11:25:23",
"modifiedAt": "2024-03-29 11:25:23"
}
]
}