POST
|
Good day, I am attempting to use the survey123 create report api to run some tests. I am using the documentation found here https://developers.arcgis.com/survey123/api-reference/rest/report/#create-report to run a post request in python. My code is below and gives me an error message import requests # Define the parameters survey_id = "4821fdadbd0f48c9b060615e9xxxx" # Replace with your actual Survey ID template_item_id = "da82c957fe134248b356e899acxxxxx" # The ID of your report template item token = "token" # Authentication token from ArcGIS Online or your Portal # Define the report request payload payload = { "f": "json", "portalUrl": "https://mygis/portal", "queryParameters": {"objectIds":"532","orderByFields":"||last_edited_date DESC, objectid ASC"}, "templateItemId": template_item_id, "outputReportName": "Test report", "surveyItemId": survey_id, "featureLayerUrl": "https://prodgis.lla.com/server/rest/services/Hosted/service_891bd7a80776437781ca20e1e3a0be28/FeatureServer/0", "outputFormat": "docx", # or "docx" "token": token } # Submit the report job request url = f"https://survey123.arcgis.com/api/featureReport/createReport/submitJob" response = requests.post(url, data=payload) # Process the response if response.status_code == 200: data = response.json() if 'jobId' in data: print("Report job submitted successfully!") print("Job ID:", data['jobId']) # Optionally, you can check the job status or get the result when complete else: print("Failed to submit report job:", data) else: print("Error submitting report job:", response.status_code, response.text) error message Failed to submit report job: {'error': {'message': 'The "queryParameters" must include at least one of the following: "objectIds", "where", or "geometry".', 'code': '017'}, 'success': False} Any help would be appreciated
... View more
11-13-2024
02:03 PM
|
0
|
2
|
457
|
POST
|
@PatrickCrushell This behavior has been reported to Esri already, see the link below https://community.esri.com/t5/arcgis-survey123-questions/disadvantages-in-the-latest-version-of-the/m-p/1498439#M57575
... View more
06-28-2024
09:56 AM
|
2
|
0
|
876
|
POST
|
I am having this same issue being reported in my business, screenshot below. Thinking it might be a bug in the lastest survey123 release but im not sure...
... View more
06-27-2024
09:44 AM
|
0
|
0
|
1056
|
POST
|
Hello YPN Team! My name is Najeeb Hall I Joined the Young Professionals Network last year but this is my first post. Based in the Caribbean island of Jamaica I have been working in GIS and with ArcGIS tools for over 5 years now. Primarily my background has been in Telecommunications and Power Generation Sectors and this is where my GIS expericne has been focused. Last year I started my own company called JAN Industries where I am the President and have been offering professional services to coporate clients all over the globe! My team is small but we have a very wide and adept knowledge of ArcGIS and its tools/applications. This year I will be attending the upcoming Dev summit in Palm Springs and would love to meet anyone else from the YPN community that might be attending also! Please feel free to reach out to me on Linked in or by responding here. I am also open to connecting with anyone who just wants to discuss our varied experiences working in GIS.
... View more
02-23-2024
01:13 PM
|
4
|
1
|
735
|
POST
|
Thank you for sharing your experience! I've been to the UC but never the FedGIS, sounds like it was a very good learning experience!
... View more
02-21-2024
07:51 PM
|
1
|
0
|
781
|
POST
|
@IsmaelChivite @ZacherySutherby Is it possible to calculate on records in postions that have not been loaded (displayed)? Use case is I would like to record Fiber strand colors in a repeat based on the size of the cable entered (which would be the repeat count). So if I enter 12 as my fiber strand count, 12 records are created in the repeat table and I would like it to calculate the colors (using an if statement similar to if position = 1, 'blue', if position = 2, 'orange') without the user having to click through all 12 records to intialize the calculation.
... View more
10-31-2023
08:21 PM
|
0
|
0
|
356
|
POST
|
Thanks @LaToshaThompson for taking the time to respond, I see this is an Arcgis online article and it does work there but the download data option is not there on my Arcgis Enterprise 10.9.1 Operations Dashboard which is where I would need it
... View more
04-05-2023
03:05 PM
|
1
|
0
|
1564
|
POST
|
Hi @LisaDong , Is there recommended soltuion to enable this functionality? you mention trusted domian is there a way to add web abb builder to this?
... View more
03-27-2023
10:39 AM
|
0
|
0
|
2560
|
POST
|
@Jianxia I am having the same issue as @JordanMitchell1 , where the Web app builder is on the same portl embedded in a dashboard but does not allow users to export. similarly this workes in Enterprise 10.6 but not in oue new 10.9.
... View more
03-27-2023
10:36 AM
|
0
|
0
|
2390
|
POST
|
@SydneyBohn Is there any update on this? I am having the exact same issue, infact My organization has portal 10.6 and 10.9 and it works on 10.6 but not on 10.9 operations dashboard.
... View more
03-27-2023
10:19 AM
|
1
|
0
|
1591
|
POST
|
Hello @ZacharySutherby , I am tying to view pictures that were colledted in the Survey123 field app in a secondary Web form. I have given the image fields the same name in Survey123 Conenct but I am only seeing to add new pictures, I do see the exiting pictures on the feature but not in the web form. Any thoughts?
... View more
02-16-2023
08:46 AM
|
0
|
1
|
956
|
POST
|
I have figured this out, its because the field sizes did not line up, I used the append tool and it gave me a warning with more information. So i was copying from a field with size 500 into one with 255.
... View more
02-14-2023
01:09 PM
|
0
|
0
|
4446
|
POST
|
Good day, I am trying to use copy and paste special to transfer features from one feature layer to the next. The source feature layer is on my local machine and the target is hosted on Arc enterprise 10.9.1. I am using ArcGISpro 3.0.1. This is a process I have done many times before to copy data from one layer to another however this time some of the features works and some give this erroe below which is vague. I have the field mapping set using the transfer attribues field mapper. I have not been able to find a pattern amongst the ones that raise this error and i could not find much information on what this error code actually means.
... View more
02-13-2023
07:42 AM
|
0
|
1
|
4498
|
Title | Kudos | Posted |
---|---|---|
2 | 06-28-2024 09:56 AM | |
1 | 02-21-2024 07:51 PM | |
4 | 02-23-2024 01:13 PM | |
1 | 08-14-2020 01:00 PM | |
1 | 04-05-2023 03:05 PM |
Online Status |
Offline
|
Date Last Visited |
04-29-2025
11:46 AM
|