|
als_update_vendor.cgi |
Top Previous Next |
|
Description The als_update_vendor.cgi interface updates vendor information. Upon a successful execution of this method the all the fields returned from the als_get_vendors.cgi with the extendedinfo=true parameter will be returned.
Note:This is a powerful call with little or no error checking so it is up to you to make sure that you understand the way vendor information is stored and managed by AL-Desk.
As is normal for all Put calls a valid webusercode is required along with the following fields:
The unique key of vendor:Integer is required to use this method.
Example Usage
Inputs
Returned Fields
XML Example Upon a successful update a call to als_update_vendor.cgi is executed that includes all the fields.
<?xml version="1.0" encoding="utf-8" ?> - <root> - <vendors> <row code="520" name="Germaines Luau" address1="1000 main street" address2="" city="boise" state="id" zip="" phone="333-2121" contact="" fax="" email="ssmith@host.com" notes="my blah blah notes" taxrate="" trantype="1" commrate="" taxcommstat="" newcommrate="" newcommratedate="" ckinminutesprior="" servicechargestate="" location="3" shortname="" insuranceexpirationdate="" allowbookafterexpdate="False" taxrateoverride="False" preferredlevel="" webexport="True" tollnumber="" groupcode="" outofbusiness="False" phone2="" excludefromap="False" description="" imagepath="" logopath="" showgiftdiscount="False" contractdate="" contractnote="" nobookingsafter="" giftingmethod="" /> </vendors> </root> |