These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Corp assets in citadel API

Author
Zappity
Exit-Strategy
Unchained Alliance
#1 - 2016-11-26 04:06:51 UTC  |  Edited by: Zappity
Can we pull corp assets (in offices or deliveries) in citadels from the API? I seem to remember it was broken.

Edit: can be done, see below.

Zappity's Adventures for a taste of lowsec and nullsec.

Gordonzero
Moosearmy
Test Alliance Please Ignore
#2 - 2016-11-26 13:05:55 UTC
I know that Personal and BPO assets for characters are fixed ... i would assume what ever the bug was would have fixed this problem to. I have not tested the Corp Endpoints though as i don't have any characters with that type of access right now
Zappity
Exit-Strategy
Unchained Alliance
#3 - 2016-11-28 21:37:59 UTC
I checked and the corporation AssetList does not pull citadel office assets. This is really bad. CCP, I want to move my production to ECs but cannot track what is happening by API. Please fix!

Zappity's Adventures for a taste of lowsec and nullsec.

Messenger Of Truth
Butlerian Crusade
#4 - 2016-11-29 12:25:04 UTC
Zappity wrote:
I checked and the corporation AssetList does not pull citadel office assets. This is really bad. CCP, I want to move my production to ECs but cannot track what is happening by API. Please fix!


Its possible to retrieve character assets in citadels from the XML API provided that the "flat" parameter is set to True.

Have you tried to query the corp assets API in a similar way?

Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck

Visit "Haulers Channel" in game for all matters courier-related.

Structure name/system API: stop.hammerti.me.uk/api

Zappity
Exit-Strategy
Unchained Alliance
#5 - 2016-11-29 16:14:33 UTC
Yes, that is the solution. Steve wrote on Reddit:

https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_assetlist.html


if you do the pull, and pass flat=1 along in the url

/char/AssetList.xml.aspx?characterid=something&flat=1

then it'll return it in flat form.

Just means that everything has a location id, rather than the XML being nested.

Zappity's Adventures for a taste of lowsec and nullsec.