Hi
I was looking for is there anyway to run a job and update a token(Header Parameter Name: Value lIst) in input connector type "poll an external website for json".
how to get control of input connector and update the fields in it.
Thanks In advance
Solved! Go to Solution.
Hey MR -
I would recommend you take a look at the following blogs:
What you want to do requires you write a script or web application which uses the ArcGIS Server Administrative REST API. You can review available operations exposed by the Admin API:
Good Luck -
RJ
Hi MR Reddy
Just to clarify, are you looking to be able to have the input connector's Header Parameter Name:Value List property be automatically/programmatically updated while the input is running?
Hi Daniel Cota
Thanks for your reply
Yes, I was looking for Header Parameter Name:Value List property to be automatically/programmatically updating.
In my case, I will pass token in the Header Parameter Name:Value property,
token will expire in a week, so I created a separate code to generate token and store it in local file.
so am planning to get the token value from the file and automatically update in input connector.
can this be achieved or I need to create a new transport?
Hey MR -
I would recommend you take a look at the following blogs:
What you want to do requires you write a script or web application which uses the ArcGIS Server Administrative REST API. You can review available operations exposed by the Admin API:
Good Luck -
RJ
Hey Everyone,
I just updated my GitHub repository hosting the python scripts for my blog Scripting tasks using the GeoEvent Admin API - Update Inputs to include a python script that will update either URL Parameters OR Header name:value properties. Look for the python script UpdateGEEInputURLorHeadParam.py.
Best,
Eric I.