Introduction to LabCollector API

SUMMARY: API is the Application Programming Interface a computing interface that defines interactions between multiple software intermediaries. In simple words it allows two applications to talk to each other. For example, when you use any application on your mobile to … Continued

API for LSM (v2)

 Available methods in LSM web service for API v2.0:- 1.1. Jobs  Method: GET  URL: http://[my_labcollector_url]/extra_modules/lsm/webservice/index.php?v=2  Optional parameters: datefrom    jobid    assayid    samplename    samplestatusdatefrom    dateto    sampleid    status    samplestatus    samplestatusdateto Note: if you use … Continued

API: How to create boxes or plates?

In the storage browser of LabCollector you can now choose to create plate templates using API. This function provides you with the flexibility to design the plates according to your requirements. LabCollector offers you to create new boxes, racks, plates … Continued

Webservice/API Apache setup

In order to use the short URLs with the API/Webservice you need to active and setup the APACHE mod_rewrite. Follow these steps: Open Apache settings (or httpd.conf) Note: htaccess is an Apache feature. That specific .htaccess requires mod_rewrite module in … Continued

Test the Lab Service Manager API

Note: Since June 2017 API v1 was discontinued and all new evolutions are in API v2. 1. Available methods in LSM web service 1.1. Jobs Method: GET URL: http://[my_labcollector_url]/extra_modules/lsm/webservice/index.php?v=2 Optional parameters: datefrom, dateto, jobid, sampleid, assayid 1.2. Equipments Method: GET … Continued

How to test the LabCollector REST API?

Note: Since June 2017 API v1 was discontinued and all new evolutions are in API v2. A quick and easy tool to try out your API integrated into your LabCollector is to use Chrome plugin called Postman Get it here: … Continued

API for ELN (v1)

1. URL URL: http://[labcollector_url]/extra_modules/eln/webservice/index.php?v=1 HEADER PARAMETERS: – X-LC-APP-Auth – Accept=application\json or Accept = text\xml Note: URL works with http and https 2. GET Recover data of books, experiments & pages. Mandatory parameter: UID (user identifier), supports numeric value or string … Continued

API error messages

Note: Since June 2017 API v1 was discontinued and all new evolutions are in API v2. Message Response code Description ‘Requires application authentication to access the Web Service’ 401 Unauthorized The request either does not have the header parameter X-LC-APP-Auth … Continued

API for LabCollector (v5.4+)

Note: Since June 2017 API v1 was discontinued and all new evolutions are in API v2. TUBE SORTER – Method: GET – URL: http://[my_labcollector_url]/ webservice/index.php?v=2&action=tube_sorter – Headers: X-LC-APP-Auth, Accept – Parameters: at least one must be present box_id box_name record_name … Continued