Über die id wird ein konkretes Dokument referenziert.
Mit diesem Aufruf veranlassen Sie das System die Meta-Daten eines Dokumentes erneut zu extrahieren. Das kann z.B. nach dem Anlernen eines ähnlichen Dokumentes sinnvoll sein.
Da die Schnittstelleaufrufe auf Array-Ebene gebündelt werden, können Sie mit einem Aufruf eine ganze Reihe von Dokumenten neu bearbeiten lassen.
$UpdateParams = array (
"dataUser" => array (
'token' => '****************',
),
"content" => array (
'pdf' => array (
'processFile' => array (
array (
'id' => 41,
'excludedAddresses' => [
[
'vorname' => 'Fred',
'name' => 'Vermittler',
'firma' => '',
'strasse' => 'Zitronenstraße 10',
'plz' => '33699',
'ort' => 'Bielfeld',
],
[
'vorname' => 'Erwin',
'name' => 'Endabrechner',
'firma' => 'Finanzkanzlei Erwin & Söhne',
'strasse' => 'Kakteenweg 28a',
'plz' => '33699',
'ort' => 'Bielfeld',
],
],
),
),
),
)
);
{
"dataUser": {
"token": "****************"
},
"content": {
"pdf": {
"processFile": [{
"id": 41,
"excludedAddresses": [{
"vorname": "Fred",
"name": "Vermittler",
"firma": "",
"strasse": "Zitronenstra\\u00dfe 10",
"plz": "33699",
"ort": "Bielfeld"
}, {
"vorname": "Erwin",
"name": "Endabrechner",
"firma": "Finanzkanzlei Erwin & S\\u00f6hne",
"strasse": "Kakteenweg 28a",
"plz": "33699",
"ort": "Bielfeld"
}]
}]
}
}
}
array (
'response' =>
array (
'pdf' =>
array (
'processFile' =>
array (
0 =>
array (
'message' =>
array (
0 => 'file successfully processed',
),
),
),
),
),
)
$UpdateParams = array (
"dataUser" => array (
'token' => '****************',
),
"content" => array (
'pdf' => array (
'processFile' => array (
array (
'id' => 41
),
array (
'id' => 42
),
array (
'id' => 43
),
array (
'id' => 44
),
),
),
)
);
array (
'response' =>
array (
'pdf' =>
array (
'processFile' =>
array (
0 =>
array (
'message' =>
array (
0 => 'file successfully processed',
),
array (
0 => 'file successfully processed',
),
array (
0 => 'file successfully processed',
),
array (
0 => 'file successfully processed',
),
),
),
),
),
)