dolibarr 21.0.0-alpha
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.
 
 createContact ($authentication, $contact)
 Create Contact.
 
 getContactsForThirdParty ($authentication, $idthirdparty)
 Get list of contacts for third party.
 
 updateContact ($authentication, $contact)
 Update a contact.
 

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
array$contact$contact
Returns
array Array result

Definition at line 384 of file server_contact.php.

References check_authentication(), dol_now(), and dol_syslog().

◆ 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 268 of file server_contact.php.

References check_authentication(), and dol_syslog().

◆ 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 493 of file server_contact.php.

References check_authentication(), and dol_syslog().

◆ updateContact()

updateContact ( $authentication,
$contact )

Update a contact.

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

Definition at line 622 of file server_contact.php.

References $object, check_authentication(), dol_now(), dol_syslog(), and getCountry().