API Lifecycle Sprint 3
Maintaining our API
Implement new route that sends email to a specified email address (rather than extracting from the UBL.xml document)
Deprecate original routes in favor of more relevant, and clearer routes;
Old Route | New Route |
---|---|
/sendInvoice | /invoice/extract_and_send/v1 |
/emailInvoice | /invoice/send_to_email/v1 |
/createnewUser | /create/newuser |
/newSession | /session/start |
/endsession | /session/end |
/healthCheck | /health/check/v1 |
beautified extract and send to include more information extracted from the ubl document
Old email | New Email |
---|---|
Hello Lisa Johnson, | Hello Lisa Johnson, |
add new route invoice/extract_and_send/v2 which takes the xml input as a string rather than bytestream (file upload).
fixed reliability concerns with smtp disconnecting due to heroku shutdown.