/
API Lifecycle Sprint 3

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

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

Old email

New Email

Hello Lisa Johnson,
Attached is your invoice.
Kind regards,
Ronald MacDonald
ronald.macdonald@qualitygoods.com.au.

Hello Lisa Johnson,
You were issued an invoice from Supplier Trading Name Ltd on 2019-07-29.
The total payable amount for this invoice is AUD 1636.14.
Please make a payment by 2019-08-30
Attached is an xml copy of your invoice.
Kind regards,
Ronald MacDonald
Supplier Trading Name Ltd
ronald.macdonald@qualitygoods.com.au

  • 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.

Related content

Stand Ups
Stand Ups
Read with this
Software Architecture Update Sprint 3
Software Architecture Update Sprint 3
Read with this
Sprint 3
Sprint 3
Read with this
Sprint Retrospective
Sprint Retrospective
Read with this
Sprint Planning
Sprint Planning
Read with this
FrontEnd
FrontEnd
Read with this