GET Device/{deviceId}/InstallationDetails
Get installation details of device
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A enumeration of AssetRestItem objects.
DeviceInstallationDetailsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceId | integer |
None. |
|
| FkDeviceTypeId | integer |
None. |
|
| PermittedIdlingInMinutes | integer |
None. |
|
| Identifier | string |
None. |
|
| Ignition | LocationEventType |
None. |
|
| Input1 | InstallationDetailsInput |
None. |
|
| Input2 | InstallationDetailsInput |
None. |
|
| Input3 | InstallationDetailsInput |
None. |
|
| Input4 | InstallationDetailsInput |
None. |
|
| Input5 | InstallationDetailsInput |
None. |
|
| Input6 | InstallationDetailsInput |
None. |
|
| IsStickyDriver | boolean |
None. |
|
| A1 | integer |
None. |
|
| A2 | integer |
None. |
|
| ExternalPower | integer |
None. |
|
| Output1 | integer |
None. |
|
| Output2 | integer |
None. |
|
| Output3 | integer |
None. |
|
| Output4 | integer |
None. |
|
| Auxiliaries | integer |
None. |
|
| CanBusParameters | integer |
None. |
|
| IdlingCalculationMethod | integer |
None. |
|
| IdlingRpmDuration | integer |
None. |
|
| IdlingRpmIsActive | boolean |
None. |
|
| IdlingRpmValue | integer |
None. |
|
| IdlingInputDuration | integer |
None. |
|
| IdlingInputIsActive | boolean |
None. |
|
| IdlingInputValue | integer |
None. |
|
| IdlingVoltageDuration | integer |
None. |
|
| IdlingVoltageIsActive | boolean |
None. |
|
| IdlingVoltageValue | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"DeviceId": 1,
"FkDeviceTypeId": 2,
"PermittedIdlingInMinutes": 3,
"Identifier": "sample string 4",
"Ignition": 0,
"Input1": {
"EventType": "sample string 1",
"IsInverted": true
},
"Input2": {
"EventType": "sample string 1",
"IsInverted": true
},
"Input3": {
"EventType": "sample string 1",
"IsInverted": true
},
"Input4": {
"EventType": "sample string 1",
"IsInverted": true
},
"Input5": {
"EventType": "sample string 1",
"IsInverted": true
},
"Input6": {
"EventType": "sample string 1",
"IsInverted": true
},
"IsStickyDriver": true,
"A1": 6,
"A2": 7,
"ExternalPower": 8,
"Output1": 9,
"Output2": 10,
"Output3": 11,
"Output4": 12,
"Auxiliaries": 13,
"CanBusParameters": 14,
"IdlingCalculationMethod": 15,
"IdlingRpmDuration": 16,
"IdlingRpmIsActive": true,
"IdlingRpmValue": 18,
"IdlingInputDuration": 19,
"IdlingInputIsActive": true,
"IdlingInputValue": 1,
"IdlingVoltageDuration": 21,
"IdlingVoltageIsActive": true,
"IdlingVoltageValue": 23.1
}
application/xml, text/xml
Sample:
<DeviceInstallationDetailsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CheetaCommon.DataAbstraction.Models">
<A1>6</A1>
<A2>7</A2>
<Auxiliaries>13</Auxiliaries>
<CanBusParameters>14</CanBusParameters>
<DeviceId>1</DeviceId>
<ExternalPower>8</ExternalPower>
<FkDeviceTypeId>2</FkDeviceTypeId>
<Identifier>sample string 4</Identifier>
<IdlingCalculationMethod>15</IdlingCalculationMethod>
<IdlingInputDuration>19</IdlingInputDuration>
<IdlingInputIsActive>true</IdlingInputIsActive>
<IdlingInputValue>1</IdlingInputValue>
<IdlingRpmDuration>16</IdlingRpmDuration>
<IdlingRpmIsActive>true</IdlingRpmIsActive>
<IdlingRpmValue>18</IdlingRpmValue>
<IdlingVoltageDuration>21</IdlingVoltageDuration>
<IdlingVoltageIsActive>true</IdlingVoltageIsActive>
<IdlingVoltageValue>23.1</IdlingVoltageValue>
<Ignition>Unknown</Ignition>
<Input1>
<EventType>sample string 1</EventType>
<IsInverted>true</IsInverted>
</Input1>
<Input2>
<EventType>sample string 1</EventType>
<IsInverted>true</IsInverted>
</Input2>
<Input3>
<EventType>sample string 1</EventType>
<IsInverted>true</IsInverted>
</Input3>
<Input4>
<EventType>sample string 1</EventType>
<IsInverted>true</IsInverted>
</Input4>
<Input5>
<EventType>sample string 1</EventType>
<IsInverted>true</IsInverted>
</Input5>
<Input6>
<EventType>sample string 1</EventType>
<IsInverted>true</IsInverted>
</Input6>
<IsStickyDriver>true</IsStickyDriver>
<Output1>9</Output1>
<Output2>10</Output2>
<Output3>11</Output3>
<Output4>12</Output4>
<PermittedIdlingInMinutes>3</PermittedIdlingInMinutes>
</DeviceInstallationDetailsDTO>