GetResult Operation - Help
Request
This operation is a POST request. The request body represents an Execute request where the identifier represents the JobId retrieved from the Execute Response.
In the following example we will be getting the result of the processed launched in our Execute section.
curl command:
Response
The GetResult response represents a list of outputs and the http url from which we can download the output.
Example of response:
- Result not Ready Exception:
<ows:Exception exceptionCode="ResultNotReadyException"><ows:ExceptionText>The result for the requested JobID has not yet been generated or there are no outputs generated. </ows:ExceptionText> </ows:Exception> </ExceptionReport>">http://www.w3.org/1999/xlink" xmlns:wfs="http://www.opengis.net/wfs/2.1" xmlns:gml="http://www.opengis.net/gml" xmlns:sld="http://www.opengis.net/sld/1.2" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:se="http://www.opengis.net/se/2.0/core" xmlns:ns8="http://www.opengis.net/se/2.0/raster" xmlns:ns7="http://www.opengis.net/se/2.0/thematic" xmlns:ns13="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:fes="http://www.opengis.net/fes/2.1" xmlns:ns9="http://www.opengis.net/ows-context" xmlns:ns12="http://www.w3.org/2005/Atom" xmlns:ns15="http://www.w3.org/2001/SMIL20/" xmlns:wps="http://www.opengis.net/wps/2.0" xmlns:wms="http://www.opengis.net/wms" xmlns:ns18="http://www.w3.org/2001/SMIL20/Language"> <ows:Exception exceptionCode="ResultNotReadyException"> <ows:ExceptionText>The result for the requested JobID has not yet been generated or there are no outputs generated. </ows:ExceptionText> </ows:Exception> </ExceptionReport><ows:Exception exceptionCode="ResultNotReadyException"> <ows:ExceptionText>The result for the requested JobID has not yet been generated or there are no outputs generated. </ows:ExceptionText></ows:Exception></ExceptionReport>"> |
- List of Job Outputs (abstract) :
<Result> <wps:JobID>5d413c2714fc340001d023b6</wps:JobID><wps:Output id="I_vh.npy"><wps:Data>https://bmap-copa-data.oss.eu-west-0.prod-cloud-ocb.orange-business.com:443//5d30a4d6ae7538000155f9f6/read-2019-07-31-06-58-46-5d30a4d6ae7538000155f9f6/I_vh.npy?AccessKeyId=O2WPRORAGHXKBLCB6BY6&Expires=1564564170&Signature=SQOoo9oNZzDXFgbj6vQhDp7oawM%3D</wps:Data></wps:Output> <wps:Output id="Npol.npy"> <wps:Data>https://bmap-copa-data.oss.eu-west-0.prod-cloud-ocb.orange-business.com:443//5d30a4d6ae7538000155f9f6/read-2019-07-31-06-58-46-5d30a4d6ae7538000155f9f6/Npol.npy?AccessKeyId=O2WPRORAGHXKBLCB6BY6&Expires=1564564170&Signature=UwnPwnPmJmFpf%2FohVhSgIebwRTw%3D</wps:Data> [...) </Result> |
80 Views