Menu

Is there an API method to upload pdf documents into the iTop Documrnt repository?

2024-10-09
2024-10-09
  • Kevin Joubert

    Kevin Joubert - 2024-10-09

    Greetings, I have an external Job Card module for use when Technicians go on-site to deliver service. The completed, and signed, Job Cards are stored as PDF documents. These documents are then added to the iTop database and linked to the corresponding CI in the CMDB using direct writes to the iTop database. I am uncomfortable with this practice So, now that I have a working app to carry on with, I would like to find out if there is a better way to update and link the Documents? An API call perhaps? I am not the developer of my software, I have a PHP dev who does the coding. Many thanks, Kevin Joubert

     
  • Erwan Taloc

    Erwan Taloc - 2024-10-09

    Hi
    if you want you can look into your iTop directory webservices there is a php script that give examples on how to call the REST API itoprest.examples.php
    One of this example explain how to manage attachment. You can reuse it for File Document

     
    👍
    2
  • Kevin Joubert

    Kevin Joubert - 2024-10-09

    Thank you. I'll check those out.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.