OpenBankProject / OpenBankProject/OBP-API
to_date and from_date are working in getTransactions
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 482
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
I tested it it works well locally, but in all our sandbox it is not...
curl --request GET \
--url http://127.0.0.1:8080/obp/v3.0.0/banks/gh.29.uk/accounts/8ca8a7e4-6d02-48e3-a029-0b2bf89de9f0/owner/transactions \
--header 'Authorization: DirectLogintoken=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyIiOiIifQ.plUgi_AdZnSt97hTQLdpdg_eGYISNjyODh5n8nC1EeE\"' \
--header 'Content-Type: application/json' \
--header 'obp_from_date: 2001-07-01T00:00:00.000Z' \
--header 'obp_limit: 2' \
--header 'obp_offset: 1' \
--header 'obp_sort_direction: ASC' \
--header 'obp_to_date: 2017-07-01T00:00:00.000Z'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the API Explorer link and reproduce the provided curl request against a sandbox, then compare it with the reported local behavior. Done means the obp_from_date and obp_to_date headers work consistently in sandbox environments for the getCoreTransactionsForBankAccount endpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100