ListGroups - Resource

Summary


  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.

Resource


POST /rest/FoodQueryService.svc/ListGroups

Request

The request body is empty.

Examples


Example Request
 request={ }
Example 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
}