_logAccess
(API version 2.0)WDS_LogAccessItem _logAccess ( string kodf , string username , string pass , int platform , int OSVersionCode , string OSversionName , string DeviceMan , string DeviceMod , int AppCode , string AppName , int AppVersion , string IMEI , string Operator )
Description
The feature that mobile devices log into system and gets information about the current version of the product or other news.
Categories
Parameters
- string kodf
- Company code
- string username
- Username
- string pass
- Password
- int platform
- Platform:
1 = Android
2 = iOS
3 = Windows Phone 7
10 = Windows App & Service (C# aj.)
11 = PHP script
12 = Javascript - int OSVersionCode
- The version number of the operating system
- string OSversionName
- The version of the operating system as text
- string DeviceMan
- Mobile device producer
- string DeviceMod
- Mobile device model
- int AppCode
- Application code:
0 = as text description (for non-mobile apps)
1 = WD Mobile (for Android)
2 = WD Fleet
3 = WD Locator
4 = Skoda Control Me
5 = Skoda Connected Car - string AppName
- Application name
- int AppVersion
- Application version
- string IMEI
- Mobile device IMEI
- string Operator
- Operator - if available
Return value
- int Logged
- int CurrentVersion
-
string[]
- string item
- int CompanyId
- int UserId
-
int
DriverId
DriverId has a filled value if the user has the right and there is only one driver with the same personal number
- string UserActiveFrom
- string UserActiveTo
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_logAccess($kodf, $username, $pass, $platform, $OSVersionCode, $OSversionName, $DeviceMan, $DeviceMod, $AppCode, $AppName, $AppVersion, $IMEI, $Operator);
Test
To test the function, enter parameters in form below and press Try it out button.