MobileApp

Function: get_templates Type: API Endpoint (GET)

Purpose:
Retrieves the template details for a given template code.

Headers:

  • Customer_Key (str, required): The customer key.
  • template_code (str, required): The template code.

Response:
A JSON response containing the template details, including the template name, application code, format, email subject, email CC, email BCC, email body, modified by, and modified on.

Exceptions:

  • Raises HTTPException with a 400 status code if the customer key is invalid.
  • Raises HTTPException with a 400 status code if the template code is invalid.
  • Raises HTTPException with a 500 status code in case of any internal error.
get/api/MobileApp/templates/get_templates

Request

Query parameters

template_codestring required

Headers

Customer-Keystring required

Response

Successful Response

unknown required

Changes