_getCarRental

(API version 2.0)

WDS_CarRentalItem[] _getCarRental ( string kodf , string username , string pass , string DateFrom , string DateTo , int CarRentalOnly , int CarId , int CarRentalId )

Description

The function returns records of the car rental / travel orders valid for the company and the time window.

Categories

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
string DateFrom
the beginning of the time window
string DateTo
the end of the time window
int CarRentalOnly
1 - only car rental, 0 - all travel orders
int CarId
unique vehicle identifier, -1 for everything
int CarRentalId
Travel order ID / Request for car rental, -1 for all records

Return value

WDS_CarRentalItem[]
  • WDS_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

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getCarRental($kodf, $username, $pass, $DateFrom, $DateTo, $CarRentalOnly, $CarId, $CarRentalId);

Test

To test the function, enter parameters in form below and press Try it out button.

Company login code
Login username
Login password
the beginning of the time window
the end of the time window
1 - only car rental, 0 - all travel orders
unique vehicle identifier, -1 for everything
Travel order ID / Request for car rental, -1 for all records

* Required field