MobileApp

Create Lia Recipient List

Changed on

Function: create_lia_recipient_list Type: API Endpoint (POST)

Purpose:
Creates a new recipient list entry for a given template code and sequence.

URL:
POST /templates/create_lia_recipient_list

Headers:

  • Customer_Key (str, required): Encoded customer key for authorization.

Request Body:

  • template_data (LSLiaRecipientListRequest): The data for the recipient list, including template code, sequence, email to, email CC, email BCC, status, modified by, and modified on.

Response:

  • Returns a success message if the recipient list is created successfully.
  • Returns an error message if the customer key is invalid, the recipient already exists, or a database error occurs.

Error Handling:

  • Catches exceptions and returns a 500 error with the exception message.
post/api/MobileApp/templates/create_lia_recipient_list

Request

Headers

Customer-Keystring required

Request body

Response

Successful Response

unknown required

Changes