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.
 

APIv2: Contract.xml.aspx question

Author
Zendoren
Aktaeon Industries
#1 - 2012-04-01 17:13:08 UTC
I was just looking over the API documentation here: http://wiki.eve-id.net/APIv2_Char_Contracts_XML

I noticed that the API does not return a solerSystemID as to where each contract is located but if you try to query the IGB with its contract method (CCPEVE.showContract) you are required to provide a solerSystemID.

Is there any way I can cross reference a contractID to get a solerSystemID using the static data dump or some other method/java-script function?

Thank for the help!

❒ Single ❒ Taken ✔ Playing EVE Online

CCP Guard > Where's the shoot button on this thing?

CCP Space Cadet > What's this "offline guns" button do?

Galen Kamari
The Scope
Gallente Federation
#2 - 2012-04-02 13:18:40 UTC
Zendoren wrote:
Is there any way I can cross reference a contractID to get a solerSystemID using the static data dump or some other method/java-script function?

You're not able to infer it from the stations referenced by startStationID and endStationID?

-GK
Zendoren
Aktaeon Industries
#3 - 2012-04-02 14:17:43 UTC
Galen Kamari wrote:
Zendoren wrote:
Is there any way I can cross reference a contractID to get a solerSystemID using the static data dump or some other method/java-script function?

You're not able to infer it from the stations referenced by startStationID and endStationID?

-GK


I was under the impression that startStationID and endStationID were reserved for courier contracts only and left blank otherwise. I don't know why but the 2nd time I created a new contract and called the api, startStationID and endStationID populated unlike the first time i tried.

After a little SQL-fu for cross referencing, I got my solarSystemID =D

Thanks for the reply =)

❒ Single ❒ Taken ✔ Playing EVE Online

CCP Guard > Where's the shoot button on this thing?

CCP Space Cadet > What's this "offline guns" button do?