AuctionDelete

Last update: 2013-08-14
A service that deletes an auction.

WEBSERVICE : http://webservices.vortexauction.com/functions.cfc?wsdl METHOD : AuctionDelete ARGUMENT : AUCTIONEER_ID [Numeric] Required | Your auctioneer ID ACCESS_KEY [String] Required | Your web service access key AUCTION_ID [Numeric] Optional | The ID of the auction to delete EXTERNAL_AUCTION_ID [String] Optional | The external ID of the auction to delete
NOTE : 1. You must specify an AUCTION_ID or EXTERNAL_AUCTION_ID, if both then only AUCTION_ID will be used.
RETURNS : AuctionDeleteResponse ON FAILURE : <?xml version="1.0" encoding="utf-8"?> <AuctionDeleteResponse> <Error> <Code>[Error code]</Code> <Message>[Error message]</Message> </Error> </AuctionDeleteResponse> ON SUCCESS : <?xml version="1.0" encoding="utf-8"?> <AuctionDeleteResponse> <Auction> <Auction_ID>[ID of the deleted auction]</Auction_ID> </Auction> </AuctionDeleteResponse>
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.
EXAMPLES : COLDFUSION : <cfinvoke webservice="http://webservices.vortexauction.com/functions.cfc?wsdl" method="AuctionDelete" returnvariable="result"> <cfinvokeargument name="Auctioneer_ID" value="0" /> <cfinvokeargument name="Access_Key" value="..." /> <cfinvokeargument name="Auction_ID" value="0" /> <cfinvokeargument name="External_Auction_ID" value="..." /> </cfinvoke> <cfdump var=#result# /> PHP : class AuctionDelete { function AuctionDelete($Auctioneer_ID, $Access_Key, $Auction_ID, $External_Auction_ID) { $this->Auctioneer_ID = $Auctioneer_ID; $this->Access_Key = $Access_Key; $this->Auction_ID = $Auction_ID; $this->External_Auction_ID = $External_Auction_ID; } } $soapClient = new SoapClient("http://webservices.vortexauction.com/functions.cfc?wsdl"); $params = new AuctionDelete(0, "...", 0, "..."); $result = $soapClient->AuctionDelete($params); var_dump($result);
TEST FORM: