_getCarRentalBilling
(API version 2.0)WDS_CarRentalBillingItem[] _getCarRentalBilling ( string kodf , string username , string pass , string from , string to [ , int carid ] )
Description
Return all loans for specific period.
Categories
Tags
- Car rental
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- string from
- Date from [UTC time, format: yyyy:mm:dd hh:mm:ss]
- string to
- Date to [UTC time, format: yyyy:mm:dd hh:mm:ss]
- int carid
Return value
-
WDS_CarRentalBillingItem
-
int
orderid
Order id
-
string
ordernumber
Order number [ YEAR-XXXXXX ]
-
string
datefrom
Date from [UTC time, format: yyyy:mm:dd hh:mm:ss]
-
string
dateto
Date to [UTC time, format: yyyy:mm:dd hh:mm:ss]
-
int
carid
Car id
-
string
numberplate
Vehicle registration number
-
int
driverid
Driver id
-
string
drivername
Driver name
-
string
drivercenter
Driver center
-
string
costcenter
Cost center of Vehicle
-
int
type
0 - business, 1 - private, 2 - car servis, 3 - short-term-lease
-
string
carapprover
Car approver
-
string
rideapprover
Ride approver
-
string
keygive
User who gives a key
-
string
keyget
User who gets a key
-
int
officeid
Office id
-
float
km
Total km
-
WDS_CarRentalRouteItem[]
Loans splited to days
-
WDS_CarRentalRouteItem
- string datefrom
- string dateto
- float km
- long idroute
-
WDS_CarRentalRouteItem
-
string
keystartdate
date of receipt of the keys (start of the loan) [UTC time, format: yyyy:mm:dd hh:mm:ss]
-
string
keyenddate
date of return of keys (end of loan) [UTC time, format: yyyy:mm:dd hh:mm:ss]
-
string
datecancel
the date and time of cancellation [UTC time, format: yyyy:mm:dd hh:mm:ss]
-
string
driverpersonalnumber
driver/employee identification (personal number)
-
string
datevehicleassign
date and time of vehicle assignment
-
float
rentseconds
number of seconds of rental
-
int
orderid
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getCarRentalBilling($kodf, $username, $pass, $from, $to, $carid);
Test
To test the function, enter parameters in form below and press Try it out button.