Code of Conduct
Is there an existing issue for this?
GLPI Version
GLPI 10.0.19
Plugin version
1.18.2
Bug description
Hello , i'm enable to update fiels with API
here is the code I use
--- Étape 1 : Mise à jour du champ 76668 (glpi_plugin_fields_environnementfielddropdowns) ---
$body = @{
input = @{
id = 2716
76668 = 1 # PPD
}
} | ConvertTo-Json -Depth 5
Invoke-RestMethod -Method Put -Uri "https://srv/apirest.php/Computer/2716" -Headers $headers -Body $body -ContentType "application/json" | Out-Null
the field value does not update to the value I want and still remain to wht is was before
any help ?
thnak youu
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response
Code of Conduct
Is there an existing issue for this?
GLPI Version
GLPI 10.0.19
Plugin version
1.18.2
Bug description
Hello , i'm enable to update fiels with API
here is the code I use
--- Étape 1 : Mise à jour du champ 76668 (glpi_plugin_fields_environnementfielddropdowns) ---
$body = @{
input = @{
id = 2716
76668 = 1 # PPD
}
} | ConvertTo-Json -Depth 5
Invoke-RestMethod -Method Put -Uri "https://srv/apirest.php/Computer/2716" -Headers $headers -Body $body -ContentType "application/json" | Out-Null
the field value does not update to the value I want and still remain to wht is was before
any help ?
thnak youu
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response