POST api/GCodeManager/GetTemplatesByMachineGroups
Request Information
URI Parameters
None.
Body Parameters
Collection of MachineGroupViewModel| Name | Description | Type | Additional information | 
|---|---|---|---|
| Id | integer | 
                             None.  | 
                |
| MachineId | integer | 
                             None.  | 
                |
| GCodeGroupId | integer | 
                             None.  | 
                |
| MachineName | string | 
                             None.  | 
                |
| GroupName | string | 
                             None.  | 
                
Request 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>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
Collection of GCodeGroupTemplateViewModel| Name | Description | Type | Additional information | 
|---|---|---|---|
| Id | integer | 
                             None.  | 
                |
| GCodeGroupId | integer | 
                             None.  | 
                |
| GCodeTemplateId | integer | 
                             None.  | 
                |
| TemplateFileName | string | 
                             None.  | 
                |
| GroupName | string | 
                             None.  | 
                |
| TemplateRemarks | string | 
                             None.  | 
                |
| TemplateNotes | string | 
                             None.  | 
                |
| DriverName | string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
        
[
  {
    "id": 1,
    "gCodeGroupId": 2,
    "gCodeTemplateId": 3,
    "templateFileName": "sample string 4",
    "groupName": "sample string 5",
    "templateRemarks": "sample string 6",
    "templateNotes": "sample string 7",
    "driverName": "sample string 8"
  },
  {
    "id": 1,
    "gCodeGroupId": 2,
    "gCodeTemplateId": 3,
    "templateFileName": "sample string 4",
    "groupName": "sample string 5",
    "templateRemarks": "sample string 6",
    "templateNotes": "sample string 7",
    "driverName": "sample string 8"
  }
]
        application/xml, text/xml
            Sample:
<ArrayOfGCodeGroupTemplateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <GCodeGroupTemplateViewModel>
    <DriverName>sample string 8</DriverName>
    <GCodeGroupId>2</GCodeGroupId>
    <GCodeTemplateId>3</GCodeTemplateId>
    <GroupName>sample string 5</GroupName>
    <Id>1</Id>
    <TemplateFileName>sample string 4</TemplateFileName>
    <TemplateNotes>sample string 7</TemplateNotes>
    <TemplateRemarks>sample string 6</TemplateRemarks>
  </GCodeGroupTemplateViewModel>
  <GCodeGroupTemplateViewModel>
    <DriverName>sample string 8</DriverName>
    <GCodeGroupId>2</GCodeGroupId>
    <GCodeTemplateId>3</GCodeTemplateId>
    <GroupName>sample string 5</GroupName>
    <Id>1</Id>
    <TemplateFileName>sample string 4</TemplateFileName>
    <TemplateNotes>sample string 7</TemplateNotes>
    <TemplateRemarks>sample string 6</TemplateRemarks>
  </GCodeGroupTemplateViewModel>
</ArrayOfGCodeGroupTemplateViewModel>