You are not logged in.
Pages: 1
Hi,
Any advise how to add Cost in Contracts by API call?
Cheers,
Michal
Offline
The same as adding any other item. The itemtype you are looking for is "ContractCost" (case sensitive).
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Thanks a lot
Is there a way to list all item categories/types?
Cheers:)
Michal
Offline
Not really. You could get an idea of what is available by looking at the file names inside the "src" folder though.
The current API is extremely low-level.
We will be adding a second API in GLPI 11.0 which will be a lot more user-friendly.
A basic summary of the new API and the differences can be found here:
https://github.com/glpi-project/glpi/pull/12221
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Trick with "src" do the trick.
Looking forward for new API
Thanks a lot
M
Offline
Pages: 1