[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: API question



Hi Charley,

The behavior you are seeing is not according to design.  A bug should
be filed in our tracker to look into this.  If you do this, you can be
automatically notified as we work on it.  O)therwise I can file it.

Best WIshes,
Chris Travers

On 10/31/06, Charley Tiggs <..hidden..> wrote:
LedgerSMB 1.1.1d on MacOSX 10.4.8

I have the following API call that I run from the command line:

./ic.pl "taxaccounts=2150&
IC_inventory=1510--Inventory&
IC_income=4010--Sales&
IC_tax_2150=1&
weightunit=lbs&
action=Save&
employee=me--10082&
login=me&
password=donkykong&
path=bin/mozilla&
partnumber=028&
description=Jiffy Bag #1 Clear Small&
unit=5&
lastcost=2.00&
weight=1.263&
onhand=5001&
notes=Jiffy #1 Mailing package&
rop=150&
obsolete=&
sellprice=&
id=291605"

When I run it, I get the following back whether or not the action is
successful:

Set-Cookie: LedgerSMB=3:46d941350a07184b0098fba3bdcbb6c1; path=/;

How can I figure out whether the result was successful without making
querying the table?  SQL-Ledger at least returned a string that I could
compare to.

Charley

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users