POST api/GCodeManager/AssignGCodeTemplate
Request Information
URI Parameters
None.
Body Parameters
ClientMachineViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SIMMachineId | integer |
None. |
|
| CompanyName | string |
None. |
|
| Machine | string |
None. |
|
| Model | string |
None. |
|
| V10CompanyId | integer |
None. |
|
| GCodeTemplateId | integer |
None. |
|
| fileName | string |
None. |
|
| CompanyUniqueId | globally unique identifier |
None. |
|
| MachineModelLookupId | integer |
None. |
|
| DriverName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"simMachineId": 2,
"companyName": "sample string 3",
"machine": "sample string 4",
"model": "sample string 5",
"v10CompanyId": 1,
"gCodeTemplateId": 6,
"fileName": "sample string 7",
"companyUniqueId": "33ac36ce-9c4f-49f7-ae4e-97543abc415f",
"machineModelLookupId": 1,
"driverName": "sample string 9"
}
application/xml, text/xml
Sample:
<ClientMachineViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <CompanyName>sample string 3</CompanyName> <CompanyUniqueId>33ac36ce-9c4f-49f7-ae4e-97543abc415f</CompanyUniqueId> <DriverName>sample string 9</DriverName> <GCodeTemplateId>6</GCodeTemplateId> <Id>1</Id> <Machine>sample string 4</Machine> <MachineModelLookupId>1</MachineModelLookupId> <Model>sample string 5</Model> <SIMMachineId>2</SIMMachineId> <V10CompanyId>1</V10CompanyId> <fileName>sample string 7</fileName> </ClientMachineViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.