NutrientAdviceResponse
@nmi-agro/fdm-source / fdm-calculator/src / NutrientAdviceResponse
Type Alias: NutrientAdviceResponse
NutrientAdviceResponse =
object
Defined in: fdm-calculator/src/nutrient-advice/types.d.ts:44
Represents the full response structure from the NMI Nutrient Advice API.
The year object is typed loosely so extra fields (e.g. advisory norm fields
like d_n_norm, d_n_norm_man, d_p_norm) returned by the API can be explicitly
excluded before surfacing the result as NutrientAdvice.
Properties
data
data:
object
Defined in: fdm-calculator/src/nutrient-advice/types.d.ts:54
Contains the actual nutrient advice data
cut?
optionalcut?:object[]
Optional: Nutrient advice values per cut for grassland.
Only available if the most recent b_lu_brp crop code is 265.
year
year:
NutrientAdvice&Record<string,unknown>
Raw nutrient advice values from the API (may include extra fields)
message
message:
string|null
Defined in: fdm-calculator/src/nutrient-advice/types.d.ts:52
Optional message providing more details about the response or errors
request_id
request_id:
string
Defined in: fdm-calculator/src/nutrient-advice/types.d.ts:46
Unique identifier for the request
status
status:
number
Defined in: fdm-calculator/src/nutrient-advice/types.d.ts:50
HTTP status code of the response
success
success:
boolean
Defined in: fdm-calculator/src/nutrient-advice/types.d.ts:48
Indicates if the request was successful