Chemical Toxicology Screening (CTS) Open API


Chemical Toxicology Screening (CTS) Open API

This is an API Service for conducting a screening placement of people, animals or entities for example for drugs, virus or toxin testing. It provides the selection based on either a generated seed or provided one, in reference to the array posted to the API by either GET or POST method of form REST API Posting. You can do this from the following url: http://screening.labs.coop/

Code API Documentation

You can find the phpDocumentor code API documentation at the following path :: http://screening.labs.coop/docs/. These should outline the source code core functions and classes for the API to function!

Examples of Calls (Using JSON)

There is a couple of calls to the API which I will explain.

For example if you want a call without providing a seed a short handed 400 character length GET method would be returning 3 items from the selection of the array :: http://screening.labs.coop/v1/3/json.api?person[E0001]=Sam%20Wrought&person[KID69]=Andrew%20Psalia&person[E0002]=Frank%20Darcey&person[A0001]=Nicholas%20Moore&person[B0001]=Jodie%20Coleman&person[C0002]=Roger%20Essig&person[D0004]=Gary%20Arthy&person[F0007]=Emma%20Quine&person[G000X]=Martin%20Ohlsonor in providing a seed which is a numeric or double floating point/real variable you would do the following ::http://screening.labs.coop/v1/3/-11334432.039894/json.api?person[E0001]=Sam%20Wrought&person[KID69]=Andrew%20Psalia&person[E0002]=Frank%20Darcey&person[A0001]=Nicholas%20Moore&person[B0001]=Jodie%20Coleman&person[C0002]=Roger%20Essig&person[D0004]=Gary%20Arthy&person[F0007]=Emma%20Quine&person[G000X]=Martin%20Ohlson.

You don’t have to use the variable name ‘person’ it just has to be a variable passed to the API through GET or POST that is a one element array, the keys will be preserved and returned incase you want to place elements based on employment numbers with names and you can call the variable what you need, the API will detect the variable which is an array passed to it.

Code API Documentation

You can find the phpDocumentor code API documentation at the following path :: http://screening.labs.coop/docs/. These should outline the source code core functions and classes for the API to function!

Advertisements

Leave a Rant, Expressive Annotation or Disgust or Give a Bonus Star-run Review or a shit house response!

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s