Zum Hauptinhalt gehen

Download String in Geocortex Workflow

Kommentare

2 Kommentare

  • Ryan Cooney

    Hi Mark,

     

    You can use the Send Web Request activity to do this. There are a few ways to use this activity, but since you are looking to parse the response as JSON, I would suggest setting the Expect input to "json". Then the json output of the activity will contain the parsed response.

     

    --Ryan

    0
  • Mark Norbury

    Thanks, this has worked. I've set the 'Method' parameter to GET, the 'Expected' to json, and put the whole URL in the 'Url' like this: ="http://URL/arcgis/rest/services/ImageServiceName/ImageServer/query?where=Category%3D1&objectIds=&time=&geometry=%7Bxmin:" + $areaOfInterest.result.xmin + ",xmax:" + $areaOfInterest.result.xmax + ",ymin:"+ $areaOfInterest.result.ymin + ",ymax:" + $areaOfInterest.result.ymax + "%7D&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&outFields=DataSource,LowPS&returnGeometry=false&outSR=&returnIdsOnly=false&returnCountOnly=false&pixelSize=&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnDistinctValues=false&f=json"

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.