Using Survey123 Feature Layer in HTTP Module of Integromat

160
2
09-30-2020 03:44 AM
New Contributor II

Hello everyone,

I have two surveys. I want the numeric field of one survey to be decreased automatically when the other survey is submitted. Therefore, I prepared a scenario using HTTP module in Integromat . However, I had to use rest URL of feature service and I have to change the token of URL every two weeks. The other option for me is that I have to share feature service with edit and update capability publicly but it is not secure. Is there any way that I can do this without changing token every two weeks?

Reply
0 Kudos
2 Replies
Esri Contributor

Hi,

Are you building your own webhook using HTTP and the OAuth authorization? Have you tried set refresh token in your webhook?

HTTP – Integromat Support 

Token—ArcGIS REST API | ArcGIS for Developers 

Thanks,

Ruth

Reply
0 Kudos
New Contributor II

Hi Ruth,

Thank you so much for your answer! No, I do not use outh2 authorization and do not know how to use it. Should i use sharing/rest? My rest service url is something like https://domain.org/server/rest/services/Hosted/service_421421421/FeatureServer/1/UpdateFeatures?toke...<token>. How can i modify it to use outh2 and refresh token feature?

Reply
0 Kudos