Nutrient tables
Nutrient table is used to define nutrient composition of foods.
Tasks
Tasks section allows to submit resource specific tasks into the job queue with additional parameters.
Jobs that can be submitted:
NutrientTableDataImport
NutrientTableDataImport imports data from CSV file containing nutrient data.
json
{
"nutrientTableId": string,
"file": File
}NutrientTableMappingImport
NutrientTableMappingImport imports Excel-based nutrient mappings from CSV file.
json
{
"nutrientTableId": string,
"file": File
}Expected file type - text/csv
| Column | Description |
|---|---|
| Intake24 nutrient ID | Intake24 nutrient type ID |
| NDB spreadsheet column index | Excel-based column name |