dolibarr 18.0.6
|
File that is entry point to call Dolibarr WebServices. More...
Go to the source code of this file.
Functions | |
getProductOrService ($authentication, $id='', $ref='', $ref_ext='', $lang='') | |
Get produt or service. | |
createProductOrService ($authentication, $product) | |
Create an invoice. | |
updateProductOrService ($authentication, $product) | |
Update a product or service. | |
deleteProductOrService ($authentication, $listofidstring) | |
Delete a product or service. | |
getListOfProductsOrServices ($authentication, $filterproduct) | |
getListOfProductsOrServices | |
getProductsForCategory ($authentication, $id, $lang='') | |
Get list of products for a category. | |
File that is entry point to call Dolibarr WebServices.
Definition in file server_productorservice.php.
createProductOrService | ( | $authentication, | |
$product ) |
Create an invoice.
Definition at line 502 of file server_productorservice.php.
References check_authentication(), dol_now(), dol_syslog(), and getCountry().
deleteProductOrService | ( | $authentication, | |
$listofidstring ) |
Delete a product or service.
array | $authentication | Array of authentication information |
string | $listofidstring | List of id with comma |
Definition at line 827 of file server_productorservice.php.
References check_authentication(), and dol_syslog().
getListOfProductsOrServices | ( | $authentication, | |
$filterproduct ) |
getListOfProductsOrServices
array | $authentication | Array of authentication information |
array | $filterproduct | Filter fields |
Definition at line 912 of file server_productorservice.php.
References check_authentication(), and dol_syslog().
getProductOrService | ( | $authentication, | |
$id = '', | |||
$ref = '', | |||
$ref_ext = '', | |||
$lang = '' ) |
Get produt or service.
array | $authentication | Array of authentication information |
int | $id | Id of object |
string | $ref | Ref of object |
string | $ref_ext | Ref external of object |
string | $lang | Lang to force |
French VAT NPR
Spanish local taxes
Definition at line 365 of file server_productorservice.php.
References check_authentication(), dol_print_date(), dol_syslog(), and get_exdir().
getProductsForCategory | ( | $authentication, | |
$id, | |||
$lang = '' ) |
Get list of products for a category.
array | $authentication | Array of authentication information |
int | $id | Category id |
Translate | $lang | Force lang |
Definition at line 987 of file server_productorservice.php.
References check_authentication(), dol_print_date(), dol_syslog(), and get_exdir().
updateProductOrService | ( | $authentication, | |
$product ) |
Update a product or service.
Definition at line 664 of file server_productorservice.php.
References check_authentication(), dol_now(), dol_syslog(), and getCountry().