Schnittstelle:
Json
- Infos
- Allgemein
- Felder
- Fehlercodes
- Funktionen
- Kunden
- • newClient
- • updateClient
- BÜ-Formular
- • newTemplate
- • updateTemplate
- BÜ-Vorgang
- • newProcess
- • listProcess
- • getProcess
- • updateProcess
- • preparationProcess
listProcess
Die Funktion liefert ein indexiertes Array aller Vorgänge wo kein process_api_status gesetzt ist.
Request Beispiel
$UpdateParams = array(
"APIData" => array(
"_Security_Token_" => "vZHa8ChCkhjPG2l253zmgg80s6NdgkKRqiytY2Q4yN6vH5rMzVkVJMdswbmOlG5", //Security_Token zur Authentifizierung
"action" => 'listProcess', // Funktion die ausgeführt werden soll
),
"process" => array(
"process_status" => "2" // Status vom Vorgang (0 = offen, 1 = schwebend, 2 = abgeschlossen)
),
);
$url = 'https://www.bewerte-deine-versicherung.de/app/core/api/json/v1.0'; //URL der bewerte-deine-Versicherung.de-API
$tmp = execCurl( json_encode( $UpdateParams ), $url ); //Wandelt das Array $UpdateParams in ein json um und startet den Request
Response Beispiel
$data = json_decode( $tmp, true );
print_r( $data );
Array
(
[function] => listProcess
[status] => success // success gibt an das der Request erfolgreich war
[error_code] => 0 // 0 für keine Fehler
[counter] => 5 // Anzahl der gefunden Vorgänge
[process] => Array
(
[0] => 18
[1] => 20
[2] => 21
[3] => 22
[4] => 23
)
[request] => Array
(
[APIData] => Array
(
[_Security_Token_] => vZHa8ChCkhjPG2l253zmgg80s6NdgkKRqiytY2Q4yN6vH5rMzVkVJMdswbmOlG5
[action] => listProcess
[core_version] => 1.0.4
[api_version] => 1.0
)
[process] => Array
(
[process_status] => 2
)
)
)