SetEULabel (4.4)

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

 

 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 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", }, "EditDetails":{ "EditMessage":"Setting EU label on recipe", "EditCaller":{ "Name":"Our PLM System" } } }

 

1 2 3 4 5 6 7 8 9 10 { "UpdatedFoodsCount": 1, "Errors": null, "Status": { "StatusMessage": 200, "StatusCode": 200, "StatusDetail": null }, "ResponseVersion": {} }