GET api/GCodeManager/GetMachineModelLookupByMachineLookupId?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SIMMachineModelLookupViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| MachineLookupId | integer |
None. |
|
| Model | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"machineLookupId": 2,
"model": "sample string 3"
},
{
"id": 1,
"machineLookupId": 2,
"model": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfSIMMachineModelLookupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
<SIMMachineModelLookupViewModel>
<Id>1</Id>
<MachineLookupId>2</MachineLookupId>
<Model>sample string 3</Model>
</SIMMachineModelLookupViewModel>
<SIMMachineModelLookupViewModel>
<Id>1</Id>
<MachineLookupId>2</MachineLookupId>
<Model>sample string 3</Model>
</SIMMachineModelLookupViewModel>
</ArrayOfSIMMachineModelLookupViewModel>