InventoryGet

Last update: 2017-10-30
A service that returns a list of items with their last or soldto Bidder ID.

WEBSERVICE : http://webservices.vortexauction.com/functions.cfc?wsdl METHOD : InventoryGet ARGUMENT : AUCTIONEER_ID [Numeric] Required | Your auctioneer ID AUCTION_ID [Numeric] Required | Your auction ID ACCESS_KEY [String] Required | Your web service access key ITEM_ID [Numeric] Optional | An item ID EXTERNAL_ITEM_ID [Numeric] Optional | An external item ID LOT_NUMBER [Numeric] Optional | An lot number RUN_NUMBER [Numeric] Optional | An run number STATUS [Numeric] Optional | One the following values status = 1 all item (default) status = 2 all sold item status = 3 all no sale item status = 4 all PENDING item
RETURNS : InventoryGetResponse ON FAILURE : <?xml version="1.0" encoding="utf-8"?> <InventoryGetResponse> <Error> <Code>[Error code]</Code> <Message>[Error message]</Message> </Error> </InventoryGetResponse> ON SUCCESS : <?xml version="1.0" encoding="utf-8"?> <InventoryGetResponse> <ItemList> <Item> <ID>[Item ID]</ID> <LOT_NUMBER>[LOT number]</LOT_NUMBER> <RUN_NUMBER>[Run number]</RUN_NUMBER> <SALE_RESULT>[Bidder id]</SALE_RESULT> <TIME_ITEM_SOLD>[Time stamp]</TIME_ITEM_SOLD> <TIME_ITEM_ENDED>[Time stamp]</TIME_ITEM_ENDED> <ITEM_SOLD_PRICE>[SalePrice]</ITEM_SOLD_PRICE> </Item> ... </ItemList> </InventoryGetResponse>
ERROR CODES: 00 = An unexpected error occured. 01 = Missing or invalid arguments. 02 = Invalid auctioneer id and/or access key. 03 = Could not find specified auction. 04 = Could not find specified item.
EXAMPLES : COLDFUSION : <cfinvoke webservice="http://webservices.vortexauction.com/functions.cfc?wsdl" method="InventoryGet" returnvariable="result"> <cfinvokeargument name="Auctioneer_ID" value="0" /> <cfinvokeargument name="Auction_ID" value="0" /> <cfinvokeargument name="Access_Key" value="..." /> <cfinvokeargument name="Item_ID" value="..." /> <cfinvokeargument name="External_Item_ID" value="..." /> <cfinvokeargument name="Lot_Number" value="..." /> <cfinvokeargument name="Run_Number" value="..." /> <cfinvokeargument name="Status" value="..." /> </cfinvoke> <cfdump var=#result# /> PHP : class InventoryGet { function InventoryGet($Auctioneer_ID,$Auction_ID, $Access_Key, $Item_ID, $External_Item_ID, $Lot_Number, $Run_Number, $Status) { $this->Auctioneer_ID = $Auctioneer_ID; $this->Auction_ID = $Auction_ID; $this->Access_Key = $Access_Key; $this->Item_ID = $Item_ID; $this->External_Item_ID = $External_Item_ID; $this->Lot_Number = $Lot_Number; $this->Run_Number = $Run_Number; $this->Status = $Status; } } $soapClient = new SoapClient("http://webservices.vortexauction.com/functions.cfc?wsdl"); $params = new InventoryGet(0, "...", "..."); $result = $soapClient->InventoryGet($params); var_dump($result);
TEST FORM: