...
Soap Action: http://ns.esha.com/2013/genesisapi/NewFood
Request Type: NewFoodRequest
- Foods
- Type: FoodDto[]
- The foods to be created. These foods do not require an Id value. If an Ingredient is specified, a NutrientProfile needs to be provided and the NutrientProfileId must be specified on the Ingredient.
- The NutrientProfileId must be specified if an Ingredient.
- NutrientProfiles
- Type: NutrientProfileDto[]
- The nutrient profiles associated to Ingredients belonging in Foods. The Id value on this type must be specified.
Response Type: NewFoodResponse
- AddedFoodsCount
- Type: Int
- The number of newly created foods.
- Foods
- Type: FoodDto[]
- The newly created foods with Id values filled in.
- Errors
- Error[]
- Gives error information on the foods not created.
- Status
- Type: exlx:ResultStatus
- The ResultStatus of the given response
- ResponseVersion
- Type: exlx:XmlVersion
- The version of the given response.
...