send userid to import

This commit is contained in:
r.mubarakzyanov 2026-03-09 17:12:38 +03:00
parent bbe74d1529
commit 5d7880160a

View File

@ -320,7 +320,8 @@ try {
// 🔹 STEP 9.5: Importazione da CommessaWeb a Commessa (commentato come richiesto)
// Supplier call: POST api/odata/CommessaWeb(XXX)/ImportaCommessa
$importResult = $api->post("CommessaWeb({$commessaId})/ImportaCommessa", []);
$importPayload = json_encode(["IdUtente" => 12875], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); // user-id
$importResult = $api->post("CommessaWeb({$commessaId})/ImportaCommessa", $importPayload);
// Logga il POST
$logContentStep91 = "curl --location --request POST '{$apiBaseUrl}CommessaWeb({$commessaId})/ImportaCommessa' \\\n" .