dolibarr  20.0.0-alpha
Functions
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. More...
 
 getDocument ($authentication, $modulepart, $file, $refname='')
 Method to get a document by webservice. More...
 

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 209 of file server_other.php.

◆ getVersions()

getVersions (   $authentication)

Full methods code.

Parameters
string$authenticationAuthentication string
Returns
array Array of data

Definition at line 165 of file server_other.php.