/pharma/phenotypes?id={id}

  • Description

    Search by id and retrieve information about a phenotype effect.

  • URL (PATH)

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

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    id
    [alphanumeric]
    required
    A cui corresponding to a phenotype effect
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
                                         https://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"
      }
    }