Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET /settlementWindowByParam - repetition of the results #474

Closed
sri-miriyala opened this issue Sep 24, 2018 · 2 comments
Closed

GET /settlementWindowByParam - repetition of the results #474

sri-miriyala opened this issue Sep 24, 2018 · 2 comments
Assignees
Milestone

Comments

@sri-miriyala
Copy link

Priority: Medium
Env: ML AWS, v3.5.2
Tool : Postman
API : Settlements
Endpoint: GET /settlementWindowByParams
Description:
When I'm trying to validate the settlements API, for filtering the settlement windows based on params values.
Values given:
Participant Id = 1
other params not given.
Result:
Response contains multiple instances of the same settlement window. For this specific participant, I got 7 instances, which are 2 from settlementwindow ID=4, 2 from settlement window ID =5 and 4 from settlement window ID =1. All of these show multiple occurrence of the each window with same status.
The same result (multiple occurrence of the same result) if I choose, participant Id and State.
Screenshot:
screen shot 2018-09-24 at 1 22 15 am

screen shot 2018-09-20 at 12 39 17 am

Expected result:
One instance of each window for the given parameters, without repetitions.

@ggrg
Copy link
Member

ggrg commented Sep 27, 2018

Fixed!

@sri-miriyala
Copy link
Author

Tested and working as expected. Hence closed.
Request:
curl -X GET
'http://test-central-settlement.mojaloop.live/v1/settlementWindows?participantId=2'
-H 'Cache-Control: no-cache'
-H 'Postman-Token: b60adecd-b99a-4b8a-90f3-914cd1a8d766'
Response:
screen shot 2018-10-03 at 9 32 56 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants