Skip to content

[Reports] Add recent activity receipt search endpoint #563

Description

@StuartFerguson

Related work

This issue supports the mobile report work tracked in TransactionProcessorACL issue #708.

Goal

Expose a reporting endpoint for recent activity receipts that supports the mobile app's search screen.

Requirements

  • Accept a single report date only. Do not allow a multi-day range.
  • Support pagination with page number and page size.
  • Support optional free-text search.
  • Return results sorted by transaction date/time descending.
  • Return only the fields needed by the mobile UI:
    • reference
    • transaction type
    • product
    • operator
    • status
    • amount
    • transaction date/time
    • receipt reference
  • Return paging metadata so the client can render previous/next state.

Suggested request DTO

  • ReportDate
  • SearchText?
  • PageNumber
  • PageSize

Suggested response DTO

  • ReportDate
  • PageNumber
  • PageSize
  • TotalCount
  • Items[]

Acceptance criteria

  • A request for a given date returns only transactions on that date.
  • Search is applied before paging.
  • Results are ordered descending by transaction date/time.
  • The response is suitable for the mobile activity report screen without extra client-side reshaping.

Notes

  • Receipt resend is tracked separately in a different issue.

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions