User Tools

Site Tools


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
api [2019/08/05 18:01] flackapi [2019/08/22 11:05] flack
Line 505: Line 505:
   * **customer_last_name**: The customer's last name   * **customer_last_name**: The customer's last name
   * **delivery_country**: ISO 3166-1 alpha-2 code of the delivery country   * **delivery_country**: ISO 3166-1 alpha-2 code of the delivery country
 +
  
 Optional fields: Optional fields:
-  * **amount**: Preferred amount per molecule (mg)default: 1 +  * **amount**: Preferred amount per molecule (mg). (default: 1) 
-  * **min_amount**: Acceptable minimum amount (mg)default: 1+  * **min_amount**: Acceptable minimum amount (mg). (default: 1
 +  * **target_volume**: The target volume (in ml), in case of solution based amount. 
 +  * **target_cc**: Target concentration (mM), in case of solution based amount. 
 +  * **extra_amount**: In case of solution based amount calculation, the extra amount can be specified here. 
 +  * **customer_email**: The customer's email address 
 +  * **delivery_time**: Delivery time limit (working days). Door-to-door delivery time. Only offer molecules that are available within the specified number of working days. You can specify null if you don't really care about delivery time. (default: 21) 
 +  * **purity**: Required minimum purity (%). (default: null) 
 + 
 +Advanced optional fields: 
 +  * **keep_original_salt_form**: If false (by default), allow Mcule to deliver an alternative salt form if the original is not available. (default: false) 
 +  * **keep_original_tautomer_form**: If false (by default), allow Mcule to deliver compounds drawn in alternative tautomer forms. Alternative tautomer forms are perceived by the system based on [[http://en.wikipedia.org/wiki/International_Chemical_Identifier|IUPAC InChI identifiers]]. (default: false) 
 +  * **keep_original_stereo_form**: If false (by default), allow Mcule to deliver compounds drawn in alternative stereochemical forms. (default: false) 
 +  * **deliver_multiple_salt_forms**: Deliver multiple salt forms or tautomers of the same compound. If alternative salt or tautomer forms are allowed to be selected, you can decide whether we should deliver you one or more of such equivalent structures. Equivalency is defined by the above options. (default: true) 
  
 == Request: === == Request: ===
Line 618: Line 632:
 Accept-Encoding: gzip, deflate Accept-Encoding: gzip, deflate
 Authorization: Token <your_token> Authorization: Token <your_token>
 +</code>
  
 == Response: === == Response: ===
api.txt · Last modified: 2023/06/03 07:19 by flack