com.apama.cumulocity
Event CumulocityRequestInterface


Cumulocity Request Interface.

Enables creating requests for Cumulocity
Action summary
 com.apama.cumulocity.CumulocityRequestInterfacestatic connectToCumulocity()

Creates an HTTPTransport which automatically connects to Cumulocity.
 com.softwareag.connectivity.httpclient.RequestcreateRequest(string method, string path, any payload)

Creates a request on the transport that has been configured for a Cumulocity connection.
 
Action detail

connectToCumulocity

com.apama.cumulocity.CumulocityRequestInterface static connectToCumulocity()
Creates an HTTPTransport which automatically connects to Cumulocity.
Returns:
The instance of the event that contains a transport

createRequest

com.softwareag.connectivity.httpclient.Request createRequest(string method, string path, any payload)
Creates a request on the transport that has been configured for a Cumulocity connection.
Parameters:
method - The type of HTTP request, for example "GET".
path - A specific path to be appended to the request.
payload - A dictionary of elements to be included in the request.