This website requires JavaScript.
Explore
Help
Sign In
darkhelm
/
notifications-api
Watch
1
Star
0
Fork
0
You've already forked notifications-api
mirror of
https://github.com/GSA/notifications-api.git
synced
2026-05-31 11:28:30 -04:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
8394f6e2d2b564352d7f2f0d482b0d1aca05bc1e
notifications-api
/
test_csv_files
/
empty.csv
2 lines
13 B
CSV
Raw
Normal View
History
Unescape
Escape
Replace placeholders before sending a message This commit replaces placeholders in a template with the user’s data, using the Template class from utils (https://github.com/alphagov/notifications-utils/tree/master/utils#template) It also extracts the personalisation data from the CSV, taking account of the different column headings that SMS and email CSVs will have. At the point of creating the task to send an individual messages, validation of the placeholders matching the template is assumed to have been done either: - in processing the CSV in the admin app - in the endpoint for the API call No exceptions should be raised at this point.
2016-02-29 14:43:44 +00:00
phone number
Reference in New Issue
Copy Permalink