# Creating Quote with operations and materials from REST

**URL:** <https://www.epiusers.help/t/creating-quote-with-operations-and-materials-from-rest/73867>\
**Category:** Epicor ERP 10\
**Tags:** rest, e10\
**Created:** [December 19, 2020, 12:45am UTC](https://www.epiusers.help/t/creating-quote-with-operations-and-materials-from-rest/73867 "2020-12-19T00:45:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Evan\_Purdy](https://www.epiusers.help/user_avatar/www.epiusers.help/evan_purdy/32/69101_2.png) [@Evan\_Purdy](https://www.epiusers.help/u/Evan_Purdy)\
**Post date:** [December 21, 2020, 1:26pm UTC](https://www.epiusers.help/t/creating-quote-with-operations-and-materials-from-rest/73867/2 "2020-12-21T13:26:37Z")

</div>

> [@GInclan](#):
>
> I get errors indicating that I can’t use a Lambda expression to a dynamically dispatched operation without first casting it to a delegate or expression tree.

> [@Epicor Rest Helper (Nuget) Updated (1.1.11)](https://www.epiusers.help/t/epicor-rest-helper-nuget-updated-1-1-11/61731/39):
>
> @josecgomez Is there a trick to being able to use LINQ on the results of a REST call? Just copy in into a standard collection first? Apparently Dynamic and LINQ do not get along…

> [@GInclan](#):
>
> But I am stuck at how to update data from QuoteDtl when I have a second line.

If you just want to do the MOM then Erp.BO.QuoteAsmSvc.GetByID takes quote, line, and assembly number. The easiest way to get a quote line would probably be the OData method on Erp.BO.QuoteSvc – Erp.BO.QuoteSvc/QuoteDtls

---

_[View the full topic](https://www.epiusers.help/t/creating-quote-with-operations-and-materials-from-rest/73867)._
