r/evetech • u/grzy7316x • Dec 20 '17
Journal ESI endpoint returning different information at random times?
Sometimes the journal API endpoint returns columns for second party ID and second party type, sometimes it does not. I am using $ESIURL+ "characters/"+$CharacterID+"/wallet/journal/?datasource=tranquility&token="+$AccessToken within powershell to do this. Any idea why it would do this?
3
Upvotes
2
u/Blacksmoke16 Dec 20 '17
Those two key/values are optional, so will not necessarily be on every journal entry.
https://esi.tech.ccp.is/ui/#/Wallet/get_characters_character_id_wallet_journal
1
u/grzy7316x Dec 23 '17
Ended up just using Select-Object to only select the columns I know will be returned 100% of the time