fiobank icon indicating copy to clipboard operation
fiobank copied to clipboard

lastStatement

Open PSLLSP opened this issue 7 years ago • 3 comments

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}"

PSLLSP avatar May 03 '18 12:05 PSLLSP

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.

honzajavorek avatar Dec 28 '24 14:12 honzajavorek

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...

PSLLSP avatar Dec 28 '24 14:12 PSLLSP

I see, I think I misunderstood the issue. I think I can get to it while working on https://github.com/honzajavorek/fiobank/issues/32

honzajavorek avatar Dec 28 '24 15:12 honzajavorek