OpenBankProject / OpenBankProject/OBP-API

to_date and from_date are working in getTransactions

Open
#1,033 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.7k
Forks
482
Avg merge
1d 12h
Merged PRs (30d)
15

Description

https://apiexplorersandbox.openbankproject.com/?ignoredefcat=true&tags=#vv3_0_0-getCoreTransactionsForBankAccount

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.