How can I get the rest service query result in C# or Vb.Net

1622
1
11-25-2019 10:16 AM
JoseSanchez
Occasional Contributor III

Hello everyone,

When I call the method Query in a rest service, how do I get the results in my program (C#, Vb.Net, Python)

https://myServer/arcgis/rest/services/MyService/MapServer/10/query 

I am only interested in getting 

Return Extents Only

Query: Layer (ID: 10)

XMin: 921645.9030000009
YMin: 522328.49475000054
XMax: 922000.1799999997
YMax: 522464.26775000244
Spatial Reference: 102658  (2236)

Thanks

0 Kudos
1 Reply