Hi,
I asked this question in the API for Python forum, but I figure it's relevant here as well. I'll delete if cross-posts are frowned upon.
https://community.esri.com/t5/arcgis-api-for-python-questions/access-a-value-in-the-json-response-from/td-p/1335646/jump-to/first-unread-message
What I'm trying to do is access the 'status' property of the JSON response to a successful Create Replica call. In the documentation, it says the the response from the call is the statusURL, and that URL links to a webpage containing these properties and example values:
{
"transportType":"esriTransportTypeUrl",
"responseType": "esriReplicaResponseTypeData",
"replicaName": "Meters",
"resultUrl": "https://arcgis.com/lidGgNLxw9LL0SbI/ArcGIS/rest/services/SaveTheBay/replicafiles/c2f366ffbf5549a48727d2529b2c6ed5.json",
"submissionTime": 1379366479000,
"lastUpdatedTime": 1379366482000,
"status": "Completed"
}
I'm trying to access the 'status' property, but I can't find documentation on how to do that. Is it possible? I can access the HTML text of the page through response.text after a request.get call to the statusURL, but I don't know how to access that status value.
Any help would be most appreciated!