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 [2022/04/29 14:20] flackapi [2023/01/25 20:45] flack
Line 48: Line 48:
     "results": [     "results": [
         {         {
-            "description": "All purchasablein stock virtual compounds",  +            "id": 1, 
-            "entry_count": 35772718+            "name": "Mcule Full", 
 +            "description": "Purchasable Mcule supplier ULTIMATE catalogs", 
 +            "entry_count": 40240579, 
 +            "last_updated": "2023-01-21",
             "files": [             "files": [
                 {                 {
-                    "download_url": "https://mcule.s3.amazonaws.com/database/mcule_purchasable_full_170918.sdf.gz",  +                    "size_mb": 9337
-                    "file_type": "sdf.gz",  +                    "file_type": "sdf.gz", 
-                    "file_type_display": "2D SDF (sdf.gz)",  +                    "file_type_display": "2D SDF (sdf.gz)", 
-                    "size_mb": 5762 +                    "download_url": "https://mcule.s3.amazonaws.com/database/mcule_purchasable_full_230121.sdf.gz" 
-                }, +                },
                 {                 {
-                    "download_url": "https://mcule.s3.amazonaws.com/database/mcule_purchasable_full_170918.smiles.gz",  +                    "size_mb": 513
-                    "file_type": "smiles.gz",  +                    "file_type": "smi.gz", 
-                    "file_type_display": "SMILES (smi.gz)",  +                    "file_type_display": "SMILES (smi.gz)", 
-                    "size_mb": 462+                    "download_url": "https://mcule.s3.amazonaws.com/database/mcule_purchasable_full_230121.smi.gz"
                 }                 }
-            ],  +            ], 
-            "last_updated": "2017-09-18",  +            "public": true
-            "name": "Mcule Purchasable (full)"+            "group": "default"
-            "public": true+
         },          }, 
         {         {
-            "description": "All purchasable, in stock compounds",  +            "id": 2, 
-            "entry_count": 5648837+            "name": "Mcule In Stock", 
 +            "description": "Purchasable Mcule supplier in stock catalogs", 
 +            "entry_count": 5790697, 
 +            "last_updated": "2023-01-20",
             "files": [             "files": [
                 {                 {
-                    "download_url": "https://mcule.s3.amazonaws.com/database/mcule_purchasable_in_stock_170918.sdf.gz",  +                    "size_mb": 1327
-                    "file_type": "sdf.gz",  +                    "file_type": "sdf.gz", 
-                    "file_type_display": "2D SDF (sdf.gz)",  +                    "file_type_display": "2D SDF (sdf.gz)", 
-                    "size_mb": 1311 +                    "download_url": "https://mcule.s3.amazonaws.com/database/mcule_purchasable_in_stock_230120.sdf.gz" 
-                }, +                },
                 {                 {
-                    "download_url": "https://mcule.s3.amazonaws.com/database/mcule_purchasable_in_stock_170918.smiles.gz",  +                    "size_mb": 85
-                    "file_type": "smiles.gz",  +                    "file_type": "smi.gz", 
-                    "file_type_display": "SMILES (smi.gz)",  +                    "file_type_display": "SMILES (smi.gz)", 
-                    "size_mb": 84+                    "download_url": "https://mcule.s3.amazonaws.com/database/mcule_purchasable_in_stock_230120.smi.gz"
                 }                 }
-            ],  +            ], 
-            "last_updated": "2017-09-18",  +            "public": true
-            "name": "Mcule Purchasable (in stock)"+            "group": "default"
-            "public": true+
         }         }
     ]     ]
Line 1903: Line 1907:
 } }
 </code> </code>
 +
 +== Example response: ===
 +<code>
 +HTTP/1.0 201 CREATED
 +Allow: POST, OPTIONS
 +Content-Type: application/json
 +
 +{
 +    "billing_address": "",
 +    "billing_city": "",
 +    "billing_company_name": "",
 +    "billing_country": "",
 +    "billing_email": "",
 +    "billing_first_name": "",
 +    "billing_last_name": "",
 +    "billing_phone": "",
 +    "billing_post_code": "",
 +    "billing_same": true,
 +    "billing_state": "",
 +    "billing_vat": "",
 +    "created": "2022-04-29T17:02:09.257359",
 +    "id": 3691,
 +    "notes": "",
 +    "po_file_filename": "",
 +    "po_number": "",
 +    "po_option": 20,
 +    "po_option_display": "Order without PO",
 +    "shipping_address": "",
 +    "shipping_city": "",
 +    "shipping_company_name": "",
 +    "shipping_country": "US",
 +    "shipping_email": "",
 +    "shipping_first_name": "John",
 +    "shipping_last_name": "Doe",
 +    "shipping_phone": "",
 +    "shipping_post_code": "",
 +    "shipping_state": "",
 +    "updated": "2022-04-29T17:02:09.257373"
 +}
 +</code>
 +
  
 Mandatory fields: Mandatory fields:
api.txt · Last modified: 2024/05/10 08:12 by bkovats