• Description

    Search by name and retrieve information about a disease in the pharmacology layer

  • URL (PATH)


  • Method


  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    example: token=eyJhbGciOiJI...
    Optional access key to save the current query inside the user's profile
    name *required
    sleep bruxism
    Name of the disease
    [boolean] true by default
    If true it searches an exact name match, if false it finds all diseases containing the string in the parameter 'name'
  • Example request
                                         http://disnet.ctb.upm.es/api/disnet/pharma/diseases?name=sleep bruxism&exact-match=false&token=eJtdWrIisOiJt...
  • Success response (application/json)
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
          "diseaseId": "C0751769",
          "diseaseName": "Sleep Bruxism, Adult"
          "diseaseId": "C0751770",
          "diseaseName": "Sleep Bruxism, Childhood"
          "diseaseId": "C0751771",
          "diseaseName": "Sleep Bruxism"