Versions Compared

Key

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


Info
titleSummary


Excerpt
  Provides a list of Groups that Published Foods are members of

  


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/ListGroups



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
  {
	"Groups": [{
		"Name": {
			"en-US": "My Recipes"
		},
		"ParentId": null,
		"ParentGroupName": null,
		"GroupType": 70,
		"NutrientIds": [],
		"FoodIds": [],
		"ConsumerIds": [],
		"AllergenRules": {
			
		},
		"Id": "021c021f-000a-0000-8d69-0b60293379ea"
	},
	{
		"Name": {
			"en-US": "Meals"
		},
		"ParentId": null,
		"ParentGroupName": null,
		"GroupType": 70,
		"NutrientIds": [],
		"FoodIds": [],
		"ConsumerIds": [],
		"AllergenRules": {
			
		},
		"Id": "021c021f-02d7-0000-8d69-0b60293379ea"
	}],
	"Status": 0
}


Code Block
languagejs
linenumberstrue