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/09/25 18:23] – [Quote - Missing structures] flackapi [2019/11/29 16:06] flack
Line 63: Line 63:
             ],              ], 
             "last_updated": "2017-09-18",              "last_updated": "2017-09-18", 
-            "name": "Mcule Purchasable (full)"+            "name": "Mcule Purchasable (full)"
 +            "public": true
         },          }, 
         {         {
Line 83: Line 84:
             ],              ], 
             "last_updated": "2017-09-18",              "last_updated": "2017-09-18", 
-            "name": "Mcule Purchasable (in stock)"+            "name": "Mcule Purchasable (in stock)"
 +            "public": true
         }         }
     ]     ]
 } }
 </code> </code>
 +
 +If you call this API endpoint as an authenticated user (=you provide a valid token) you might get additional private entries if you have permission to access them.
  
  
Line 642: Line 646:
   * **target_volume**: The target volume (in ml), in case of solution based amount.   * **target_volume**: The target volume (in ml), in case of solution based amount.
   * **target_cc**: Target concentration (mM), 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 extra amount (in mg) can be specified here.
   * **customer_email**: The customer's email address. By default it will be filled with the email address associated with the user making the API request.   * **customer_email**: The customer's email address. By default it will be filled with the email address associated with the user making the API request.
   * **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 delivery time is not critical. (default: 21)   * **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 delivery time is not critical. (default: 21)
Line 1105: Line 1110:
         }         }
     ],      ], 
-    "missing_mcule_ids": [],  
     "name": "",      "name": "", 
     "order_data": null,      "order_data": null, 
Line 1286: Line 1290:
     * **structure_origin_mcule_id**: The mcule ID of the query molecule.     * **structure_origin_mcule_id**: The mcule ID of the query molecule.
     * **quote**: The ID of the quote this product level quote data belongs to.     * **quote**: The ID of the quote this product level quote data belongs to.
-  * **missing_mcule_ids**: list of missing mcule IDs from the query 
   * **name**: The name of the quote. Quotes created via the API don't have names.   * **name**: The name of the quote. Quotes created via the API don't have names.
   * **order_data**: Order data. (Should be neglected).   * **order_data**: Order data. (Should be neglected).
api.txt · Last modified: 2023/06/03 07:19 by flack