How long is a Survey123-generated token good for before timing out?

409
1
10-20-2020 09:32 AM
DirkVandervoort
Occasional Contributor II

Greetings all:

I'm working with On-prem Enterprise Portal, Integromat and Survey123 on devices (no web Survey123 edits):

Looking that the contents of a Survey123  in an Integromat watch survey module, when a survey is submitted or edited, it carries with it a Portal for ArcGIS token: 

I would like to use that token later - say hours or days later - to perform edits on the feature service using the REST API. 

My questions are:

  • How long is the token valid for before it times out (by default?
  • Can I specify the token timeout in a Portal or Survey123 setting?

Thanks in advance!

0 Kudos
1 Reply
PaulSweeney3
Occasional Contributor III

Hi Dirk Vandervoort

You can generate the token yourself and specify how long it lasts using the http  module in integromat 

Generate Token—ArcGIS REST API | ArcGIS for Developers 

maybe the referer would have to be your portal i am not sure as i don't have On-prem Enterprise Portal. 

0 Kudos