Skip to main content

Templates Category / Get single template category

Get single template category

Method: GET

https://api-prod.enotifiers.com/api/V1/service/templatesCategory/details?category_name=test_3

Request details

API Parameters
Parameter Description Example
category_name
string
The name of the template category fetched test_3

Curl code

Tabbed Interface
curl --location 
          'https://api-prod.enotifiers.com/api/V1/service/templatesCategory/details?category_name=test_3' \
            --header 'accept: application/json' \
            --header 'Authorization: Basic {{Authorization}}' \ 
        

Success response details

API Parameters
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 category test_3 fetched successfully
data.templateCategoryName
String
The name of the template category test_3
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 category test_3 fetched successfully.",
    "data": {
        "templateCategoryName": "test_3",
        "templatesList": [],
        "createdAt": "2024-03-29 11:25:23",
        "modifiedAt": "2024-03-29 11:25:23"
    }
}

Failure response details

API Parameters
Parameter Description Example
status
String
Indicates the overall status
of the API request.
failed
code
String
Provides the HTTP status code
corresponding to the failure.
400
message
String
Provides the reason for the error Template category 'test' not found
data.error
String
Specific error message providing
more context about the issue.
Null
{
    "status": "failed",
    "code": "400",
    "message": "Template category test not found.",
    "data": {
        "error": null
    }
}
Document

Policy

Terms of Use

policy

© 2024 E-Notifiers. All rights reserved.