Schnittstelle:
Json
- Infos
- Allgemein
- Tabellen
- Fehlercodes
- Funktionen
- Transfer-Service
- • listPostbox
- • getPostbox
- • updatePostbox
- • listModule
- • startModule
- Extranet-Service
- • listExtranet
- • startExtranet
- • checkSession
- • saveRSAToken
- Partner-Service
- • getData
- • getChange
- • setChange
- Listen-Service
- • Enumerate
startModule
Die Funktion startet den manuellen Abruf einer Gesellschaft (nicht für Module mit Hardware-Token/SMS-TAN).
(Script-Laufzeit bis zu 20 Minuten möglich.)
Request Beispiel
$UpdateParams = array(
"APIData" => array(
"_Security_Token_" => "vZHa8ChCkhjPG2l253zmgg80s6NdgkKRqiytY2Q4yN6vH5rMzVkVJMdswbmOlG5",
"action" => 'startModule' //Name der Funktion
),
"module" => array(
"code" => "hdi", //Kurzname der Gesellschaft (siehe Tabelle)
"agencynumber" => "" //hinterlegte Agentur-Nummer (optional)
)
);
$url = 'https://www.bipro-box.de/app/core/api/json/v1.0'; //URL vom BiPRO-Box-Server
$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] => startModule
[status] => success
[error_code] => 0
[module_log] => Array
(
[log_id] => 3437
[user_config_id] => 10
[log_date_init] => 2019-06-06 09:36:35
[log_date_end] => 2019-06-06 09:36:36
[log_token] => bipro:H4sIAAAAAAAAAK261w7Ez...j4nVdf77Qfwv0uxMGIQz8jfqN+G9/+hcl/CfwfK
[log_listshipment] => 0
[log_getshipment] => 0
[log_ackshipment] => 0
[log_postbox] => 0
[log_upload] => 0
[log_duplicate] => 0
[log_filtered] => 0
[log_error] => 0
[company_module_status] => 1
[company_module_id] => 73
[account_config_id] => 397
[account_config_status] => 1
[hide] => 0
)
[error_log] =>
)