Raritan PX2/PX3 JSON-RPC API
BulkRequest.idl
1 
2 module bulkrpc {
3 
5  structure Request {
6  string rid;
7  string json;
8  };
9 
11  structure Response {
12  string json;
13  int statcode;
14  };
15 
17  opaque JsonObject;
18 
20  interface BulkRequest_1_0_2 {
21 
23  structure Request {
24  string rid;
25  JsonObject json;
26  };
27 
29  structure Response {
30  JsonObject json;
31  int statcode;
32  };
33 
43  void performRequest(in vector<bulkrpc.Request> requests,
44  out vector<bulkrpc.Response> responses);
45 
55  void performBulk(in vector<Request> requests,
56  out vector<Response> responses);
57 
75  void performBulkTimeout(in vector<Request> requests,
76  out vector<Response> responses,
77  in int timeoutMs);
78 
79  };
80 }
JSON-RPC Response.
Definition: BulkRequest.idl:29
Bulk Request Interface.
Definition: BulkRequest.idl:20
string rid
JSON resource ID (URI path)
Definition: BulkRequest.idl:6
int statcode
HTTP Status Code.
Definition: BulkRequest.idl:13
JSON-RPC Response (old format)
Definition: BulkRequest.idl:11
Bulk RPC.
Definition: BulkRequest.idl:2
string rid
JSON resource ID (URI path)
Definition: BulkRequest.idl:24
JSON-RPC Request.
Definition: BulkRequest.idl:23
int statcode
HTTP Status Code.
Definition: BulkRequest.idl:31
JSON-RPC Request (old format)
Definition: BulkRequest.idl:5
string json
Request in JSON-RPC format.
Definition: BulkRequest.idl:7
opaque JsonObject
Plain JSON object; used without further encoding in JSON-RPC requests.
Definition: BulkRequest.idl:17
JsonObject json
Request in JSON-RPC format.
Definition: BulkRequest.idl:25
JsonObject json
Response in JSON-RPC format.
Definition: BulkRequest.idl:30
string json
Response in JSON-RPC format.
Definition: BulkRequest.idl:12