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 · 0 comments
Open

lastStatement #20

PSLLSP opened this issue May 3, 2018 · 0 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}"

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

1 participant