APIv2 Corp StarbaseList XML

From EVEDev

Jump to: navigation, search
Image:Api.pngAPI Methods - Category Home - API Libraries - API Usage Examples - API Method Reference - API Page Index

Contents

[edit] /corp/StarbaseList.xml.aspx

[edit] Overview

Shows the list and states of POS'es.

[edit] Data Caching

This method is cached according to the Short Cache Style (6 hours).

[edit] Input Arguments

Name Type Description
userID int userID of account for authentication.
characterID int CharacterID of character for authentication with Director or CEO access.
apiKey char(64) Full access API key of account.
version int Version of the API we're calling, needs to be 2.

[edit] Output XML

 
<?xml version='1.0' encoding='UTF-8'?>
<eveapi version="1">
  <currentTime>2007-12-02 19:52:12</currentTime>
  <result>
    <rowset name="starbases" key="itemID" columns="itemID,typeID,locationID,moonID,state,stateTimestamp,onlineTimestamp">
      <row itemID="150354725" typeID="12235" locationID="30000380" moonID="40023754"
           state="4" stateTimestamp="0001-01-01 00:00:00" onlineTimestamp="2007-08-06 13:43:16" />
      <row itemID="150354773" typeID="20059" locationID="30001984" moonID="40126738"
           state="1" stateTimestamp="0001-01-01 00:00:00" onlineTimestamp="0001-01-01 00:00:00" />
      <row itemID="150357658" typeID="12235" locationID="30001984" moonID="40126713"
           state="1" stateTimestamp="0001-01-01 00:00:00" onlineTimestamp="0001-01-01 00:00:00" />
      <row itemID="150318232" typeID="16286" locationID="30003109" moonID="40197483"
           state="4" stateTimestamp="0001-01-01 00:00:00" onlineTimestamp="2007-05-23 16:54:43" />
    </rowset>
  </result>
  <cachedUntil>2007-12-03 01:52:12</cachedUntil>
</eveapi>
 

[edit] Output Rowset Columns

Name Type Description
itemID int Unique ID for this POS. This is used to request details via the StarbaseDetail API page.
typeID int Type ID. References the invTypes table.
locationID int Solar system ID. References the mapSolarSystems and mapDenormalize tables.
moonID int Celestial object ID. References the mapDenormalize table.
state int Mode of the POS. See Known POS States, below.
stateTimestamp date string Depends on the state. See Known POS States, below.
onlineTimestamp date string When the POS will be online or most recently was put online (see Known POS States, below).

[edit] Known POS States

State Name Notes
0 Unanchored Also unanchoring? Has valid stateTimestamp. Note that moonID is zero for unanchored Towers, but locationID will still yield the solar system ID.
1 Anchored / Offline No time information stored.
2 Onlining Will be online at time = onlineTimestamp.
3 Reinforced Until time = stateTimestamp.
4 Online Continuously since time = onlineTimestamp.

[edit] Notes

Returns API error 209 'Character must be a Director or CEO.' for character in NPC Corporation.

Personal tools