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 2020-07-08 14:44:40

GillesZoratti
Member
From: Luxembourg
Registered: 2019-05-06
Posts: 19

[RESOLU] Update Status

Bonjour,

est-ce que quelqu'un a déjà updater le status d'un pc à travers l'api rest ?


Si oui est-il possible de me donner un exemple car de mon côté mon retour est positif sauf qu'aucun changement n'a été effectué!

Offline

#2 2020-07-08 18:54:22

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 330

Re: [RESOLU] Update Status

Describe the steps what you did.

to update an item you need use this URL: apirest.php/:itemtype/:id

and your input like:

{"input": {"states_id": "number"}}

Last edited by mecmav (2020-07-08 18:57:46)

Offline

#3 2020-07-09 06:46:57

GillesZoratti
Member
From: Luxembourg
Registered: 2019-05-06
Posts: 19

Re: [RESOLU] Update Status

mecmav wrote:

Describe the steps what you did.

to update an item you need use this URL: apirest.php/:itemtype/:id

and your input like:

{"input": {"states_id": "number"}}

Thank's for your answer,
i'll test it today smile

Offline

#4 2020-07-09 07:06:57

GillesZoratti
Member
From: Luxembourg
Registered: 2019-05-06
Posts: 19

Re: [RESOLU] Update Status

This topic can be closed

Offline

#5 2020-07-09 13:05:27

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 330

Re: [RESOLU] Update Status

That it worked?

Offline

#6 2020-07-09 14:09:54

GillesZoratti
Member
From: Luxembourg
Registered: 2019-05-06
Posts: 19

Re: [RESOLU] Update Status

mecmav wrote:

That it worked?

Yes, thank you

Offline

Board footer

Powered by FluxBB