dolibarr  19.0.0-dev
Functions
server_contact.php File Reference

File that is entry point to call Dolibarr WebServices. More...

Go to the source code of this file.

Functions

 getContact ($authentication, $id, $ref_ext)
 Get Contact. More...
 
 createContact ($authentication, $contact)
 Create Contact. More...
 
 getContactsForThirdParty ($authentication, $idthirdparty)
 Get list of contacts for third party. More...
 
 updateContact ($authentication, $contact)
 Update a contact. More...
 

Detailed Description

File that is entry point to call Dolibarr WebServices.

Definition in file server_contact.php.

Function Documentation

◆ createContact()

createContact (   $authentication,
  $contact 
)

Create Contact.

Parameters
array$authenticationArray of authentication information
Contact$contact$contact
Returns
array Array result

Definition at line 378 of file server_contact.php.

◆ getContact()

getContact (   $authentication,
  $id,
  $ref_ext 
)

Get Contact.

Parameters
array$authenticationArray of authentication information
int$idId of object
string$ref_extRef external of object
Returns
mixed

Definition at line 266 of file server_contact.php.

◆ getContactsForThirdParty()

getContactsForThirdParty (   $authentication,
  $idthirdparty 
)

Get list of contacts for third party.

Parameters
array$authenticationArray of authentication information
int$idthirdpartyId thirdparty
Returns
array Array result

Definition at line 484 of file server_contact.php.

◆ updateContact()

updateContact (   $authentication,
  $contact 
)

Update a contact.

Parameters
array$authenticationArray of authentication information
Contact$contactContact
Returns
array Array result

Definition at line 609 of file server_contact.php.