Select to view content in your preferred language

CreateReport/SubmitJob Endpoint for Enterprise/Portal (using FME)

149
2
Jump to solution
04-07-2025 05:11 PM
j-bromp
Frequent Contributor

Hi there,

I have posted in the FME community as well however it might be more relevant here.

I am trying to send a POST request to the createReport/submitJob endpoint using an httpCaller in FME to begin generating a survey123 report.

When using an AGOL connection this is the endpoint to use:

https://survey123.arcgis.com/api/featureReport/createReport/submitJob

however I get an invalid token error when using this endpoint with a portal connection. I have tried adding in the portal to that url but then get an unvalid url error.

I am not sure if the request url is supposed to be different when using portal? I know in PowerAutomate we have a custom connector that enables the report generation however the endpoint isn't clearly visible in PA. 

Any help would be much appreciated. 


Cheers

0 Kudos
1 Solution

Accepted Solutions
j-bromp
Frequent Contributor
0 Kudos
2 Replies
j-bromp
Frequent Contributor

Have successfully got the above to submit the job. I can also access this endpoint:

https://survey123.arcgis.com/api/featureReport/queryJobs


which provides details about the submitted job but not the actual resultFile,

this endpoint: https://survey123.arcgis.com/api/featureReport/jobs/@Value(jobId) still returns invalid token... any ideas? cheers

0 Kudos
j-bromp
Frequent Contributor

Solved

0 Kudos