Retrieve response for function call

Retrieve response from a function call.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
path Parameters
callId
required
integer

The function call id.

functionId
required
integer

The function id.

Responses
200

OK

400

The response for a failed request.

get/functions/{functionId}/calls/{callId}/response
Request samples
response = client.functions.calls.get_response(call_id=2, function_id=1)

call = client.functions.calls.retrieve(call_id=2, function_id=1)
response = call.get_response()
Response samples
application/json
{
  • "response": {
    • "numAssets": 1234,
    • "someCalculation": 3.14
    }
}