POST api/device/getdeviceconfiguration
Get Device Configuration
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Device Configuration
DeviceConfigurationApiModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceApiUrl | string |
None. |
|
| ServiceApiLogin | string |
None. |
|
| ServiceApiPassword | string |
None. |
|
| Firmware | string |
None. |
|
| MeasPeriod | integer |
None. |
|
| GpsPeriod | integer |
None. |
|
| GpsOnMax | integer |
None. |
|
| GpsDurMax | integer |
None. |
|
| GsmPeriod | integer |
None. |
|
| GsmOnMax | integer |
None. |
|
| GsmNetMax | integer |
None. |
|
| ShockOn | EnumOnOffGPS |
None. |
|
| ShockLimit | integer |
None. |
|
| TempMaxOn | EnumOnOffGPS |
None. |
|
| TempMaxLimit | integer |
None. |
|
| TempMinOn | EnumOnOffGPS |
None. |
|
| TempMinLimit | integer |
None. |
|
| HumMaxOn | EnumOnOffGPS |
None. |
|
| HumMaxLimit | integer |
None. |
|
| LightMaxOn | EnumOnOffGPS |
None. |
|
| LightMaxLimit | integer |
None. |
|
| BackupSmsOn | boolean |
None. |
|
| PhoneNumber | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ServiceApiUrl": "sample string 1",
"ServiceApiLogin": "sample string 2",
"ServiceApiPassword": "sample string 3",
"Firmware": "sample string 4",
"MeasPeriod": 5,
"GpsPeriod": 6,
"GpsOnMax": 7,
"GpsDurMax": 8,
"GsmPeriod": 9,
"GsmOnMax": 10,
"GsmNetMax": 11,
"ShockOn": 0,
"ShockLimit": 12,
"TempMaxOn": 0,
"TempMaxLimit": 13,
"TempMinOn": 0,
"TempMinLimit": 14,
"HumMaxOn": 0,
"HumMaxLimit": 15,
"LightMaxOn": 0,
"LightMaxLimit": 16,
"BackupSmsOn": true,
"PhoneNumber": "sample string 18"
}
application/xml, text/xml
Sample:
<DeviceConfigurationApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.CPCNL.BLL.Models.ApiModels"> <BackupSmsOn>true</BackupSmsOn> <Firmware>sample string 4</Firmware> <GpsDurMax>8</GpsDurMax> <GpsOnMax>7</GpsOnMax> <GpsPeriod>6</GpsPeriod> <GsmNetMax>11</GsmNetMax> <GsmOnMax>10</GsmOnMax> <GsmPeriod>9</GsmPeriod> <HumMaxLimit>15</HumMaxLimit> <HumMaxOn>Off</HumMaxOn> <LightMaxLimit>16</LightMaxLimit> <LightMaxOn>Off</LightMaxOn> <MeasPeriod>5</MeasPeriod> <PhoneNumber>sample string 18</PhoneNumber> <ServiceApiLogin>sample string 2</ServiceApiLogin> <ServiceApiPassword>sample string 3</ServiceApiPassword> <ServiceApiUrl>sample string 1</ServiceApiUrl> <ShockLimit>12</ShockLimit> <ShockOn>Off</ShockOn> <TempMaxLimit>13</TempMaxLimit> <TempMaxOn>Off</TempMaxOn> <TempMinLimit>14</TempMinLimit> <TempMinOn>Off</TempMinOn> </DeviceConfigurationApiModel>