Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleSummary


Excerpt
 Provides a list of authorities available which regulate food nutrient data.

  


Note: If you are upgrading to Gen API 3.1 (or later) you will want to reference this page.

Style
.resourceUrl {	
	font-weight: bold;
	font-family: 'lucida console', 'courier new', monospace;
	margin-left: 12px;
}


Style
.httpVerb { 
	border: solid 1px green; 
	background-color: #e0f5e0;
	padding: 5px;
}



Panel
borderColorblack
bgColor#f5fff5
borderWidth1
titleBGColor#e0e0e0
borderStylesolid
titleResource


Span
classhttpVerb
POST


Span
classresourceUrl
/rest/FoodQueryService.svc/ListAuthorities



Panel
borderColorblack
bgColor#ffffff
borderWidth1
titleBGColor#f5f5f5
borderStylesolid
titleRequest


Info

The request body is empty.



Examples


Code Block
titleExample Request
 request={ }


Code Block
languagejs
titleExample Response
{
    "Authorities": [{
        "Name": {
            "en-US": "United States"
        },
        "Iso3166Alpha2": "US",
        "Iso3166Alpha3": "USA",
        "Iso3166Numeric": 840,
        "Id": "bbf4846d-8400-43bb-944d-6021fda98225"
    },
    {
        "Name": {
            "en-US": "Canada"
        },
        "Iso3166Alpha2": "CA",
        "Iso3166Alpha3": "CAN",
        "Iso3166Numeric": 124,
        "Id": "bbf4846d-1240-43bb-944d-6021fda98225"
    },
    {
        "Name": {
            "en-US": "Mexico"
        },
        "Iso3166Alpha2": "MX",
        "Iso3166Alpha3": "MEX",
        "Iso3166Numeric": 484,
        "Id": "bbf4846d-4840-43bb-944d-6021fda98225"
    }]
}


Code Block
languagejs
linenumberstrue