_getSpreadD
(API version 2.0)WDS_SpreadDItem[] _getSpreadD ( string kodf , string username , string pass , string od , string do , int idcar )
Description
The function returns RSD Data transfer statistics
Categories
Parameters
- string kodf
- company code
- string username
- username
- string pass
- password
- string od
- from date
- string do
- to date
- int idcar
- car identifier
Return value
-
WDS_SpreadDItem
-
string
DatGMT
Date in GMT
-
float
Ew
Earth Width
-
float
El
Earth Length
-
int
Work
Work state:
0 - idle
1 - work in progress -
int
TRoute
Type of Maintenance
0 - no maintenance
1 - winter maintenance
2 - checking maintenance
3 - inspectional maintenance
4 - BSP maintenance -
string
DatSend
Date the data message was sent
-
int
Speed
Speed
-
float
Act
Activity:
0 - The engine is switched off
2 - Not sprinkling
3 - Chemical sprinkling
4 - Chemical sprinkling with scraping
5 - Inert sprinkling
6 - Inert gritting with scraping
7 - Scraping -
float
Dist
Distance in kilometers. A negative value means an error.
-
float
Odo
Odometer value in kilometers. A negative value means an error.
-
int
Plow
Plow state:
0 - plow inactive
1 - plow active
2 - sensor error
3 - plow not configured / not implemented -
int
M1
Machine number 1 states:
0 - inactive
1 - active -
int
M2
Machine number 2 states:
0 - inactive
1 - active -
float
Dose
Dose
-
float
WR
The width on the right side
-
float
WL
The width on the left side
-
float
SInert
Sum of inert
-
float
SSalt
Sum of salt
-
float
SBrine
Sum of brine
-
int
SendStart
Send start
-
int
SendCls
Send Cls
-
int
SendNum
Send Number
-
float
AirTemp
Air temperature
-
float
RoadTemp
Road temperature
-
string
DatGMT
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getSpreadD($kodf, $username, $pass, $od, $do, $idcar);
Test
To test the function, enter parameters in form below and press Try it out button.