You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2025-02-20 13:49:48

wsb
Member
Registered: 2024-12-19
Posts: 1

Create or update additional field values via API

Hello everyone, I am using GLPI 10.0.16

How are custom fields created with the 'additional fields' plugin updated via API? What is the syntax?

Checking forums and answers, the syntax should be something like this:

http://{URL GLPI}/apirest.php/Ticket/{ID Ticket}/PluginFieldsContainer/16

Sending the next body using PUT:

{
    "input" : {
        "fields":{
            "name": "nameField",
            "value": "newValue"
        }
    }
}

¿Is this syntax correct or is it something else?

Offline

Board footer

Powered by FluxBB