_getCarsListPeriph
(API version 2.0)WDS_CarPeriphItem[] _getCarsListPeriph ( string kodf , string username , string pass , int IdCar )
Description
The function returns vehicle information - peripherals
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- int IdCar
- Unique vehicle identifier, -1 for all
Return value
-
WDS_CarPeriphItem
-
int
CarId
Vehicle ID
-
string
Cislo_objektu
Object number
-
string
VIN
VIN
-
int
Prut
flowmeter
-
int
Prut0
Conversion constant of flowmeter [imp / liter]
-
int
Prut1
Counter number 1 - flowmeter conversion constant [imp / liter]
-
int
Prut2
Counter number 2. - flowmeter conversion constant [imp / liter]
-
int
Prut3
Counter number 3 - flowmeter conversion constant [imp / liter]
-
int
Prut4
Counter number 4 - flowmeter conversion constant [imp / liter]
-
int
PrutRev
Return fuel on the flowmeter.
Bit mask:
1 - counter 1
2 - counter 2
4 - counter 3
8 - counter 4 -
int
Plovak
Float
-
string
PlovakIn
Float connection
values:
"RS232", "IN 1", "IN 2", "IN 3", "IN 4" -
int
PlovakTyp
0 - not entered
1 - FMS
2 - existing float
3 - additional measurement of IBR 232
4 - additional measurement of IBR FMS
5 - additional measurement Mesit
6 - DP -
int
TolerTank
Refueling tolerance [l]
-
int
TolerUb
Decrease tolerance [l]
-
float
SpotrFMS
external drive according to data from the FMS [ l / hour]
-
int
FmsStatus
0 - not entered
1 - PTO on 1,2,5-30
2 - PTO on 1-30
3 - PTO on
10 - no PTO -
float
SpotrStani
Average stand-by consumption [ l / hour]
-
float
SpotrTop
Heating consumption [ l / hour]
-
int
PraceVstup
When recording work by input -
The vehicle works if:
0 - not entered
1 - if at least one input is on
2 - if all inputs are running at the same time -
float
KorFMS
FMS consumption correction [%]
-
int
Otackomer
Tachometer
-
float
OtPomer
Tachometer - split rev ratio
-
int
OtVolno
Tachometer - idle rev
-
int
OtPrac
Tachometer - idle rev
-
int
OtJm
Tachometer - nominal rev
-
int
Beton
Concrete mixers
-
float
BetonPomer
Concrete mixers - Splitting ratio
-
int
BetonMinus
Concrete mixers - Negative values
-
int
BetonPlus
Concrete mixers - Positive values
-
int
NapravyKg
load of axle - Loaded from [kg]
-
int
V1
Input 1 - on (0/1)
Similarly, V2 is for input 2, V3, ... V8 -
string
V1p
Input 1 - description
Similarly, V2p is for input 2, V3, ... V8 -
string
V1j
Input 1 - Unit
-
int
V1typ
Input 1 - Type of conversion
-
float
V1s
Input 1 - Consumption
-
int
V1z
Input 1 - On
-
string
V1a1
Input 1 - if the value is between 0 a V1h1, then enter this text
-
string
V1a2
Input 1 - if the value is between V1h1 a V1h2, then enter this text
-
string
V1a3
Input 1 - if the value is greater than V1h2, then enter this text
-
string
V1h1
limit input value 1
-
string
V1h2
limit input value 2
-
long
BitNastav
bit setting of other checkboxes
pro bity 1-17
if ((Bitnastav & 2^n) > 0 ) then off else on
pro bity 18 - 29 vice versa
if ((Bitnastav & 2^n) >0 0 ) then on else off
1 - Car rental
2 - Copy the last logged-in driver (for XX seconds)
3 - not used
4 - End the drive at zero speed
5 - Do not fill in the default driver
6 - Motohours by input
7 - record a road class
8 - Delete distance information for private journeys
9 - Copy the last purpose of the ride
10 - Out-of-hours journeys are recorded as private
11 - Drives outside the work time move to work time
12 - Drives outside the work time do not register
13 - Copy the end of the journey to the beginning of the following one
14 - Agricultural machinery - end a drive after reaching a desired zone on a map or when mesagge is sent
15 - Float - Calculation of fuel consumed in the absence of a flowmeter/FMS
16 - Divide rides that run through midnight
17 - End the ride when standing more than
18 - Record crew
19 - Split the drive when another driver logs in after X minutes
20 - GPS distance - can be edited only by superadmin
21 - Copy the final state of fuel to the next drive
22 - View motohours
23 - portable unit - can be edited only by superadmin
24 - Record work by input
25 - Agriculture machinery - work records on land units
26 - Record a work by FMS-PTO
27 - Motohours according work
28 - remote reading of the tachograph - can be edited only by superadmin
29 - Edit speed limits - can be edited only by superadmin
-
int
CarId
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getCarsListPeriph($kodf, $username, $pass, $IdCar);
Test
To test the function, enter parameters in form below and press Try it out button.