mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
Add endpoint to return the summary data for returned letters.
Returning the count of letters that are returned for each report date.
This commit is contained in:
@@ -942,7 +942,7 @@ def check_if_reply_to_address_already_in_use(service_id, email_address):
|
||||
)
|
||||
|
||||
|
||||
@service_blueprint.route('/returned-letter-summary')
|
||||
@service_blueprint.route('/<uuid:service_id>/returned-letter-summary', methods=['GET'])
|
||||
def returned_letter_summary(service_id):
|
||||
results = get_returned_letter_summary(service_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user