dolibarr 18.0.6
server_other.php File Reference

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

Go to the source code of this file.

Functions

 getVersions ($authentication)
 Full methods code.
 
 getDocument ($authentication, $modulepart, $file, $refname='')
 Method to get a document by webservice.
 

Detailed Description

File that is entry point to call Dolibarr WebServices.

Definition in file server_other.php.

Function Documentation

◆ getDocument()

getDocument ( $authentication,
$modulepart,
$file,
$refname = '' )

Method to get a document by webservice.

Parameters
array$authenticationArray with permissions
string$modulepartProperties of document
string$fileRelative path
string$refnameRef of object to check permission for external users (autodetect if not provided)
Returns
array

Definition at line 208 of file server_other.php.

References check_authentication(), dol_check_secure_access_document(), dol_mimetype(), and dol_syslog().

◆ getVersions()

getVersions ( $authentication)

Full methods code.

Parameters
string$authenticationAuthentication string
Returns
array Array of data

Definition at line 165 of file server_other.php.

References check_authentication(), dol_syslog(), version_dolibarr(), version_os(), version_php(), and version_webserver().