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.
 

[Help needed] Regarding API call "ContractItems" returned values

Author
Desmont McCallock
#1 - 2012-02-05 16:15:28 UTC  |  Edited by: Desmont McCallock
According to this devblog and in particular the section
Quote:
/char/ContractItems.xml.aspx: Lists items that a specified contract contains, use the contractID parameter to specify the contract. Note that items for courier contracts are not displayed. Each item in the list has the following attributes:

recordID: A unique key.
typeID: The type of the item.
quantity: The actual quantity.
rawQuantity: This attribute will only show up if the quantity is a negative number in the DB. Negative quantities are in fact codes, -1 indicates that the item is a singleton (non-stackable). If the item happens to be a Blueprint, -1 is an Original and -2 is a Blueprint Copy.
singleton: 1 if this is a singleton item, 0 if not.
included: 1 if the contract issuer has submitted this item with the contract, 0 if the isser is asking for this item in the contract.
when including a BPC in a contract the API "ContractItems" call, for the specific contract, should return, amongs the other info in the row, rawQuantity="-2" and singleton="1", right?

Well this is not the case, either in API test or production feed.
Same thing applies when including a BPO or a non-stackable (singleton= "1") item.
All items return as singleton="0".


Bug, or am I missing something obvious here?
Can anyone confirm this, before I file a bug report?