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

Definition at line 382 of file server_contact.php.

References check_authentication(), Contact(), 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 266 of file server_contact.php.

References check_authentication(), Contact(), 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 491 of file server_contact.php.

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

◆ updateContact()

updateContact ( $authentication,
$contact )

Update a contact.

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

Definition at line 619 of file server_contact.php.

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