GET api/IngredientGroup?SourceId={SourceId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SourceId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MNU_IngredientGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| LookupId | string |
None. |
|
| IngredientSourceId | integer |
None. |
|
| CloneObject | Object |
None. |
|
| Dirty | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Description": "sample string 1",
"LookupId": "sample string 2",
"IngredientSourceId": 1,
"CloneObject": {
"Id": null,
"Description": null,
"LookupId": null,
"IngredientSourceId": null,
"CloneObject": null,
"Dirty": false
},
"Dirty": true
},
{
"Id": 1,
"Description": "sample string 1",
"LookupId": "sample string 2",
"IngredientSourceId": 1,
"CloneObject": {
"Id": null,
"Description": null,
"LookupId": null,
"IngredientSourceId": null,
"CloneObject": null,
"Dirty": false
},
"Dirty": true
}
]
application/xml, text/xml
Sample:
<ArrayOfMNU_IngredientGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MP.BaseObject">
<MNU_IngredientGroup>
<Description>sample string 1</Description>
<Id>1</Id>
<IngredientSourceId>1</IngredientSourceId>
<LookupId>sample string 2</LookupId>
</MNU_IngredientGroup>
<MNU_IngredientGroup>
<Description>sample string 1</Description>
<Id>1</Id>
<IngredientSourceId>1</IngredientSourceId>
<LookupId>sample string 2</LookupId>
</MNU_IngredientGroup>
</ArrayOfMNU_IngredientGroup>