web services - Create vTiger Sales Order fails due to MANDATORY_FIELDS_MISSING "message":"Mandatory Fields Missing -
i'm trying create salesorder via webservices fails due missing mandatory fields.
i'm sending following fields.
the error message not specify missing fields
i'm using vtiger 6.0.0
how can figure out
salesorder.subject = fulldescription salesorder.sostatus = "delivered" salesorder.account_id ='11x28' salesorder.bill_street = shipping.address.street salesorder.bill_city = shipping.address.city salesorder.bill_state = shipping.address.state salesorder.bill_code = shipping.address.postalcode salesorder.bill_country = shipping.address.postalcode salesorder.ship_street = shipping.address.street salesorder.ship_city = shipping.address.city salesorder.ship_state = shipping.address.state salesorder.ship_code = shipping.address.postalcode salesorder.ship_country = shipping.address.postalcode salesorder.invoicestatus = "created" salesorder.productid = selectedservices[0].id salesorder.quantity = 1 salesorder.listprice = selectedservices[0].unit_price // salesorder.comment= "" salesorder.tax1 = "" salesorder.tax2 = "10.000" salesorder.tax3 = "6.000" salesorder.pre_tax_total = "876.00" salesorder.currency_id = "21x1" salesorder.conversion_rate = "1.000" salesorder.tax4 = "" salesorder.duedate = "2014-12-12" salesorder.carrier = "fedex" salesorder.pending = "" salesorder.txtadjustment = "-21.00000000" salesorder.salescommission = "5.000" salesorder.exciseduty = "0.000" salesorder.hdngrandtotal = "995.16000000" salesorder.hdnsubtotal = "876.00000000" salesorder.hdntaxtype = "group" salesorder.hdndiscountamount = "0" salesorder.hdns_h_percent = "21" salesorder.discount_percent = "25.000" salesorder.discount_amount = "" salesorder.terms_conditions = "- unless " salesorder.enable_recurring = "0"
i missing lineitems. please notice has camelcase
"lineitems": [ { "productid": "25x142", "listprice": "299.00000000", "quantity": "1" } ],
Comments
Post a Comment