send userid to import
This commit is contained in:
parent
bbe74d1529
commit
5d7880160a
@ -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" .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user