Versions Compared

Key

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


Info
titleSummary


Excerpt
 
 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.

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



Panel
borderColorblack
bgColor#ffffff
borderWidth1
titleBGColor#f5f5f5
borderStylesolid
titleRequest


ParameterTypeDescription
  request  GroupsRequestA JSON serialized GroupsRequest object



Examples

 


Code Block
titleExample Request
  request={"GroupIds":["021c021f-000a-0000-8d69-0b60293379ea"]}


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"
	}],
	"Status": 0
}


 
Code Block
languagejs
linenumberstrue