POST /condition/new
This commit is contained in:
		@@ -183,6 +183,19 @@
 | 
			
		||||
        "__v": 0
 | 
			
		||||
      }
 | 
			
		||||
    ],
 | 
			
		||||
    "conditions": [
 | 
			
		||||
      {
 | 
			
		||||
        "_id": {"$oid":"700000000000000000000001"},
 | 
			
		||||
        "sample_id": {"$oid":"400000000000000000000001"},
 | 
			
		||||
        "number": "B1",
 | 
			
		||||
        "parameters": {
 | 
			
		||||
          "material": "copper",
 | 
			
		||||
          "weeks": 3
 | 
			
		||||
        },
 | 
			
		||||
        "treatment_template": {"$oid":"200000000000000000000001"},
 | 
			
		||||
        "__v": 0
 | 
			
		||||
      }
 | 
			
		||||
    ],
 | 
			
		||||
    "treatment_templates": [
 | 
			
		||||
      {
 | 
			
		||||
        "_id": {"$oid":"200000000000000000000001"},
 | 
			
		||||
@@ -204,7 +217,8 @@
 | 
			
		||||
              "max": 10
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
        ],
 | 
			
		||||
        "__v": 0
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        "_id": {"$oid":"200000000000000000000002"},
 | 
			
		||||
@@ -214,7 +228,8 @@
 | 
			
		||||
            "name": "material",
 | 
			
		||||
            "range": {}
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
        ],
 | 
			
		||||
        "__v": 0
 | 
			
		||||
      }
 | 
			
		||||
    ],
 | 
			
		||||
    "measurement_templates": [
 | 
			
		||||
@@ -226,7 +241,8 @@
 | 
			
		||||
            "name": "dpt",
 | 
			
		||||
            "range": {}
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
        ],
 | 
			
		||||
        "__v": 0
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        "_id": {"$oid":"300000000000000000000002"},
 | 
			
		||||
@@ -246,7 +262,8 @@
 | 
			
		||||
              "max": 0.5
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
        ],
 | 
			
		||||
        "__v": 0
 | 
			
		||||
      }
 | 
			
		||||
    ],
 | 
			
		||||
    "users": [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user