POST api/Product/GetSummaryFinalProductsFromIngredientId
Request Information
URI Parameters
None.
Body Parameters
FromIngredientRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| GroupId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"GroupId": 2
}
application/xml, text/xml
Sample:
<FromIngredientRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Plugin.ApiServices.DTO.Product"> <GroupId>2</GroupId> <Id>1</Id> </FromIngredientRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SummaryFinalProductFromIngredientDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IngredientId | integer |
None. |
|
| TotalFinalProducts | integer |
None. |
|
| TotalProcessingOperationPrograms | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"IngredientId": 1,
"TotalFinalProducts": 2,
"TotalProcessingOperationPrograms": 3
}
application/xml, text/xml
Sample:
<SummaryFinalProductFromIngredientDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Plugin.ApiServices.DTO.Product"> <IngredientId>1</IngredientId> <TotalFinalProducts>2</TotalFinalProducts> <TotalProcessingOperationPrograms>3</TotalProcessingOperationPrograms> </SummaryFinalProductFromIngredientDto>