[Vtigercrm-developers] Creating quotes via webservice

Chris Landa stylesuxx at gmail.com
Fri Oct 23 11:00:23 GMT 2020


OK, thank you for your input.
When querying the description for 'Quotes', LineItems is not mentioned
anywhere - I would expect that to be a mandatory field, no?

Anyway, adding the LineItems array does not change anything for me, still
getting an empty 200 response.

Will check the other thread.

Chris

Am Fr., 23. Okt. 2020 um 12:50 Uhr schrieb Alan Lord <alanslists at gmail.com>:

> You can't create any inventory records without at least one LineItem.
>
> Suggest doing a vtws_describe of module "LineItem".
>
> Search this list too. We discussed this only recently in the thread
> "Creating Inventory records via Webservice".
>
> HTH
>
> Al
>
>
> On 23/10/2020 11:33, Chris Landa wrote:
> > I have problems creating quotes via web service on vTiger 7.3
> > productid is a required field, which does not make sense to me, since I
> > want to add multiple products to the quote - I would expect a field with
> > Line items here or something similar.
> >
> > Anyway, even when adding the productid property a quote is not created.
> > Instead I get an empty 200 response.
> >
> > What am I missing here?
> >
> > This is the element I am passing:
> >
> > $quote = array(
> >        'subject' => 'Subject 1234',
> >        'quotestage' => 'Created',
> >        'account_id' => '11x43',
> >        'contact_id' => '12x37',
> >        'assigned_user_id' => '19x1',
> >        'bill_street' => 'Bill street',
> >        'ship_street' => 'Bill street',
> >        'productid' => '14x39',
> > );
> >
> > Kind regards,
> > Chris
> >
> > _______________________________________________
> > http://www.vtiger.com/
> >
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20201023/bf5a46d0/attachment.html>


More information about the vtigercrm-developers mailing list