APIv2 Corp MarketOrders XML

From EVEDev
Jump to: navigation, search
Api.pngAPI Methods - Category Home - API Overview - API Page Index - API Libraries - API Wanted Features

Contents

/corp/MarketOrders.xml.aspx

Overview

Returns a list of market orders that are either not expired or have expired in the past week (at most).

Data Caching

This method is cached according to the Long Cache Style.

Input Arguments

Name Type Description
userID int userID of account for authentication.
apiKey char(64) Full access API key of account.
characterID int characterID of character with Junior Accountant, Trader or higher role in corporation.
orderID long Optional - market order ID to fetch an order that is no longer open.

Output XML

 
<?xml version='1.0' encoding='UTF-8'?>
<eveapi version="1">
  <currentTime>2007-12-02 14:55:43</currentTime>
  <result>
    <rowset name="orders" key="orderID" columns="orderID,charID,stationID,volEntered,volRemaining,minVolume,
                                                 orderState,typeID,range,accountKey,duration,escrow,price,bid,issued">
      <row orderID="5630641" charID="150208955" stationID="60010783" volEntered="2891" volRemaining="2889"
           minVolume="1" orderState="0" typeID="27351" range="32767" accountKey="1000" duration="90"
           escrow="0.00" price="325.00" bid="0" issued="2007-12-02 12:18:18" />
      <row orderID="5630643" charID="150208955" stationID="60010783" volEntered="10" volRemaining="10"
           minVolume="1" orderState="0" typeID="20418" range="32767" accountKey="1000" duration="30"
           escrow="0.00" price="435333.00" bid="0" issued="2007-12-02 13:57:02" />
      <row orderID="5630645" charID="150208955" stationID="60010783" volEntered="8" volRemaining="7"
           minVolume="1" orderState="3" typeID="5441" range="32767" accountKey="1000" duration="14"
           escrow="0.00" price="19628.00" bid="0" issued="2007-12-02 12:19:04" />
      <row orderID="5630647" charID="150208955" stationID="60010783" volEntered="7" volRemaining="0"
           minVolume="1" orderState="2" typeID="21583" range="32767" accountKey="1000" duration="14"
           escrow="0.00" price="56887.00" bid="0" issued="2007-12-02 12:19:22" />
      <row orderID="5630652" charID="150208955" stationID="60010783" volEntered="155" volRemaining="155"
           minVolume="1" orderState="0" typeID="27359" range="-1" accountKey="1000" duration="1"
           escrow="9195.56" price="250.00" bid="1" issued="2007-12-02 13:58:23" />
      <row orderID="5630653" charID="150208955" stationID="60010783" volEntered="155" volRemaining="155"
           minVolume="1" orderState="0" typeID="27359" range="0" accountKey="1000" duration="1"
           escrow="9195.56" price="250.00" bid="1" issued="2007-12-02 13:58:31" />
      <row orderID="5630654" charID="150208955" stationID="60010783" volEntered="1234" volRemaining="1234"
           minVolume="1" orderState="0" typeID="27359" range="32767" accountKey="1000" duration="1"
           escrow="73208.50" price="250.00" bid="1" issued="2007-12-02 13:58:41" />
      <row orderID="5630655" charID="150208955" stationID="60010783" volEntered="131" volRemaining="131"
           minVolume="1" orderState="0" typeID="27359" range="1" accountKey="1000" duration="1"
           escrow="7771.73" price="250.00" bid="1" issued="2007-12-02 13:58:48" />
      <row orderID="5630656" charID="150208955" stationID="60010783" volEntered="1334" volRemaining="1334"
           minVolume="1" orderState="0" typeID="27359" range="2" accountKey="1000" duration="1"
           escrow="79141.11" price="250.00" bid="1" issued="2007-12-02 13:58:56" />
    </rowset>
  </result>
  <cachedUntil>2007-12-02 15:55:43</cachedUntil>
</eveapi>
 

Output Rowset Columns

Name Type Description
orderID int Unique order ID for this order. Note that these are not guaranteed to be unique forever, they can recycle. But they are unique for the purpose of one data pull.
charID int ID of the character that physically placed this order.
stationID int ID of the station the order was placed in.
volEntered int Quantity of items required/offered to begin with.
volRemaining int Quantity of items still for sale or still desired.
minVolume int For bids (buy orders), the minimum quantity that must be sold in one sale in order to be accepted by this order.
orderState byte Valid states: 0 = open/active, 1 = closed, 2 = expired (or fulfilled), 3 = cancelled, 4 = pending, 5 = character deleted.
typeID short ID of the type (references the invTypes table) of the items this order is buying/selling.
range short The range this order is good for. For sell orders, this is always 32767. For buy orders, allowed values are: -1 = station, 0 = solar system, 1 = 1 jump, 2 = 2 jumps, ..., 32767 = region.
accountKey short Which division this order is using as its account. Always 1000 for characters, but in the range 1000 to 1006 for corporations.
duration short How many days this order is good for. Expiration is issued + duration in days.
escrow decimal How much ISK is in escrow. Valid for buy orders only (I believe).
price decimal The cost per unit for this order.
bid bool If true, this order is a bid (buy order). Else, sell order.
issued datetime When this order was issued.

Notes

Returns API Error 206 'Character must have Accountant, Junior Accountant, or Trader roles.' for characters in NPC corporations.

Personal tools