UpdateFood (3.1)
Summary: Updates existing foods with the Food instances provided.
Soap Action: http://ns.esha.com/2013/genesisapi/UpdateFood
Request Type: UpdateFoodRequest
Foods
Type: FoodDto[]
The foods to be updated. These foods require an Id value of a food already in the database. If an Ingredient is specified, a NutrientProfile needs to be provided and the NutrientProfileId must be specified on the Ingredient.
NutrientProfiles
Type: NutrientProfileDto[]
The nutrient profiles associated to Ingredients belonging in Foods. The Id value on this type must be specified.
Response Type: UpdateFoodResponse
UpdatedFoodsCount
Type: Int
The number of updated foods.
Errors
Error[]
Gives error information on the foods not updated.
Status
Type: exlx:ResultStatus
The ResultStatus of the given response
ResponseVersion
Type: exlx:XmlVersion
The version of the given response.