MobileApp
Create Lia Recipient List
Changed onFunction: 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
- 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.
Headers
Customer-Keystring required
Request body
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info