Create a harvest for the license_number provided.
OK
Bad Request
{- "license": {
- "license_number": "{{license_microbusiness_15}}"
}, - "name": "Tomino amuro kamui 06122022 manicure A02",
- "harvest_date": {
- "start": "2022-07-06T18:27:39Z",
- "end": "2022-07-06T19:27:39Z"
}, - "type": {
- "id": "CAHHT0002"
}, - "strain": {
- "strains": [
- {
- "id": "ef2db9096a8b48b5b261e0247098721a"
}
]
}, - "weights": null,
- "plants": [
- {
- "id": "1f46b71cbfa54535b26524ab54bb790c",
- "date": "2022-05-24T20:29:19Z",
- "weights": {
- "flower": {
- "wet": {
- "quantity": 100.1,
- "unit_of_measure": "Grams"
}
}, - "plant_material": {
- "wet": {
- "quantity": 100.1,
- "unit_of_measure": "Grams"
}
}
}
}, - {
- "id": "618ed4dfa1f1407195c125f7a78b4525",
- "date": "2022-05-24T20:29:19Z",
- "weights": {
- "flower": {
- "wet": {
- "quantity": 200.2,
- "unit_of_measure": "Grams"
}
}, - "plant_material": {
- "wet": {
- "quantity": 200.2,
- "unit_of_measure": "Grams"
}
}
}
}, - {
- "id": "949201a758794e9a96617191cc7a383c",
- "date": "2022-05-24T20:29:19Z",
- "weights": {
- "flower": {
- "wet": {
- "quantity": 300.3,
- "unit_of_measure": "Grams"
}
}, - "plant_material": {
- "wet": {
- "quantity": 300.3,
- "unit_of_measure": "Grams"
}
}
}
}
], - "locations": {
- "harvest_locations": {
- "id": "39d820bae059468facede4bff0efc4ec"
}, - "lots_locations": null
}, - "products": null,
- "additional": {
- "patient_license": null,
- "is_for_medical_use": false
}
}
{- "results": {
- "type": "array",
- "data": {
- "license": {
- "license_number": "KMP20222825",
- "type": {
- "name": "Type 12"
}
}, - "actions": null,
- "id": "e80553d1d2d04c2fbe72054e5b4a4c83",
- "name": "Tomino amuro kamui 06122022 manicure A02",
- "harvest_date": {
- "start": "2022-06-12T18:27:39Z",
- "end": "2022-06-12T19:27:39Z"
}, - "type": {
- "id": "CAHHT0002",
- "name": "manicure_harvest"
}, - "strain": {
- "number": 1,
- "unit_of_measure": "Each",
- "strains": [
- {
- "id": "ef2db9096a8b48b5b261e0247098721a",
- "name": "Tomino amuro kamui 05202022"
}
]
}, - "totals": {
- "plants": {
- "number": 3,
- "unit_of_measure": "Each"
}, - "weights": {
- "total_weight": {
- "wet": {
- "quantity": 1201.2,
- "initial_quantity": [
- {
- "qty": 1201.2
}
], - "unit_of_measure": "Grams"
}, - "dry": null,
- "moisture_loss": null
}, - "flower": {
- "wet": {
- "quantity": 600.6,
- "initial_quantity": [
- {
- "qty": 600.6
}
], - "unit_of_measure": "Grams"
}, - "dry": null,
- "moisture_loss": null
}, - "plant_material": {
- "wet": {
- "quantity": 600.6,
- "initial_quantity": [
- {
- "qty": 600.6
}
], - "unit_of_measure": "Grams"
}, - "dry": null,
- "moisture_loss": null
}
}
}, - "cure": null,
- "plants": [
- {
- "id": "1f46b71cbfa54535b26524ab54bb790c",
- "barcode": "1A4FF0200000029000014271"
}, - {
- "id": "618ed4dfa1f1407195c125f7a78b4525",
- "barcode": "1A4FF0200000029000014275"
}, - {
- "id": "949201a758794e9a96617191cc7a383c",
- "barcode": "1A4FF0200000029000014273"
}
], - "waste": null,
- "lots": null,
- "locations": {
- "harvest_locations": {
- "id": "39d820bae059468facede4bff0efc4ec",
- "name": "Hathaway cultivation 1",
- "type": {
- "id": "CALOC0001",
- "name": "Cultivation"
}
}, - "lots_locations": null
}, - "products": null,
- "additional": {
- "patient_license": null,
- "is_for_medical_use": false
}, - "entity_state": [
- {
- "state": "active",
- "date": "2022-07-06T23:56:18Z",
- "reason": "manicure_harvest",
- "actioned_by": "system generated"
}, - {
- "state": "updated",
- "date": "2022-07-06T23:56:17Z",
- "reason": "harvest updated",
- "actioned_by": "system generated"
}, - {
- "state": "lab_testing_not_submitted",
- "date": "2022-07-06T23:56:17Z",
- "reason": "harvest lab testing not submitted",
- "actioned_by": "system generated by metrc"
}
]
}
}, - "warnings": [
- {
- "detail": "plant_id 949201a758794e9a96617191cc7a383c plants.date entered is 1035 hours before the current time stamp 2022-07-06T23:56:14Z",
- "type": "plants.date"
}, - {
- "detail": "plant_id 618ed4dfa1f1407195c125f7a78b4525 plants.date entered is 1035 hours before the current time stamp 2022-07-06T23:56:14Z",
- "type": "plants.date"
}, - {
- "detail": "plant_id 1f46b71cbfa54535b26524ab54bb790c plants.date entered is 1035 hours before the current time stamp 2022-07-06T23:56:14Z",
- "type": "plants.date"
}
]
}