GET api/GCodeManager/GetGroupsByMachineId/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MachineGroupViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| MachineId | integer |
None. |
|
| GCodeGroupId | integer |
None. |
|
| MachineName | string |
None. |
|
| GroupName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"machineId": 2,
"gCodeGroupId": 3,
"machineName": "sample string 4",
"groupName": "sample string 5"
},
{
"id": 1,
"machineId": 2,
"gCodeGroupId": 3,
"machineName": "sample string 4",
"groupName": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfMachineGroupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
<MachineGroupViewModel>
<GCodeGroupId>3</GCodeGroupId>
<GroupName>sample string 5</GroupName>
<Id>1</Id>
<MachineId>2</MachineId>
<MachineName>sample string 4</MachineName>
</MachineGroupViewModel>
<MachineGroupViewModel>
<GCodeGroupId>3</GCodeGroupId>
<GroupName>sample string 5</GroupName>
<Id>1</Id>
<MachineId>2</MachineId>
<MachineName>sample string 4</MachineName>
</MachineGroupViewModel>
</ArrayOfMachineGroupViewModel>