Skip to main content
Solved

HTTP Caller - get info from _website_url for ESRI portal layer

  • December 11, 2024
  • 5 replies
  • 65 views

marta.podsiad
Supporter
Forum|alt.badge.img+9

Hi,

I am struggling to read the content of a layer published to ESRI portal. I have a  _website_url

https://gis-eu.xxx.com/arcgis/rest/services/LayerTest_Pt_01/FeatureServer/0

for ESRI portal layer.

 

For example I need to get Item Id

 

HTTP_Caller does not get this info in _response_body

Best answer by ebygomm

The request just needs to the ?f=pjson appending at the end, e.g.

 

….LayerTest_Pt_01/FeatureServer/0?f=pjson

 

View original
Did this help you find an answer to your question?

5 replies

marta.podsiad
Supporter
Forum|alt.badge.img+9
  • Author
  • Supporter
  • December 11, 2024

I have managed to make it work. However, how can I get the Service Item Id: from the sting

 

<b>Display Field:</b> objectid<br/><br/>
<b>Type: </b> Feature Layer<br/><br/>
<b>Geometry Type:</b> esriGeometryPoint<br/><br/>
<b>Description: </b> <br/><br/>
<b>Service Item Id: </b> 4c0f943fb60a4a369104f33d1ad2af4f<br/><br/>


ebygomm
Influencer
Forum|alt.badge.img+38
  • Influencer
  • December 11, 2024

It’s going to be easier to retrieve the information you need if you get the initial call to return json so 

 

?f=pjson

 

on the end of your request

 

Then a jsonextractor

 


marta.podsiad
Supporter
Forum|alt.badge.img+9
  • Author
  • Supporter
  • December 11, 2024

Hi, 

 

How can I get this info in json format

 


ebygomm
Influencer
Forum|alt.badge.img+38
  • Influencer
  • Best Answer
  • December 11, 2024

The request just needs to the ?f=pjson appending at the end, e.g.

 

….LayerTest_Pt_01/FeatureServer/0?f=pjson

 


marta.podsiad
Supporter
Forum|alt.badge.img+9
  • Author
  • Supporter
  • December 12, 2024

Such an easy fix. Thank you very much!!!

 

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings