_setCarRental
(API version 2.0)int _setCarRental ( string kodf , string username , string pass , WDS_CarRentalItem CarRentalItem )
Description
The function changes the records of the car rental / travel orders.
Categories
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
-
WDS_CarRentalItem CarRentalItem
- int CarRentalId
- string BookId
- int IdCar
- string Car
- int IdDriver
- string Driver
- string DriverCode
- string Purpose
- string StartDate
- string EndDate
- string StartPlace
- string EndPlace
- int CarType
- int RoadType
- float Advance
- string AdvanceDate
- int Status
- string Crew
- date, if it is WDS_CarRentalItem->CarRentalId == 0, then a new entry is inserted, otherwise the existing one changes
Return value
int
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_setCarRental($kodf, $username, $pass, $CarRentalItem);
Test
To test the function, enter parameters in form below and press Try it out button.