MobileApp

Update Lia Recipient List

Changed on

Function: update_lia_recipient_list Type: API Endpoint (POST)

Purpose:
Updates the recipient list for a given template code using delete and insert approach.

Headers:

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

Request Body:

  • data (List[LSLiaRecipientListData], required): The recipient list data.

Response:

  • Returns a success message if the recipient list is updated successfully.
  • Returns an error message if the customer key is invalid, the template code is invalid, or a database error occurs.

Error Handling:

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

Request

Headers

Customer-Keystring required

Request body

Response

Successful Response

unknown required

Changes