POST api/GCodeManager/AssignGCodeTemplate
Request Information
URI Parameters
None.
Body Parameters
ClientMachineViewModelName | 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": "1a99fddd-236e-4afc-b7d8-a03d6cd58755", "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>1a99fddd-236e-4afc-b7d8-a03d6cd58755</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.