POST api/GCodeManager/SaveUpdateDriverMakeModel
Request Information
URI Parameters
None.
Body Parameters
DriverMakeModelViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Model | string |
None. |
|
| Year | integer |
None. |
|
| Controller | string |
None. |
|
| AxisCount | integer |
None. |
|
| GCodeDriverId | integer |
None. |
|
| MachineLookupId | integer |
None. |
|
| MachineModelLookupId | integer |
None. |
|
| MachineName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"model": "sample string 2",
"year": 1,
"controller": "sample string 3",
"axisCount": 1,
"gCodeDriverId": 4,
"machineLookupId": 5,
"machineModelLookupId": 1,
"machineName": "sample string 6"
}
application/xml, text/xml
Sample:
<DriverMakeModelViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <AxisCount>1</AxisCount> <Controller>sample string 3</Controller> <GCodeDriverId>4</GCodeDriverId> <Id>1</Id> <MachineLookupId>5</MachineLookupId> <MachineModelLookupId>1</MachineModelLookupId> <MachineName>sample string 6</MachineName> <Model>sample string 2</Model> <Year>1</Year> </DriverMakeModelViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DriverMakeModelViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Model | string |
None. |
|
| Year | integer |
None. |
|
| Controller | string |
None. |
|
| AxisCount | integer |
None. |
|
| GCodeDriverId | integer |
None. |
|
| MachineLookupId | integer |
None. |
|
| MachineModelLookupId | integer |
None. |
|
| MachineName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"model": "sample string 2",
"year": 1,
"controller": "sample string 3",
"axisCount": 1,
"gCodeDriverId": 4,
"machineLookupId": 5,
"machineModelLookupId": 1,
"machineName": "sample string 6"
}
application/xml, text/xml
Sample:
<DriverMakeModelViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <AxisCount>1</AxisCount> <Controller>sample string 3</Controller> <GCodeDriverId>4</GCodeDriverId> <Id>1</Id> <MachineLookupId>5</MachineLookupId> <MachineModelLookupId>1</MachineModelLookupId> <MachineName>sample string 6</MachineName> <Model>sample string 2</Model> <Year>1</Year> </DriverMakeModelViewModel>