dolibarr 20.0.0
|
File that is entry point to call Dolibarr WebServices. More...
Go to the source code of this file.
Functions | |
getProductOrService ($authentication, $id=0, $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.
array | $authentication | Array of authentication information |
array | $product | Product |
Definition at line 505 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 838 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 925 of file server_productorservice.php.
References check_authentication(), and dol_syslog().
getProductOrService | ( | $authentication, | |
$id = 0, | |||
$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(), get_exdir(), and getDolGlobalString().
getProductsForCategory | ( | $authentication, | |
$id, | |||
$lang = '' ) |
Get list of products for a category.
array | $authentication | Array of authentication information |
int | $id | Category id |
string | $lang | Force lang |
Definition at line 1000 of file server_productorservice.php.
References check_authentication(), dol_print_date(), dol_syslog(), get_exdir(), and getDolGlobalString().
updateProductOrService | ( | $authentication, | |
$product ) |
Update a product or service.
array | $authentication | Array of authentication information |
array | $product | Product |
Definition at line 671 of file server_productorservice.php.
References check_authentication(), dol_now(), dol_syslog(), and getCountry().