dolibarr 21.0.0-beta
|
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. | |
File that is entry point to call Dolibarr WebServices.
Definition in file server_contact.php.
createContact | ( | $authentication, | |
$contact ) |
Create Contact.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information |
array{id:string,ref_ext:string,lastname:string,firstname:string,address:string,zip:string,town:string,state_id:string,state_code:string,state:string,country_id:string,country_code:string,country:string,socid:string,status:string,phone_pro:string,fax:string,phone_perso:string,phone_mobile:string,code:string,email:string,birthday:string,default_lang:string,note:string,ref_facturation:string,ref_contrat:string,ref_commande:string,ref_propal:string,user_id:string,user_login:string,civility_id:string,poste:string} | $contact $contact |
Definition at line 388 of file server_contact.php.
References $conf, check_authentication(), dol_now(), and dol_syslog().
getContact | ( | $authentication, | |
$id, | |||
$ref_ext ) |
Get Contact.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information | |
int | $id | Id of object |
string | $ref_ext | Ref external of object |
Definition at line 272 of file server_contact.php.
References $conf, $id, check_authentication(), and dol_syslog().
getContactsForThirdParty | ( | $authentication, | |
$idthirdparty ) |
Get list of contacts for third party.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information | |
int | $idthirdparty | Id thirdparty |
Definition at line 497 of file server_contact.php.
References $conf, check_authentication(), and dol_syslog().
updateContact | ( | $authentication, | |
$contact ) |
Update a contact.
array{login:string,password:string,entity:?int,dolibarrkey:string} | $authentication Array of authentication information |
array{id:string,ref_ext:string,lastname:string,firstname:string,address:string,zip:string,town:string,state_id:string,state_code:string,state:string,country_id:string,country_code:string,country:string,socid:string,status:string,phone_pro:string,fax:string,phone_perso:string,phone_mobile:string,code:string,email:string,birthday:string,default_lang:string,note:string,ref_facturation:string,ref_contrat:string,ref_commande:string,ref_propal:string,user_id:string,user_login:string,civility_id:string,poste:string} | $contact Contact |
Definition at line 626 of file server_contact.php.
References $conf, $object, check_authentication(), dol_now(), dol_syslog(), and getCountry().