Integratec API Platform
string opNetApi.opClientConnection.sendRequest ( string  serviceId,
string  request 
)

Sends an asynchronous request.

Parameters
[in]serviceIdIdentifier of the service that handles the request.
[in]requestRequest data in JSON format.
Returns
The return value is a unique identifier for the request.
Usage
Open a client connection before calling this method, using opClientConnection(string ip, int port) or open.
Specify the request using the serviceId and request parameters.
Attention
Delete the record of the request using deleteRequest when you no longer need to receive a reply for the request.
See also
deleteRequest, opClientConnection(string ip, int port) and open.