Create an additive for use by the license_number provided.
{- "license": {
- "license_number": "KMP20200825"
}, - "name": "Amuro additives fertilzers 05252023",
- "type": {
- "id": "CAPAT0001"
}, - "epa_number": "X12345E",
- "upc_code": "UPC123456E",
- "lot_number": "XCV1234567E",
- "manufacturer": "Kodai Chemlife",
- "supplier": "KMP Chem supplies inc",
- "content": [
- {
- "chemical_component": "Phosphorous",
- "quantity": 9.01,
- "unit_of_measure": "percent"
}, - {
- "chemical_component": "Nitrogen",
- "quantity": 10.001,
- "unit_of_measure": "percent"
}, - {
- "chemical_component": "Potassium",
- "quantity": 11.95,
- "unit_of_measure": "percent"
}
], - "unit_of_measure": "Liters",
- "is_used": false
}{- "results": {
- "type": "object",
- "data": {
- "license": {
- "license_number": "KMP20200825",
- "type": {
- "name": "Type 12"
}
}, - "id": "74fab062b1a248f7bfe08b103dd3960f",
- "name": "Amuro additives fertilzers 05252023",
- "type": {
- "id": "CAPAT0001",
- "name": "fertilizer"
}, - "epa_number": "X12345E",
- "upc_code": "UPC123456E",
- "lot_number": "XCV1234567E",
- "manufacturer": "Kodai Chemlife",
- "supplier": "KMP Chem supplies inc",
- "content": [
- {
- "chemical_component": "Phosphorous",
- "quantity": 9.01,
- "unit_of_measure": "percent"
}, - {
- "chemical_component": "Nitrogen",
- "quantity": 10.001,
- "unit_of_measure": "percent"
}, - {
- "chemical_component": "Potassium",
- "quantity": 11.95,
- "unit_of_measure": "percent"
}
], - "unit_of_measure": "Liters",
- "entity_state": [
- {
- "state": "active",
- "date": "2022-07-07T23:50:22Z",
- "reason": "additive created",
- "actioned_by": "user credentials"
}, - {
- "state": "updated",
- "date": "2022-07-07T23:50:22Z",
- "reason": "additive updated",
- "actioned_by": "user credentials"
}
]
}
}, - "warnings": [ ]
}Retrieve the additive details. If the id is not provided, the details of all the additives for the license_number are obtained.
| license_number required | string Reference (entity_ID) for the license. This is the business license number issued by the state. Example: license_number=ABC-1234 |
| limit | number Optional parameter that allows you to specify a number to limit the results in the response. Default limit is 100. Example: limit=100 |
| offset | number Optional parameter that allows you to offset records if the max number for the filter exceeds the limit. Example: offset=0 |
| entity_state | string Queryable entity states for additive. Inactive will return inactive and/or deleted additives. |
{- "results": {
- "type": "object",
- "data": {
- "license": {
- "license_number": "KMP20200825",
- "type": {
- "name": "Type 12"
}
}, - "id": "74fab062b1a248f7bfe08b103dd3960f",
- "name": "Amuro additives fertilzers 05252023",
- "type": {
- "id": "CAPAT0001",
- "name": "fertilizer"
}, - "epa_number": "X12345E",
- "upc_code": "UPC123456E",
- "lot_number": "XCV1234567E",
- "manufacturer": "Kodai Chemlife",
- "supplier": "KMP Chem supplies inc",
- "content": [
- {
- "chemical_component": "Phosphorous",
- "quantity": 9,
- "unit_of_measure": "percent"
}, - {
- "chemical_component": "Nitrogen",
- "quantity": 10,
- "unit_of_measure": "percent"
}, - {
- "chemical_component": "Potassium",
- "quantity": 11,
- "unit_of_measure": "percent"
}
], - "unit_of_measure": "Liters",
- "entity_state": [
- {
- "state": "active",
- "date": "2022-07-07T23:50:22Z",
- "reason": "additive created",
- "actioned_by": "user credentials"
}, - {
- "state": "updated",
- "date": "2022-07-07T23:50:22Z",
- "reason": "additive updated",
- "actioned_by": "user credentials"
}
]
}
}, - "warnings": [ ]
}Update the details of an additive for the license_number provided.
object | |
| name | string The name of the additive. |
object The type of the additive. | |
| epa_number | string The EPA registration number. |
| upc_code | integer The UPC code of the additive. |
| lot_number | string The lot number of the additive. |
| manufacturer | string The manufacturer of the additive. |
| supplier | string The supplier of the additive. |
Array of objects The active ingredients in the additive. | |
| unit_of_measure | string The unit of measure used by the additive when adding to a plant. |
| is_used | boolean True if the additive is in use by the licensee, otherwise false. |
{- "license_number": "KMP20200825",
- "supplier": "MP Chemical supplies inc"
}{- "results": {
- "type": "object",
- "data": {
- "license": {
- "license_number": "KMP20200825",
- "type": {
- "name": "Type 12"
}
}, - "id": "74fab062b1a248f7bfe08b103dd3960f",
- "name": "Amuro additives fertilzers 052520",
- "type": {
- "id": "CAPAT0001",
- "name": "fertilizer"
}, - "epa_number": "X12345E",
- "upc_code": "UPC123456E",
- "lot_number": "XCV1234567E",
- "manufacturer": "Kodai Chemlife",
- "supplier": "KMP Chemical supplies inc",
- "content": [
- {
- "chemical_component": "Phosphorous",
- "quantity": 9,
- "unit_of_measure": "percent"
}, - {
- "chemical_component": "Nitrogen",
- "quantity": 10,
- "unit_of_measure": "percent"
}, - {
- "chemical_component": "Potassium",
- "quantity": 11,
- "unit_of_measure": "percent"
}
], - "unit_of_measure": "Liters",
- "entity_state": [
- {
- "state": "active",
- "date": "2022-07-07T23:50:22Z",
- "reason": "additive created",
- "actioned_by": "user credentials"
}, - {
- "state": "updated",
- "date": "2022-07-07T23:50:22Z",
- "reason": "additive updated",
- "actioned_by": "user credentials"
}
]
}
}, - "warnings": [ ]
}Deactivate an additive for the license_number provided.
{- "license_number": "KMP20200825"
}{- "results": {
- "type": "object",
- "data": {
- "id": "1074fab062b1a248f7bfe08b103dd3960f11",
- "deleted": true
}
}, - "warnings": [ ]
}retrieve the additives_types for a specific state
OK
object | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Array of objects | |||||||||||||||||||||||||
Bad Request
{- "results": {
- "type": "array",
- "data": [
- {
- "types": [
- {
- "id": "ILPAT0001",
- "name": "nutrient"
}, - {
- "id": "ILPAT0002",
- "name": "pesticide"
}, - {
- "id": "ILPAT0003",
- "name": "custom_mix"
}
], - "units": [
- {
- "id": "1",
- "name": "drops",
- "volume": 0.05,
- "weight": null,
- "uom": "milliliters"
}, - {
- "id": "2",
- "name": "sprays",
- "volume": 0.07,
- "weight": null,
- "uom": "milliliters"
}
]
}
]
}, - "warnings": [ ]
}