Select to view content in your preferred language

Is it possible to create and publish a survey123 form for ArcGIS online using the rest api ?

558
1
05-28-2023 03:28 AM
PaulSweeney3
Occasional Contributor III

I know I can use the additem call  and form is one of the items however before i spend a day trying to figure it out i just want to now if it works and if there are any pitfalls around it .Does the zip file require any special configuration for example. 

Tags (2)
0 Kudos
1 Reply
ZacharySutherby
Esri Regular Contributor

Hello @PaulSweeney3

There is not a dedicated REST API endpoint that will publish a survey. We are working on adding a publish() method to the ArcGIS API for Python that wraps up the publishing process. The additional requests the zip file needs is converting the XLSForm to the XML file and if you want the web form to be created the XML will need to be converted into a .webform file before being zipped up.

Thank you,
Zach