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

Definition at line 383 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 267 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 492 of file server_contact.php.

◆ updateContact()

updateContact (   $authentication,
  $contact 
)

Update a contact.

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

Definition at line 621 of file server_contact.php.