dolibarr  19.0.0-dev
Functions
server_thirdparty.php File Reference

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. More...
 
 createThirdParty ($authentication, $thirdparty)
 Create a thirdparty. More...
 
 updateThirdParty ($authentication, $thirdparty)
 Update a thirdparty. More...
 
 getListOfThirdParties ($authentication, $filterthirdparty)
 getListOfThirdParties More...
 
 deleteThirdParty ($authentication, $id='', $ref='', $ref_ext='')
 Delete a thirdparty. More...
 

Detailed Description

File that is entry point to call Dolibarr WebServices.

Definition in file server_thirdparty.php.

Function Documentation

◆ createThirdParty()

createThirdParty (   $authentication,
  $thirdparty 
)

Create a thirdparty.

Parameters
array$authenticationArray of authentication information
Societe$thirdpartyThirdparty
Returns
array Array result

Definition at line 435 of file server_thirdparty.php.

◆ deleteThirdParty()

deleteThirdParty (   $authentication,
  $id = '',
  $ref = '',
  $ref_ext = '' 
)

Delete a thirdparty.

Parameters
array$authenticationArray of authentication information
string$idinternal id
string$refinternal reference
string$ref_extexternal reference
Returns
array Array result

Definition at line 808 of file server_thirdparty.php.

◆ getListOfThirdParties()

getListOfThirdParties (   $authentication,
  $filterthirdparty 
)

getListOfThirdParties

Parameters
array$authenticationArray of authentication information
array$filterthirdpartyFilter fields (key=>value to filer on. For example 'client'=>2, 'supplier'=>1, 'category'=>idcateg, 'name'=>'searchstring', ...)
Returns
array Array result

Definition at line 697 of file server_thirdparty.php.

◆ getThirdParty()

getThirdParty (   $authentication,
  $id = '',
  $ref = '',
  $ref_ext = '',
  $barcode = '',
  $profid1 = '',
  $profid2 = '' 
)

Get a thirdparty.

Parameters
array$authenticationArray of authentication information
string$idinternal id
string$refinternal reference
string$ref_extexternal reference
string$barcodebarcode
string$profid1profid1
string$profid2profid2
Returns
array Array result

Definition at line 316 of file server_thirdparty.php.

◆ updateThirdParty()

updateThirdParty (   $authentication,
  $thirdparty 
)

Update a thirdparty.

Parameters
array$authenticationArray of authentication information
Societe$thirdpartyThirdparty
Returns
array Array result

Definition at line 564 of file server_thirdparty.php.