- Created by Alex Caroline, last modified on Mar 09, 2021
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Current »
Summary: Edits an existing food to be an EU label with the label options provided.
EnServingSize
String
HideCalculatedServingSize
Boolean
ServingSizeUoM
0 (g)
1 (ml)
2 (mL)
EnServingsPerContainer
String
HideServingsPerContainer
Boolean
EnAlternateHeading
String
NumberFormattingLocale
0 (Bulgarian)
1 (Croatian)
2 (Croatian - Bosnia/Herzegovina)
3 (Czech)
4 (Danish)
5 (Dutch - Belgium)
6 (Dutch - Netherlands)
7 (English - Ireland)
8 (English - United Kingdom)
9 (Estonian)
10 (Finnish)
11 (French - Belgium)
12 (French - France)
13 (French - Luxembourg)
14 (German - Austria)
15 (German - Germany)
16 (German - Luxembourg)
17 (Greek)
18 (Hungarian)
19 (Italian)
20 (Latvian)
21 (Lithuanian)
22 (Maltese)
23 (Polish)
24 (Portugese)
25 (Romanian)
26 (Slovak)
27 (Slovenian)
28 (Spanish - Spain - Modern)
29 (Spanish - Spain - Traditional)
30 (Swedish)
31 (Swedish - Finland)
UseUnroundedValuesWhenCalcPercentStandard
Boolean
UseAbbreviations
Boolean
ShowBilingual
Boolean
HideDualDeclarationFootnote
Boolean
HideStandardFootnote
Boolean
IncludeRecipeNameInAllergenStatement
Boolean
IncludeRecipeNameInIngredientStatement
Boolean
Hide449ConversionChart
Boolean
InsertLessThan2PctIngredientStatement
Boolean
ContainsLessThan2PctSorted
Boolean
UppercaseAllergenStatement
Boolean
UppercaseIngredientStatement
Boolean
UsePer100gOrPer100Ml
0 (per 100 g)
1 (per 100 ml)
ShowOfWhich
Boolean
PositionOfWhichBeforeNutrient
Boolean
ShowPer100ColumnRIValues
Boolean
ShowPerPortionColumn
Boolean
ShowPerPortionRIValues
Boolean
AlignValuesInColumn
Boolean
ShowIngredientStatementWithAllergens
Boolean
ShowContainsNegligibleAmountOfStmt
Boolean
ProductIsBeverage
Boolean
PackageContainsSinglePortion
Boolean
FatBelowFiveTenths
0 (Set to 0)
1 (Set to “<0.5 g”)
CarbohydratesBelowFiveTenths
0 (Set to 0)
1 (Set to “<0.5 g”)
MonoFatBelowOneTenth
0 (Set to 0)
1 (Set to “<0.1 g”)
PolyFatBelowOneTenth
0 (Set to 0)
1 (Set to “<0.1 g”)
ProteinBelowFiveTenths
0 (Set to 0)
1 (Set to “<0.5 g”)
SaltBelowOneHundredth
0 (Set to 0)
1 (Set to “<0.01 g”)
ShowSaltIsNaturallyOccurring
Boolean
SaturatedFatBelowOneTenth
0 (Set to 0)
1 (Set to “<0.1 g”)
StarchBelowFiveTenths
0 (Set to 0)
1 (Set to “<0.5 g”)
SugarAlcoholBelowFiveTenths
0 (Set to 0)
1 (Set to “<0.5 g”)
TotalDietaryFiberBelowFiveTenths
0 (Set to 0)
1 (Set to “<0.5 g”)
TotalSugarsBelowFiveTenths
0 (Set to 0)
1 (Set to “<0.5 g”)
All the following are boolean options:
ShowBiotin
ShowCalcium
ShowChloride
ShowChromium
ShowCopper
ShowFluoride
ShowFolate
ShowIodine
ShowIron
ShowMagnesium
ShowManganese
ShowMolybdenum
ShowMonoFat
ShowPantothenicAcid
ShowPhosphorus
ShowPolyFat
ShowPotassium
ShowSelenium
ShowStarch
ShowSugarAlcohol
ShowTotalDietaryFiber
ShowVitaminA_RE
ShowVitaminB1
ShowVitaminB12
ShowVitaminB2
ShowVitaminB3_NiacinEquiv
ShowVitaminB6
ShowVitaminC
ShowVitaminD_MCG
ShowVitaminE_AlphaToco
ShowVitaminK
ShowZinc
POST http://localhost:80/rest/FoodEditService.svc/SetEULabel HTTP/1.1 Content-Type: text/plain Host: localhost:80 request={ "UserCode":"ABC-123", "GeneralOptions":{ "EnServingSize":"EN SS EU", "HideGramOrMl":"False", "ServingSizeUoM":"0", "EnServingsPerContainer":"EN SPC EU", "EnAlternateHeading":"EN AH EU", "NumberFormattingLocal":"1" }, "FormatOptions":{ "UseUnroundedValuesWhenCalcPercentStandard":"False", "UseAbbreviations":"False", "ShowBilingual":"False", "HideDualDeclarationFootnote":"False", "HideStandardFootnote":"False", "IncludeRecipeNameInAllergenStatement":"False", "IncludeRecipeNameInIngredientStatement":"False", "Hide449ConversionChart":"False", "InsertLessThan2PctIngredientStatement":"False", "ContainsLessThan2PctSorted":"False", "UppercaseAllergenStatement":"False", "UppercaseIngredientStatement":"False", "UsePer100gOrPer100Ml":"0", "ShowOfWhich":"False", "PositionOfWhichBeforeNutrient":"False", "ShowPer100ColumnRIValues":"False", "ShowPerPortionColumn":"False", "ShowPerPortionRIValues":"False", "AlignValuesInColumn":"False", "ShowIngredientStatementWithAllergens":"False", "ShowContainsNegligibleAmountOfStmt":"False", "ProductIsBeverage":"False", "PackageContainsSinglePortion":"False" }, "VoluntaryNutrients":{ "ShowBiotin":"False", "ShowCalcium":"False", "ShowChloride":"False", "ShowChromium":"False", "ShowCopper":"False", "ShowFluoride":"False", "ShowFolate":"False", "ShowIodine":"False", "ShowIron":"False", "ShowMagnesium":"False", "ShowManganese":"False", "ShowMolybdenum":"False", "ShowMonoFat":"False", "ShowPantothenicAcid":"False", "ShowPhosphorus":"False", "ShowPolyFat":"False", "ShowPotassium":"False", "ShowSelenium":"False", "ShowStarch":"False", "ShowSugarAlcohol":"False", "ShowTotalDietaryFiber":"False", "ShowVitaminA_RE":"False", "ShowVitaminB1":"False", "ShowVitaminB12":"False", "ShowVitaminB2":"False", "ShowVitaminB3_NiacinEquiv":"False", "ShowVitaminB6":"False", "ShowVitaminC":"False", "ShowVitaminD_MCG":"False", "ShowVitaminE_AlphaToco":"False", "ShowVitaminK":"False", "ShowZinc":"False" }, "NutrientOptions":{ "FatBelowFiveTenths":"0", "CarbohydratesBelowFiveTenths":"0", "MonoFatBelowOneTenth":"0", "PolyFatBelowOneTenth":"0", "ProteinBelowFiveTenths":"0", "SaltBelowOneHundredth":"0", "ShowSaltIsNaturallyOccurring":"False", "SaturatedFatBelowOneTenth":"0", "StarchBelowFiveTenths":"0", "SugarAlcoholBelowFiveTenths":"0", "TotalDietaryFiberBelowFiveTenths":"0", "TotalSugarsBelowFiveTenths":"0", } }
{ "UpdatedFoodsCount": 1, "Errors": null, "Status": { "StatusMessage": 200, "StatusCode": 200, "StatusDetail": null }, "ResponseVersion": {} }
- No labels