User Tools

Site Tools


ultimate-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ultimate-api [2020/07/20 14:59] – [Quote API] flackultimate-api [2020/12/01 18:15] – [Similarity search] flack
Line 225: Line 225:
 </code> </code>
  
-In case of similarity searches the **tan** value contains the similarity value.+In case of similarity searches the **tan** value the response contains the similarity value. 
 + 
 +In case of similarity searches you can control the minimum similarity with the **sim_threshold** param. Its default  value is 0.7. Its minimum value is also 0.7 unless you are allowed to use a lower value. For example: 
 +<code> 
 +
 +    "query":
 +        "type": "sim", 
 +        "query": "C(N1C(C(OC2CCCN(C3=CC=CC=C3)C2)=O)CN(C)C1=O)(=O)C(=C)CN1CCOCC1", 
 +        "limit": 5, 
 +        "sim_threshold": 0.8 
 +    } 
 +
 +</code>
  
  
Line 941: Line 953:
   * **avg_product_price_currency**: Currency of average product price   * **avg_product_price_currency**: Currency of average product price
   * **coverage_percent**: How many of the query molecules appear in the quote. E.g. if your query contains 10 molecules and you get a quote for 9, it is 90%.   * **coverage_percent**: How many of the query molecules appear in the quote. E.g. if your query contains 10 molecules and you get a quote for 9, it is 90%.
-  * **created**: The creation datetime of the quote.+  * **created_at**: The creation datetime of the quote.
   * **id**: The ID of the Instant Quote.   * **id**: The ID of the Instant Quote.
   * **items**: list of product level data   * **items**: list of product level data
Line 965: Line 977:
   * **state**: State code of the quote.   * **state**: State code of the quote.
   * **state_display**: Human readable state of the quote.   * **state_display**: Human readable state of the quote.
-  * **total_discount_price**: Total discount price (USD)+  * **total_discount_price**: Total discount price 
 +  * **total_discount_price_currency**: Currency of total discount price
   * **total_price**: Total price of quote   * **total_price**: Total price of quote
   * **total_price_currency**: Currency of the total price   * **total_price_currency**: Currency of the total price
ultimate-api.txt · Last modified: 2021/05/25 14:27 by flack