Summary of Changes from 2.x to 3.1
2.x Reference | 3.1 Reference | Summary of Change |
---|---|---|
GetAnalysis | Combined GetAnalysisByFoodId and GetAnalysisByUserCode into one method. | |
GetBarcodeImage | New Reference (Retrieves the barcode for the food identified by the specified User Code or Food Id value as a PNG encoded bitmap.) | |
GetBarcodeImageByFoodId 1.X-2.X | GetBarcodeImageByFoodId | Now return a response with the binary of an image as a member of the request |
GetBarcodeImageByUserCode 1.X-2.X | GetBarcodeImageByUserCode | Now return a response with the binary of an image as a member of the request |
GetConversions | New Reference (Retrieves the conversions collection for a food identified by the specified Usercode or FoodId value.) | |
GetFood | New Reference. Added Options (see next two references) | |
GetFoodByUserCode 1.X-2.X | GetFoodByUserCode | Added Optional UserCode to query food (user can supply UserCode to get food desired) |
GetFoodByUserCode 1.X-2.X | GetFoodByFoodId | Added Optional FoodID to query food (user can supply FoodID to get food desired) |
ListGroups (4.0) | Added a filter to only get certain groups, by id Added paging (StartIndex, PageSize) | |
GetLabelImage | New Reference (Retrieves the label for the food identified by the specified User Code or Food Id value as a PNG encoded bitmap.) | |
GetLabelImageByFoodId 1.X-2.X | GetLabelImageByFoodId | Now return a response with the binary of an image as a member of the request |
GetLabelImageByUserCode 1.X-2.X | GetLabelImageByUserCode | Now return a response with the binary of an image as a member of the request |
ListAllergens 1.X-2.X | ListAllergens | Added Paging (StartIndex, PageSize) |
ListAuthorities 1.X-2.X | ListAuthorities | Added Paging (StartIndex, PageSize) |
ListNutrients 1.X-2.X | ListNutrients | Added Paging (StartIndex, PageSize) |
ListRecommendationProfiles | New Reference (Provides a list of all recommendation profiles) | |
ListPublishedFoods 1.X-2.X | ListFoods | Added Options (FilterByFoodTypes, FilterByPublicationStates) Added Paging (StartIndex, PageSize) |
ListPublishedFoodUserCodes 1.X-2.X | ListFoodUserCodes | Added Options (FilterByFoodTypes, FilterByPublicationStates) Added Paging (StartIndex, PageSize) |
ListUnits 1.X-2.X | ListUnits | Added Paging (StartIndex, PageSize) |
NewFood (3.1) | New Reference (Creates new foods with the Food instances provided.) | |
SearchByGroup 1.X-2.X | SearchByGroup | Added Options (FilterByFoodTypes, FilterByPublicationStates) Added Paging (StartIndex, PageSize) |
SearchByModifiedDateRange 1.X-2.X | SearchByModifiedDateRange | Added Options (FilterByFoodTypes, FilterByPublicationStates) Added Paging (StartIndex, PageSize) |
SearchByName 1.X-2.X | SearchByName | Added Options (FilterByFoodTypes) Added Paging (StartIndex, PageSize) |
SearchByProperty | New Reference (Searches foods returning those which have the specified property and value.) | |
UpdateFood (3.1) | New Reference (Updates existing foods with the Food instances provided.) |