Forum - Analytics API URI needs authentication
- This topic has 2 replies, 2 voices, and was last updated 8 years, 2 months ago by Anonymous.
- AuthorPosts
- October 21, 2014 at 6:41 pm #33963AnonymousInactive
REST Analytic s API aks for authentication (ALMA DEVELOPER)
Description I have built a REST API for ALMA ANALYTIC S to PARSE XML information from a REPORT in OBIE. According to the instruction on the ALMA dashboard, . this API pulls the information from My ALMA analytic query called “electronic _New_Book_sanjan”The PROBLEM:
The Problem is this API only parse information when I am logged in to ALMA,
If I am NOT Logged in then I get the following MSG:
Authentication Required
the Server https://na01.amlaexlibrisgroup.com:443 requires a username and password”Do i always have be logged in to PARSE the XML?
Then what is the point of using the REST API ANALYTIC If I have to stay logged in to ALMA
Is there any way we can use the RESTFUL API URI to pars document without authentication?
Need this for development purpose.
October 22, 2014 at 5:14 am #35346AnonymousInactiveYou need to send your request to api-na.hosted.exlibrisgroup.com, not na01.alma.exlibrisgroup.com. If you correct this, you will be authenticated by your API key (which I recommend you delete from your post).
Opher
November 18, 2014 at 5:05 pm #35375AnonymousInactiveThanks for your previous response.
However when I added the suggested
"api-na.hosted.exlibrisgroup.com"
https://api-na.hosted.exlibrisgroup.com/almaws/v1/analytics/reports?path=%2Fshared%2FUniversity%20of%20Texas%20at%20Dallas%2FReports%2FElectronic_New_Book_Sanjan&limit=1000&apikey=l7xxf34dc4a7b26d42e5ad20acb889b2592eI receive the following error msg
web_service_result><errorsExist>true</errorsExist><errorList><error><errorCode>INTERNAL_SERVER_ERROR</errorCode><errorMessage> access denied for user to path /shared/University of Texas at Dallas/Reports/Electronic_New_Book_Sanjan.
(Tracking ID: E11-1811170219-MUE3C-AWAE1833458975)</errorMessage></error></errorList></web_service_result>Please help.
thanks
Sanjan Rahman
- AuthorPosts
- You must be logged in to reply to this topic.