Get Nutrient Sets

post

/config/sim/v2/menuItems/getNutrientSets

Gets all the Nutrient Sets

Request

Supported Media Types
Body ()
Root Schema : schema
Type: object
Show Source
  • If specified, limits the data returned to these fields.
    Example: hierUnitId, objectNum
  • If this value is specified, the include parameter is ignored.
    Value Description
    basic Forces the response to include all fields except option string details
    detailed Forces the response to include all fields including option string details
    Example: detailed
  • If specified, limits translated strings returned
    Example: 1,2,3
  • If using paging, number of results returned in this page.
    Example: 100
  • Starting resource record index. Not required if paging parameters are not supported
    Example: 0
  • Sorts the response by the specified field name and sort order. Allowed fields are objectNum, name.
    Example: objectNum:asc
  • If specified, returns records that match the criteria. Allowed fields are objectNum, name.
    Example: where equals(objectNum, 45)
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Nutrient Set records
Show Source
Nested Schema : NutrientSet
Type: object
Nutrient Set record
Show Source
Nested Schema : name
Type: object
Name of the Nutrient Set
Example:
{
    "1":"Entp",
    "2":"Untm",
    "3":"Emp"
}
Nested Schema : nutrients
Type: array
An array of nutrients belonging to the nutrient set.
Show Source
Nested Schema : items
Type: object
A nutrient belonging to the nutrient set.
Show Source
Back to Top