dolibarr 21.0.0-beta
|
File that is entry point to call Dolibarr WebServices. More...
Go to the source code of this file.
Functions | |
createProject ($authentication, $project) | |
Create project. | |
getProject ($authentication, $id='', $ref='') | |
Get a project. | |
File that is entry point to call Dolibarr WebServices.
Definition in file server_project.php.
createProject | ( | $authentication, | |
$project ) |
Create project.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information |
array{id:string,ref:string,label:string,thirdparty_id:int,public:int,status:int,date_start:string,date_end:string,budget:int,description:string,elements:array<array{id:int,user:int}>} | $project Project info |
Definition at line 264 of file server_project.php.
References $conf, check_authentication(), dol_stringtotime(), and dol_syslog().
getProject | ( | $authentication, | |
$id = '', | |||
$ref = '' ) |
Get a project.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information | |
string | $id | internal id |
string | $ref | internal reference |
Definition at line 360 of file server_project.php.
References $conf, $id, check_authentication(), dol_print_date(), and dol_syslog().