Versions Compared

Key

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

Excerpt
 Retrieves an analysis for the entire food identified by the specified FoodId value if it is published.
  

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

Panel
borderColorblack
bgColor#ffffff
borderWidth1
titleBGColor#f5f5f5
borderStylesolid
titleRequest
ParameterTypeDescription
 requestAnalsysisByFoodIdRequestA JSON serialized AnalysisByFoodIdRequest object

Examples

 

Code Block
titleExample Request
  request={"FoodId":"dbfac0f0-b138-08c8-27c3-41e8c688e289", "UnitId":"a7df0af5-001f-0000-7484-751e8eaf05c6", "Quantity":{"Value":1}}
Code Block
languagejs
titleExample Response
 
Code Block
languagejs
linenumberstrue