I'm using your API to add the ability to send letters and SMS from our application.
I want to give our end offices the ability to cancel any sent scheduled letters. We're currently sending them scheduled 2 days out.
I want to allow them to cancel those scheduled ones.
Currently, i'm using the endpoint PostLettersHistoryget to pull the entire list of letters ever sent, looping it to find ones in scheduled status and then using the api to cancel those letters.
I'd really like to have a single api call that just gives me back all scheduled letters.
Or a query param on PostLettersHistoryget to specify it etc.
an api call that cancels ALL scheduled letters for a subaccount would also work.
i'm going to guess looping PostLettersHistoryget when an office has 10000 letters already sent won't be very fast.
Thanks!