/pharma/phenotypes

  • Description

    Search by id and retrieve information about a phenotype effect

  • URL (PATH)

    /pharma/phenotypes?id={id}?token=:token&id=:id

  • Method

    GET

  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    token
    [alphanumeric]
    example: token=eyJhbGciOiJI...
    Optional access key to save the current query inside the user's profile
    id *required
    [alphanumeric]
    C0220982
    Phenotype id
  • Example request
                                         http://disnet.ctb.upm.es/api/disnet/pharma/phenotypes?id=C0220982&token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": {
        "phenotypeId": "C0220982",
        "phenotypeName": "Ketoacidosis"
      }
    }