"Service quotations item ID is required."

Question

I use API to create service quotations, and when the type ID is set to 3, I get "Service quotations item ID is required" in response; however, I don't know what ID this should be or where to find it?

Answer

To create a service quotation, when the type ID is set to 3, use the query below:

POST https://server_name/api/crm/servicequotations

NOTE  ItemId is only required in case Type is equal to "Service Item", "Product Item" as per the screenshot below.

 mceclip0.png