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.
 

ContractItems.xml

Author
SJ Astralana
Syncore
#1 - 2014-10-11 06:14:15 UTC
I've found documentation and a blog saying that ContractItems.xml should return a list of items for a contract; however I can't find any indication that it works, nor that it's used by other 3rd party developers.

Typing the relevant url into the web browser returns Invalid or missing contractId after a redirect and a bad request are logged in F12. In comparison, all other api calls I've so far used have always been browsable.

Hyperdrive your production business: Eve Production Manager

Desmont McCallock
#2 - 2014-10-11 07:11:46 UTC  |  Edited by: Desmont McCallock
If you are an EVEMon user use the API Tester tool. It also presents the url syntax for each API call.
SJ Astralana
Syncore
#3 - 2014-10-11 10:19:49 UTC
Desmont McCallock wrote:
If you are an EVEMon user use the API Tester tool. It also presents the url syntax for each API call.


That was helpful, thank you. EveMon returns a 400 which is what I've been getting.

Hyperdrive your production business: Eve Production Manager

Desmont McCallock
#4 - 2014-10-11 12:47:36 UTC
You need to pass a ContractID in the ContractItems call, which you get from the Contracts call.
SJ Astralana
Syncore
#5 - 2014-10-11 12:49:02 UTC
Desmont McCallock wrote:
You need to pass a ContractID in the ContractItems call, which you get from the Contracts call.


Which I did in my code, and using EveMon. At this point I'm interested in finding a confirmation that it works at all, today.

Hyperdrive your production business: Eve Production Manager

Pete Butcher
The Scope
Gallente Federation
#6 - 2014-10-11 12:49:30 UTC
Evernus uses the contract api and it works fine.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Desmont McCallock
#7 - 2014-10-11 13:36:58 UTC
SJ Astralana wrote:
Desmont McCallock wrote:
You need to pass a ContractID in the ContractItems call, which you get from the Contracts call.


Which I did in my code, and using EveMon. At this point I'm interested in finding a confirmation that it works at all, today.
Please don't tell me that you are trying to see the ContracItems of a courier contract, cause those are not returned in the API (afaik).
SJ Astralana
Syncore
#8 - 2014-10-12 00:08:24 UTC
Desmont McCallock wrote:
SJ Astralana wrote:
Desmont McCallock wrote:
You need to pass a ContractID in the ContractItems call, which you get from the Contracts call.


Which I did in my code, and using EveMon. At this point I'm interested in finding a confirmation that it works at all, today.
Please don't tell me that you are trying to see the ContracItems of a courier contract, cause those are not returned in the API (afaik).


Ah :) So ContractItems is for Exchange/Auction contracts. In a way that makes sense, as silly as the distinction is.

Hyperdrive your production business: Eve Production Manager