com.apama.cumulocity
Event GenericResponseComplete


Response from Cumulocity after the last GenericResponse event for a given request.
Since:
10.5.0.0

Constant summary
 stringCHANNEL := "cumulocity.generic.response"

The channel to which Generic responses are sent from the transport.
 
Member summary
 integerreqId

Request identifier from the original GenericRequest.
 booleanerror

True if an error was received during this GenericRequest.
 integerstatusCode

Status code from the final response.
 stringdetails

Response details that weren't sent as GenericResponse events.
 
Constant detail

CHANNEL

string CHANNEL := "cumulocity.generic.response"
The channel to which Generic responses are sent from the transport.
Member detail

details

string details
Response details that weren't sent as GenericResponse events.

Typically this will be the error message parsed from the error event. For other responses which weren't success JSON payloads (non-success, non-error content type, or success-non-JSON) it'll be whatever payload was returned.

error

boolean error
True if an error was received during this GenericRequest.

reqId

integer reqId
Request identifier from the original GenericRequest.

statusCode

integer statusCode
Status code from the final response.