POST api/GCodeManager/AssignGroupToMachine
Request Information
URI Parameters
None.
Body Parameters
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"
}
application/xml, text/xml
Sample:
<MachineGroupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <GCodeGroupId>3</GCodeGroupId> <GroupName>sample string 5</GroupName> <Id>1</Id> <MachineId>2</MachineId> <MachineName>sample string 4</MachineName> </MachineGroupViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.