• API (for IT)


    • How to access the API :

    • To access the LabBook API interface, you need an account with the API role.

      You can create one by logging in as root and then :

      • go to user management
      • create a new user with the API role


      • Log out of root
      • Log in with the account.

      This will take you to the LabBook API area, which is an interface describing LabBook Web services.



    • View the API in the LabBook demo :

    • Log in as root on the LabBook demo.

      Then click on this link:

    • Exemple : the record web service

    • This web service lets you add analysis requests from other software, such as billing software, to LabBook.

      swagger record

      You can test the service by following these steps: 

      • click on the padlock
      • enter the login and password of the user with the API role in the interface that opens up
      • click on Authorize
      available auto

      • Then press close

      available auto close

      • Click on the Try it out button and enter the data for each field directly.
      record schema
      • At the end, click on Excecute to add the new analysis request.
      The web service is documented, access its documentation by clicking on Schema .

    • Exemple : the result web service

    • This web service allows you to retrieve the details of a patient's result by entering the file ID using the GET method, while the POST method allows you to submit a result by providing the file ID and the result number.




      You can test the service by following these steps: 

      • click on the padlock
      • enter the login and password of the user with the API role in the interface that opens up
      • click on Authorize

      available auto

      • Then press close

      available auto close

      • Click on the Try it out button and enter the data for each field directly.
      • At the end, click on Excecute to add the new analysis request.

      The web service is documented, access its documentation by clicking on Schema .

    • Manual