Hello, I'm not able to update fields from API, in the past I was able to do.
here is my body
$body = '{"input": {"id":15,"comment":"Serveur virtuel applicatif - Test Commentaire API","plugin_fields_socitfielddropdowns_id":"2"}}'
and the post here
Invoke-WebRequest -Uri ("$base_url/Computer") -Body $body -ContentType "application/json" -Headers $headers -Method PUT -UseBasicParsing
but the additionnal ield dos not want to change, for the Comment field it is OK
If a connect with my APU user from the web interface I can change the field.
any idea ?
thanks a lot !
Additional fields
GPL v2+ TECLIB
Moron 1.23.3
GLPI 11.0.5 Copyright (C) 2015-2026 Teclib' and contributors
Hello, I'm not able to update fields from API, in the past I was able to do.
here is my body
$body = '{"input": {"id":15,"comment":"Serveur virtuel applicatif - Test Commentaire API","plugin_fields_socitfielddropdowns_id":"2"}}'
and the post here
Invoke-WebRequest -Uri ("$base_url/Computer") -Body $body -ContentType "application/json" -Headers $headers -Method PUT -UseBasicParsing
but the additionnal ield dos not want to change, for the Comment field it is OK
If a connect with my APU user from the web interface I can change the field.
any idea ?
thanks a lot !
Additional fields
GPL v2+ TECLIB
Moron 1.23.3
GLPI 11.0.5 Copyright (C) 2015-2026 Teclib' and contributors