dolibarr 21.0.0-beta
|
File that is entry point to call Dolibarr WebServices. More...
Go to the source code of this file.
Functions | |
getThirdParty ($authentication, $id='', $ref='', $ref_ext='', $barcode='', $profid1='', $profid2='') | |
Get a thirdparty. | |
createThirdParty ($authentication, $thirdparty) | |
Create a thirdparty. | |
updateThirdParty ($authentication, $thirdparty) | |
Update a thirdparty. | |
getListOfThirdParties ($authentication, $filterthirdparty) | |
getListOfThirdParties | |
deleteThirdParty ($authentication, $id='', $ref='', $ref_ext='') | |
Delete a thirdparty. | |
File that is entry point to call Dolibarr WebServices.
Definition in file server_thirdparty.php.
createThirdParty | ( | $authentication, | |
$thirdparty ) |
Create a thirdparty.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information |
array{id:string,ref:string,ref_ext:string,fk_user_author:string,status:string,client:string,supplier:string,customer_code:string,supplier_code:string,customer_code_accountancy:string,supplier_code_accountancy:string,date_creation:string,date_modification:string,note_private:string,note_public:string,address:string,zip:string,town:string,region_code:string,country_id:string,country_code:string,country:string,phone:string,fax:string,email:string,url:string,profid1:string,profid2:string,profid3:string,profid4:string,profid5:string,profid6:string,capital:string,vat_used:string,vat_number:string} | $thirdparty Thirdparty |
Definition at line 444 of file server_thirdparty.php.
References $conf, check_authentication(), dol_now(), dol_syslog(), and getCountry().
deleteThirdParty | ( | $authentication, | |
$id = '', | |||
$ref = '', | |||
$ref_ext = '' ) |
Delete a thirdparty.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information | |
string | $id | internal id |
string | $ref | internal reference |
string | $ref_ext | external reference |
Definition at line 828 of file server_thirdparty.php.
References $conf, $id, check_authentication(), and dol_syslog().
getListOfThirdParties | ( | $authentication, | |
$filterthirdparty ) |
getListOfThirdParties
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information |
array<string,mixed> | $filterthirdparty Filter fields (key=>value to filer on. For example 'client'=>2, 'supplier'=>1, 'category'=>idcateg, 'name'=>'searchstring', ...) |
Definition at line 716 of file server_thirdparty.php.
References $conf, check_authentication(), and dol_syslog().
getThirdParty | ( | $authentication, | |
$id = '', | |||
$ref = '', | |||
$ref_ext = '', | |||
$barcode = '', | |||
$profid1 = '', | |||
$profid2 = '' ) |
Get a thirdparty.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information | |
string | $id | internal id |
string | $ref | internal reference |
string | $ref_ext | external reference |
string | $barcode | barcode |
string | $profid1 | profid1 |
string | $profid2 | profid2 |
Definition at line 322 of file server_thirdparty.php.
References $conf, $id, check_authentication(), dol_print_date(), and dol_syslog().
updateThirdParty | ( | $authentication, | |
$thirdparty ) |
Update a thirdparty.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information |
array{id:string,ref:string,ref_ext:string,fk_user_author:string,status:string,client:string,supplier:string,customer_code:string,supplier_code:string,customer_code_accountancy:string,supplier_code_accountancy:string,date_creation:string,date_modification:string,note_private:string,note_public:string,address:string,zip:string,town:string,region_code:string,country_id:string,country_code:string,country:string,phone:string,fax:string,email:string,url:string,profid1:string,profid2:string,profid3:string,profid4:string,profid5:string,profid6:string,capital:string,vat_used:string,vat_number:string} | $thirdparty Thirdparty |
Definition at line 577 of file server_thirdparty.php.
References $conf, $object, check_authentication(), dol_now(), dol_syslog(), and getCountry().