Skip to main content
Beantwortet

BerichteGet from api


Ali Bagherzadeh

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 

Beste Antwort von Got Bag GmbH

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.

Original anzeigen
War diese Information hilfreich?

Forum|alt.badge.img+2

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


  • Regelmäßiger Teilnehmer
  • 16. Juli 2021

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


Cookie-Richtlinen

Wir machen Gebrauch von Cookies um Ihr Erlebnis zu personalisieren und zu optimisieren. Wenn Sie zustimmen oder weiter browsen stimmen Sie unseren Bestimmungen bzgl. Cookies zu. Klicken Sie hier um mehr über unsere Cookies zu erfahren.

 
Cookie-Einstellungen