GET api/GCodeManager/GetMakeModelByDriverId/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DriverMakeModelViewModel
NameDescriptionTypeAdditional 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"
  },
  {
    "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:
<ArrayOfDriverMakeModelViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <DriverMakeModelViewModel>
    <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>
  <DriverMakeModelViewModel>
    <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>
</ArrayOfDriverMakeModelViewModel>