Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 

Content API

jsol5
Advocate II

Working with Content API and it's unclear the URL to pull back all records OR even the default count of records from an application.

*I thought I saw something that said it's 1000.  So, anything beyond that would be multiple calls.

 

Additionally, it's unclear if possible to specify the fields desired.

 

I can do something like this and get a specific record 

/contentapi/Applications(12345) 

 

However, this gives a 500 error 

/contentapi/Applications

 

This gives endpoint data (not what I want):

/contentapi/Applications/

32 REPLIES 32

SILLASCOSTA
Contributor

Hi, Sarhang! 

it took a little to make the test as I need somebody from IT to acess the Archer web server... 

 

  •  I tried to use postman into archer web server, and I got 400( bad request) I've tried several ways to set the header into postman( Using: Archer session-id, Authentication, and so on...) check it out the latest attempt. 

 

pastedImage_1.png

One fact: when i try to connect to  localhost/contentapi through browser I got 200 status..

 

 

  • About web server 

I have got two of them, one from the root  and the other from the contentapi. To be specific, is there something I have to check on the web files ? as it is a long file to be posted..Here is a brief of the root webservice file:

pastedImage_2.png

 

  •  I found I log file but it doesnt have any Erro log, so i taught I've seaching in a wrong place. 

 

  • As I am considering to use Power bi Odata feed to connect to archer, I Know there is an alternative way to o that by using Archer Data feed to transport a view as .xlsx to a server folder. However,  I couldn't find the control panel in Archer server,could you show me how to do so ?

 

I Appreciate your help, 

 

Thank you!

SILLASCOSTA
Contributor

Finally I was able to access the contentapi/applications. However I am bumped into a new error hahaha, Am I missing something ?

 

pastedImage_1.png

DavidFreeman
Archer Employee
Archer Employee

Is there a reason why your URL is not HTTPS?