evething icon indicating copy to clipboard operation
evething copied to clipboard

Fetch character name or corporation name for journal entries instead of marking them *UNKNOWN*

Open operinko opened this issue 11 years ago • 2 comments

This information is already readily available in the /char/WalletJournal.xml.aspx For character name, use ownerName1 or ownerName2 as-is. If ownerName1 or 2 = "Corporation", use the value of argName1

operinko avatar Apr 09 '13 22:04 operinko

I don't see anything like that in data for the API keys I have handy, do you have an example from actual live API pulls?

madcowfred avatar Apr 14 '13 09:04 madcowfred

I've cencored the ownerName and ID values :) But, they're there.

<row date="2013-03-24 21:24:23" refID="7235000639" refTypeID="8" ownerName1="Some username" ownerID1="123456789" ownerName2="Corporation" ownerID2="2" argName1="EVE System" argID1="1" amount="-7800000.00" balance="1313211287.49" reason="" taxReceiverID="" taxAmount=""/>

The one above shows an example of a journal entry when the recepient is EVE System.

<row date="2013-01-29 15:31:35" refID="6926971828" refTypeID="10" ownerName1="Some username" ownerID1="123456789" ownerName2="Other username" ownerID2="789456123" argName1="" argID1="0" amount="-6180049957.00" balance="1321011287.49" reason="DESC: Rhea " taxReceiverID="" taxAmount=""/>

And this one shows an example of recepient name data when the recepient is another user.

operinko avatar Apr 15 '13 07:04 operinko