ConsignorUpdate

Last update: 2015-11-30
A service that adds or updates a consignor.

WEBSERVICE : http://webservices.vortexauction.com/functions.cfc?wsdl METHOD : ConsignorUpdate ARGUMENT : AUCTIONEER_ID [Numeric] Required | Your auctioneer ID ACCESS_KEY [String] Required | Your web service access key CONSIGNOR_ID [Numeric] Optional | A consignor ID to update EXTERNAL_CONSIGNOR_ID [String] Required | An external consignor ID to add or update ACTIVE [Numeric] Required | Indicates whether this consignor can access the system (0 or 1) COMPANY [String] Optional | The consignor's company CONTACT_NAME [String] Required | The consignor's contact name CONTACT_EMAIL [String] Required | The consignor's contact e-mail address EMAIL [String] Required | The consignor's company e-mail address CITY [String] Optional | The city where the consignor is located USERNAME [String] Optional | The consignor's username PASSWORD [String] Optional | The consignor's password
NOTE : 1. If you specify an CONSIGNOR_ID, than this auction will be updated regardless of it's previous EXTERNAL_CONSIGNOR_ID. 2. If you do not specify an CONSIGNOR_ID, than the auction with the specified EXTERNAL_CONSIGNOR_ID will be added or updated. 3. The password can be supplied directly or as an MD5 encrypted string, unencrypted passwords will be encryped in MD5 automaticaly.
RETURNS : ConsignorUpdateResponse ON FAILURE : <?xml version="1.0" encoding="utf-8"?> <ConsignorUpdateResponse> <Error> <Code>[Error code]</Code> <Message>[Error message]</Message> </Error> </ConsignorUpdateResponse> ON SUCCESS : <?xml version="1.0" encoding="utf-8"?> <ConsignorUpdateResponse> <Consignor> <Consignor_ID>[ID of the added or updated consignor]</Consignor_ID> </Consignor> </ConsignorUpdateResponse>
ERROR CODES : 00 = An unexpected error occured. 01 = Missing or invalid arguments. 02 = Invalid auctioneer id and/or access key. 07 = Specified username is already used by another bidder.
EXAMPLES : COLDFUSION : <cfinvoke webservice="http://webservices.vortexauction.com/functions.cfc?wsdl" method="ConsignorUpdate" returnvariable="result"> <cfinvokeargument name="Auctioneer_ID" value="0" /> <cfinvokeargument name="Access_Key" value="..." /> <cfinvokeargument name="Consignor_ID" value="0" /> <cfinvokeargument name="External_Consignor_ID" value="..." /> <cfinvokeargument name="Active" value="0" /> <cfinvokeargument name="Company" value="..." /> <cfinvokeargument name="Contact_Name" value="..." /> <cfinvokeargument name="Contact_Email" value="..." /> <cfinvokeargument name="Email" value="..." /> <cfinvokeargument name="City" value="..." /> <cfinvokeargument name="Username" value="..." /> <cfinvokeargument name="Password" value="..." /> </cfinvoke> <cfdump var=#result# /> PHP : class ConsignorUpdate { function ConsignorUpdate($Auctioneer_ID, $Access_Key, $Bidder_ID, $External_Bidder_ID, $Active, $Company, $Contact_Name, $Contact_Email, $Email, $City, $Username, $Password) { $this->Auctioneer_ID = $Auctioneer_ID; $this->Access_Key = $Access_Key; $this->Consignor_ID = $Consignor_ID; $this->External_Consignor_ID = $External_Consignor_ID; $this->Active = $Active; $this->Company = $Company; $this->Contact_Name = $Contact_Name; $this->Contact_Email = $Contact_Email; $this->Email = $Email; $this->City = $City; $this->Username = $Username; $this->Password = $Password; } } $soapClient = new SoapClient("http://webservices.vortexauction.com/functions.cfc?wsdl"); $params = new ConsignorUpdate(0, "...", 0, "...", 0, "...", "...", "...", "...", "...", "...", "..."); $result = $soapClient->ConsignorUpdate($params); var_dump($result);
TEST FORM: