API:Quotes

From Aligni Wiki

Jump to: navigation, search

Create

Command: POST /quote

Description: Create a new quote.

Request/Response:

<quote>
  <part_id>#{part_id}</part_id>
  <unit_id>#{unit_id}</unit_id>
  <vendor_id>#{vendor_id}</vendor_id>
  <price>#{price}</price>
  <quantity_min>#{quantity_min}</quantity_min>
  <quantity_mult>#{quantity_mult}</quantity_mult>
  <leadtime>#{leadtime}</leadtime>
  <valid_for>#{valid_for}</valid_for>
</quote>
<quote>
  ...
</quote>


Delete

Command: PUT /quote/#{quote_id}

Description: Delete a quote by its id.

Request/Response: None

Views
Personal tools