_setTask
(API version 2.0)int _setTask ( string kodf , string username , string pass , WDS_FullTaskItem fullTaskItem )
Description
The function create or update the task.
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
-
WDS_FullTaskItem fullTaskItem
-
int
InspectDateCheck
Checkbox inspect date
-
float
Price
Price
-
int
DialogWindowOnWebdispecinkCheck
Checkbox open dialog window
-
int
SendInfoEmailCheck
Checkbox send email
-
int
SendInfoSmsCheck
Checkbox send sms
-
int
PurposeType
Task type
-
string
DocumentNumber
Task Document Number
-
string
InternalDocumentNumber
Internal Document Number
-
int
ExpectedLengthOfDays
Expected Length of days
-
int
IdTask
task id
-
int
IdCar
vehicle id
-
int
IdDriver
driver id
-
int
IdTrailer
id trailer
-
string
Title
name
-
string
Note
note
-
string
DateTask
date of task
-
int
Status
status
-
string
DateRealize
date of realization
-
string
FindDate
check date
-
float
FindKm
check state of km
-
float
FindMh
check state mh
-
int
BeforeDays
note days ahead
-
float
BeforeKm
to point the km forward
-
float
BeforeMh
alert mh forward
-
int
RepeatDateUnits
repeat after
-
int
RepeatDatePeriod
repeat after period
-
float
RepeatKm
repeat after X km
-
float
RepeatMh
repeat after X mh
-
string
Email
Email to be notified
-
string
Mobil
mobile number where to get SMS alert
-
int
Info
alert on Webdispecink webside
-
int
InspectDateCheck
Return value
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_setTask($kodf, $username, $pass, $fullTaskItem);
Test
To test the function, enter parameters in form below and press Try it out button.