|
POST
|
Awesome @joe !! thanks for taking the time to share the solution 🙂
... View more
08-12-2022
01:36 PM
|
0
|
0
|
1856
|
|
POST
|
I think so. I have also being talking to a colleague, and he told me he will try to write and publish a script to pull the consumption data from the API directly. If he does it he will publish it on this repo: https://github.com/esrinederland/CoolScripts Cheers
... View more
08-12-2022
01:32 PM
|
0
|
0
|
3435
|
|
POST
|
If you just want to grab data through the API my recommendation is to: Use REST JS if you feel comfortable with JavaScript (videos/talks about REST JS) Use ArcGIS API for Python if you like Python Use HTTP directly with any language you like. Here you have Postman workspace to help you with it. ArcGIS API for JavaScript, Leaflet, etc, are normally used when you need to build a web interface including a map. I hope this helps. Raul
... View more
08-09-2022
01:53 AM
|
0
|
0
|
966
|
|
POST
|
Sorry I missed the last messages. That's weird, if you want, we can schedule a 30min call and try to find out what's going on.
... View more
08-05-2022
06:42 AM
|
0
|
0
|
2962
|
|
POST
|
Sorry @ZianChoy as far as I know, there is no way to do it without losing the historical usage data 🙁. The only way that comes to my mind is to export the usage data and consolidate it into another system. There are two ways to export the usage data: Using the REST API (https://www.arcgis.com/community/users/[userName]/report) Or creating usage reports through the interface (which behind the scenes uses that endpoint): I hope this helps.
... View more
08-03-2022
01:02 AM
|
0
|
2
|
3453
|
|
POST
|
Hi @JoeHershman , This is the first time I try this, but I made it work. You can see the postman collection I used here The first time I tried I got the same error as you got: {
"error": {
"code": 400,
"error": "invalid_request",
"error_description": "Invalid PKCE code_challenge_verifier",
"message": "Invalid PKCE code_challenge_verifier",
"details": []
}
} It was because I was sending the in the "code_verifier" parameter "12345". Reading again the doc again I noticed: The first step in the PKCE modified workflow is having the application create a code verifier. The code verifier is a cryptographical string using alphanumeric characters (A-Z, a-z, 0-9) and punctuation characters (hyphen, period, underscore, and tilde). A code verifier string should be between 43 to 128 characters long. So I encoded 12345 with this online tool getting the following hash: "5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5" Then I tried again and it worked: I prefer to use Postman to get familiar with any APIs before I start writing code. But I hope this helps. Cheers!
... View more
08-02-2022
04:04 AM
|
0
|
2
|
10974
|
|
BLOG
|
Hi @JamesRead1 , Does the Oauth app grant access to all Portal items, or is additional sharing required? I'm afraid the token generated when using app credentials (client ID & client secret) won't allow you to access private data within the system. Does the app need to need to use a built-in account, with required items shared with that account, or is access controlled by shared ownership (where owner of content and Oauth app are the same) I'm not sure if you are familiar with the "Security and authentication" chapter of the "new" Mapping APIs and location services guide (they were published in January 2021). In case you aren't I would recommend you to take a look at it. It includes this capability comparison with the different authentication methods: There is an oAuth 2.0 page explaining that you can use OAuth 2.0 to get temporary access tokens that authorize your app with ArcGIS in one of two ways: ArcGIS Identity Application credentials <- as described in the article above From these two methods, the one to grant access to data hosted in the system you would have to use ArcGIS Identity which means you need to use a built-in account as you described. But, if you are using an ArcGIS Developer account you can also try API keys instead. The only thing to keep in mind is that it is still in ""Beta"", and it might suffer some changes in the future. I hope this helps
... View more
08-02-2022
02:35 AM
|
1
|
0
|
8463
|
|
POST
|
I have never been able to increase the maxRecordCount above 2000, but you have two options: 1) Use the "resultOffset" parameter (which is the pagination mechanism): <- this is the one I would recommend 2) Use the asynchronous/job "https://[root]/content/users/[userName]/export" endpoint to generate a file. Another page that you might want to check is the Feature service page within the "Mapping APIs and locations services guide" (it is a conceptual guide about many of the cross concepts of the ArcGIS system, including the REST APIs). I hope this helps.
... View more
08-02-2022
01:27 AM
|
1
|
1
|
5949
|
|
POST
|
I haven't @joe but if you solve it let us know how!! Thanks and good luck!
... View more
07-29-2022
01:14 AM
|
0
|
0
|
1891
|
|
POST
|
@FaraazHabeebuddin I'm afraid this is the expected behavior. Without any zone info (city, state, zip, etc.) it is very hard to tell where “4100 S Normal Ave” is supposed to be. When you constrict it to an extent, you are more likely to get a match, which is exactly the behavior you’re seeing. Also, as a general practice, pass "Location" instead of passing "Search Extent". "Location" should be the point at the center of your map that geocoding results should focus around. This is our recommendation for the best results. Another option would be to use the auto-complete first and send the first result: I hope this helps. Thanks for your patience.
... View more
07-29-2022
01:12 AM
|
0
|
0
|
1505
|
|
POST
|
Hi @VincentDlamini, I think so, you should check the projection engine: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-projection.html Cheers!
... View more
07-25-2022
02:54 PM
|
0
|
0
|
475
|
|
POST
|
Updated: October 20th Hi Daniel, Is there any similar concept in ArcGIS Platform? You are right, we don't provide a similar mechanism to segment usage :(. BTW: I think this is a nice idea that should be posted to ArcGIS Developers' ideas. Only customers can post there, and if the idea gets enough "Kudos" it get more chances to be implemented. Related to this question: is there a way to export usage data from the platform grouped by different criteria, for example API Keys? There are a set of endpoints for usage reports ("related" question) but I don't think that's what you are looking for (it is related to ArcGIS Online and Enterprise organization reports not to API keys). We are also planning to upload a short video next week related to this in ArcGIS Developer account management. In the meantime you can check this python script that uses the Billing API to get usage statistics for each API key is there an API of some sort that can generate new API keys? That could be an interesting approach too. But I can't find anything like that in the developer documentation. You are also right, this is not documented but you can check this technical session to learn how to create and rotate API keys programmatically. I hope that helps Thanks, Raul
... View more
07-23-2022
06:57 PM
|
0
|
1
|
3007
|
|
POST
|
Sorry I don't understand what you mean. Which request ticket?
... View more
07-07-2022
07:10 AM
|
0
|
1
|
928
|
|
POST
|
I'm checking at: https://demographics5.arcgis.com/arcgis/rest/services/USA_Traffic_Counts/MapServer/0/query?where=Cnt1year%3E2018&text=&objectIds=&time=&timeRelation=esriTimeRelationOverlaps&geometry=-84.34785499439941%2C33.75709399755908&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelIntersects&distance=5&units=esriSRUnit_StatuteMile&relationParam=&outFields=Traffic1%2CCnt1year&returnGeometry=false&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=4326&havingClause=&returnIdsOnly=false&returnCountOnly=false&orderByFields=Traffic1+DESC&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&historicMoment=&returnDistinctValues=false&resultOffset=&resultRecordCount=1&returnExtentOnly=false&sqlFormat=none&datumTransformation=¶meterValues=&rangeValues=&quantizationParameters=&featureEncoding=esriDefault&f=html And I can only retrieve data for some states until 2019. When I load the layer in the map viewer I see data from all locations (but some are coming from 2018): Let's see if someone else can give us more information if that's right.
... View more
07-07-2022
05:29 AM
|
0
|
1
|
957
|
|
POST
|
Hi @KarenRobine1 we are looking into this one. Note you can get attached features from a specific version using the feature resource. For example https://myserver.esri.com/server/rest/services/VRNVA/FeatureServer/0/3/attachments I hope that helps.
... View more
06-20-2022
09:51 AM
|
0
|
3
|
944
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-25-2023 03:27 AM | |
| 3 | 07-11-2025 08:28 AM | |
| 1 | 06-09-2025 08:42 AM | |
| 1 | 02-18-2025 03:33 AM | |
| 2 | 02-18-2025 01:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|