MobileApp
Get Templates
Changed onFunction: 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
- Base URLhttps://api.leapsurgebi.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
template_codestring required
Headers
Customer-Keystring required
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info