Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] 500 error

Sahni, Himanso * (FDA) Himanso.Sahni at fda.hhs.gov
Fri Nov 9 10:15:13 PST 2012


Thanks

http://rest.bioontology.org/bioportal/virtual/rootpath/1422/10003890?apikey=

just worked for me.

I need to find the parent code for each medDRA concept code, Is there an easier way to accomplish this without hitting your server for every term.

Himanso

From: Trish Whetzel [mailto:whetzel at stanford.edu]
Sent: Friday, November 09, 2012 1:13 PM
To: Sahni, Himanso * (FDA)
Cc: support at bioontology.org
Subject: Re: [bioontology-support] 500 error

Hi Himanso,

The "rootpath" call [1] requires the parameter "conceptId", which for the term "Melanoma" in MedDRA is "10053571" and therefore the call should be formatted as:
http://rest.bioontology.org/bioportal/virtual/rootpath/1422/10053571?apikey=YourAPIKey

However, this call returns an empty list. I'll need to check with the developers to see if the RQ relationship is also considered as a parent relationship and whether this call is expected to return "Malignant melanoma" as a parent.

Trish

[1] http://www.bioontology.org/wiki/index.php/NCBO_REST_services#Get_paths_to_root.2Fleaves_from_a_concept_in_the_latest_version_of_a_given_ontology



Trish Whetzel, PhD
Outreach Coordinator
The National Center for Biomedical Ontology
Ph: 650-721-2378
http://www.bioontology.org

"Like" NCBO on Facebook: http://on.fb.me/bioontology

Follow NCBO on Twitter: http://twitter.com/#!/bioontology

Join in Discussions on LinkedIn: http://linkd.in/ncbo-group



On Nov 9, 2012, at 9:34 AM, Sahni, Himanso * (FDA) wrote:


I am getting a 500 error for the following query

http://rest.bioontology.org/bioportal/virtual/rootpath/1422/Melanoma?apikey=

<errorStatus><accessedResource>/bioportal/virtual/rootpath/1422/Melanoma</accessedResource><accessDate>2012-11-09 09:33:57.308 PST</accessDate><shortMessage>Internal Server Error</shortMessage><longMessage>The server encountered an unexpected condition which prevented it from fulfilling the request</longMessage><errorCode>500</errorCode></errorStatus>

using my access key

Himanso Sahni
Himanso.Sahni at fda.hhs.gov<mailto:Himanso.Sahni at fda.hhs.gov>
Contractor-Recombinant Data Corp.
HSahni at recomdata.com<mailto:HSahni at recomdata.com>



_______________________________________________
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/bioontology-support


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20121109/a54795c8/attachment-0001.html>


More information about the bioontology-support mailing list