Schnittstelle:
XML
- Infos
- Allgemein
- Tabellen
- Fehlercodes
- Funktionen
- Transfer-Serive
- • listPostbox
- • getPostbox
- • updatePostbox
- • listModule
- • startModule
- Extranet-Service
- • listExtranet
- • startExtranet
- Partner-Service
- • getData
- • getChange
- • setChange
- Listen-Service
- • Enumerate
listPostbox
Die Funktion liefert ein indexiertes Array aller Nachrichten in der gewählten Postbox.
Request Beispiel
<?xml version="1.0" encoding="UTF-8"?>
<root>
<APIData>
<_Security_Token_>
vZHa8ChCkhjPG2l253zmgg80s6NdgkKRqiytY2Q4yN6vH5rMzVkVJMdswbmOlG5 <!-- Security_Token zur Authentifizierung -->
</_Security_Token_>
<action>listPostbox</action> <!-- Funktion die ausgeführt werden soll -->
</APIData>
<postbox>
<postbox_folder>inbox</postbox_folder> <!-- inbox oder trash -->
<limit>500</limit> <!-- maximale Anzahl der Einträge (optional) -->
</postbox>
</root>
Response Beispiel
<?xml version="1.0" encoding="UTF-8"?>
<root>
<function>listPostbox</function> <!-- Funktion die ausgeführt wurde -->
<status>success</status> <!-- success gibt an das der Request erfolgreich war -->
<error_code>0</error_code> <!-- 0 für keine Fehler -->
<counter>1</counter> <!-- Anzahl der Nachrichten -->
<postbox>
<element>
<postbox_id>2838</postbox_id>
<user_config_id>3</user_config_id>
<postbox_folder>inbox</postbox_folder>
<postbox_status>2</postbox_status>
<postbox_date>2015-10-22 10:23:41</postbox_date>
<postbox_fetchdate>2017-01-16 17:58:40</postbox_fetchdate>
<postbox_from>KS-AUXILIA</postbox_from>
<postbox_to>post@makler-bund.de</postbox_to>
<postbox_subject/>
<postbox_category>Beitragsrechnung</postbox_category>
<postbox_customer>Manfred Bochmann</postbox_customer>
<postbox_vsn>3136125200</postbox_vsn>
<postbox_typ>RS</postbox_typ>
<postbox_file>3136125200_Rechnung_2015-10-22.pdf</postbox_file>
<postbox_api_status>0</postbox_api_status>
</element>
</postbox>
<request>
<APIData>
<_Security_Token_>
vZHa8ChCkhjPG2l253zmgg80s6NdgkKRqiytY2Q4yN6vH5rMzVkVJMdswbmOlG5
</_Security_Token_>
<action>listPostbox</action>
<core_version>1.0</core_version>
<api_version>1.0</api_version>
</APIData>
<postbox>
<postbox_folder>inbox</postbox_folder>
</postbox>
</request>
</root>