GetGroups - Resource

Summary


 Retrieves the groups associated with the given ids

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

Resource


POST /rest/FoodQueryService.svc/GetGroups

Request
ParameterTypeDescription
 requestGroupsRequestA JSON serialized GroupsRequest object

Examples


Example Request
 request={"GroupIds":["021c021f-000a-0000-8d69-0b60293379ea"]}
Example Response
{
	"Groups": [{
		"Name": {
			"en-US": "My Recipes"
		},
		"ParentId": null,
		"ParentGroupName": null,
		"GroupType": 70,
		"NutrientIds": [],
		"FoodIds": [],
		"ConsumerIds": [],
		"AllergenRules": {
			
		},
		"Id": "021c021f-000a-0000-8d69-0b60293379ea"
	}],
	"Status": 0
}