# Quotation

You can upload the quotation for an RfQ.


## Upload Quotation for an RfQ

 - [POST /rfqs/{id}/quotation/upload](https://docs.luminovo.com/specs/bundled/quotation/uploadquotation.md): By sending the request, you will get a URL to upload the quotation corresponding to an RfQ.

This API is the equivalent of uploading a PDF file in the Quotation section of the frontend.
Upon successful upload, you can call the Update RfQ API to set the RfQ status to QuotationAvailable.

Unless you change the status to QuotationAvailable, the PDF is still available internally, but
(if the customer portal is available) the customer will not be notified and will not be able to
download the PDF. This is consistent with the behavior of the quotation upload in the UI, where
the status is not updated unless you click the 'Send to customer' button.

Uploading is a two-step process:
1. Call this API to retrieve a URL to upload the file to.
1. Upload the file contents to the retrieved URL using the PUT method.
   * The PUT call must set the x-ms-blob-type header to the value BlockBlob.

See the help page
for an explanation of when and how to use this API.

