_getTrailer2
(API version 2.0)WDS_Trailer2Item[] _getTrailer2 ( string kodf , string username , string pass , int idtrailer )
Description
The function returns a list of company semitrailers including all the details
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- int idtrailer
- Trailer ID filter
-1 - all
Return value
WDS_Trailer2Item[]
-
WDS_Trailer2Item
-
int
IdT
Trailer Id
-
string
Identify
Trailer registration number
-
string
TName
registration number
-
int
IdCar
Starting vehicle ID
-
int
Cargroupid
Group ID
-
string
Divize
division
-
string
Stredisko
Center
-
string
Firma
Company
-
string
Provozovna
Establishment
-
int
Druh
Type
Dial:
1 - Semi-trailer
2 - Trailer
0 - .. Not entered -
int
Naprav
Number of axles
-
string
Kateg
Category
-
string
Kateg2
Subcategory
-
string
KategV
Vehicle category
-
float
Objem
Capacity [m3]
-
string
Vyrobce
Producer
-
string
VyrC
Serial number
-
string
RokV
Year of manufacture
-
int
Hm
Weight without load [kg]
-
string
Pozn1
Note 1
-
string
Pozn2
Note 2
-
int
Disabled
eliminate
-
string
DatDis
eliminated date GMT
-
int
IdT
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getTrailer2($kodf, $username, $pass, $idtrailer);
Test
To test the function, enter parameters in form below and press Try it out button.