Search Mailing List Archives
[bioontology-support] 500 error
Trish Whetzel
whetzel at stanford.edu
Fri Nov 9 10:12:35 PST 2012
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
> Contractor-Recombinant Data Corp.
> HSahni at recomdata.com
>
>
>
> _______________________________________________
> bioontology-support mailing list
> 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/aa1a3696/attachment.html>
More information about the bioontology-support
mailing list