Skip to main content

Hi everyoneI am trying to fetch report data via the below link 

 'https://{account}.xentral.biz/index.php?module=api&action='.$methodname.'&hash='.$hash.'&id='.$id.'&api_id=4';method name as i found from documentation should be BerichteGet also I set the rport id but it return below error [status] => SimpleXMLElement Object([action] => BerichteGet[message] => Invalid key (id)[messageCode] => 5)how can I recheck the report id is set correctlyI take report id and ap_id from thess places 

Maybe you're using the wrong URL to fetch the report.

Manual says "Wie der Bericht per REST-API aufgerufen wird, kann der REST-API Dokumentation entnommen werden. Endpunkt: /v1/reports"

API documentation:

https://update.xentral.biz/apidoc/docs203.html#v1_reports__id__download_get


I found a solution for the problem "BerichteGet". This API Call "BerichteGet" from the Xentral-API only get results from the module "Berichte (Legacy)". The screenshot shows a report from the module "report" which is only available via REST-API (as mentoined above). Hope this helps everyone who has the same question and comes to this topic.


Antworten