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
Solved! Go to Solution.
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