This API is for fetching the output of a custom function that has finished execution on the Virtual Data Provider

API URL: /execution/fetch/{executionId}

Method: GET


Headers

Authorization: API Key


Output

The response will be in JSON: Here's a sample response:

{
  "ver": "1.0",
  "timestamp": "2018-12-06T11:39:57.153Z",
  "txnid": "0b811819-9044-4856-b0ee-8c88035f8858",
  "sessionid": "0b811819-9044-4856-b0ee-8c88035f8858",
  "output": {
    "response": {
      "result": {
        "payload": {
          "isCreditWorthy": "true"
        }
      },
      "success": true,
      "status": "success"
    },
    "KeyMaterial": {
      "cryptoAlg": "ECDHE",
      "curve": "Curve25519",
      "params": "string",
      "DHPublicKey": {
        "expiry": "2018-12-06T11:39:57.153Z",
        "Parameters": "string",
        "KeyValue": "string"
      },
      "Nonce": 0,
      "Signature": "Signature as defined in W3C standards; Base64 encoded"
    }
  }
}