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

lastStatement #20

Open
PSLLSP opened this issue May 3, 2018 · 3 comments
Open

lastStatement #20

PSLLSP opened this issue May 3, 2018 · 3 comments

Comments

@PSLLSP
Copy link

PSLLSP commented May 3, 2018

There is one more REST method that it is not documented in the official API documentation but it is used by official java application 'api-plus';

'lastStatement' method returns the the last statement sequence number of the year.
Examples:
https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement?year=2017
2017,12
https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement
2018,4
https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement?year=2000
null,null
https://www.fio.cz/ib_api/rest/lastStatement/{TOKEN}/statement?year=2020
null,null

Sequence numbers are used in the following REST call:
https://www.fio.cz/ib_api/rest/by-id/{TOKEN}/{YEAR}/{SEQ}/transactions.{FORMAT}"

@honzajavorek
Copy link
Owner

I'm happy to accept a PR adding this feature. If you read this and want this feature, but don't want to implement it, please use GitHub reactions to vote for this feature, so that I know it's something worth investing time into.

@PSLLSP
Copy link
Author

PSLLSP commented Dec 28, 2024

This issue is related to documentation, important API feature was not documented and was found by reverse engendering... Please, fix the documentation. I am not sure about situation in 2024, issue was opened in 2018...

@honzajavorek
Copy link
Owner

I see, I think I misunderstood the issue. I think I can get to it while working on #32

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

2 participants