_getCarRentalOrders

(API version 2.0)

WDS_CarRentalOrderItem[] _getCarRentalOrders ( string kodf , string username , string pass , string from , string to [ , int[] orderidList ] )

Description

Return all loans for specific period.

Categories

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
string from
Date from
string to
Date to
int[] orderidList
List of orders ids
Date from and date to are ignored when filled in.

Return value

WDS_CarRentalOrderItem[]
  • WDS_CarRentalOrderItem
    • int id

      Order id

    • string ordernumber

      Order number [YEAR-XXXXXX]

    • int carapprovalstate

      State of car approval

    • int rideapprovalstate

      State of ride approval

    • int userid

      User id

    • string username

      User name

    • string email

      E-mail

    • string phone

      Phone

    • int officeid

      Office id

    • int iscanceled

      Order cancellation indicator

    • int isservice

      Order service indicator

    • string datefrom

      Date from

    • string dateto

      Date to

    • int parkingplacesharing

      Parking place sharing

    • int driverid

      Driver id

    • string drivername

      Driver's name

    • string drivernumber

      Driver's personal number

    • int carid

      Car id

    • string numberplate

      Registration plate

    • int type
    • string purpose

      Purpose

    • string address

      Address

    • string note

      Note

    • int travelorderid

      Travel id

    • string codrivers

      Codrivers list

    • int allowpassangers

      Allow passangers to join as codrivers.

    • string equipment

      Equipment

    • array[]

      Date of vehicle assignment

      • string[]
        • string item

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getCarRentalOrders($kodf, $username, $pass, $from, $to, $orderidList);

Test

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

Company code
Login username
Login password
Date from
Date to
int[] orderidList
List of orders ids
Date from and date to are ignored when filled in.

* Required field