• Home
  • Support
  • OnTime for IBM
  • FAQ
  • Development
  • Using the OnTime Group Calendar API using Notes native APIs (over NRPC)

Using the OnTime Group Calendar API using Notes native APIs (over NRPC)

 

Using the OnTime Group Calendar API (here after API) using Notes native API's is done using the following 5 basic steps:

  1. Create an API document in the OnTime Group Calendar API database (or reuse an existing document for the user if possible) and set the required back-end fields (see below for more info).
  2. Add the request JSON message to the API document.
  3. Digitally sign and then save the document.
  4. Run the ApiNotes agent in the API database supplying the note ID of the API document.
  5. Look up the API document you wrote the request to in step 1 and read the response.

The document you create should have the following backend items.

Item name Type Value
_Author Authors, Readers [ReadAll ]
[Developer]
<Distinguished name of effective user>
<Distinguished name of API server>
$Request_X Text The JSON request split into 32kb items named $Request_0, $Request_1, $Request_2 and so on

The request and response is in the same JSON format as the HTTP based API.

Below are links to examples in Java and LotusScript:

Using native Notes API's - LotusScript example

Using native Notes API's - Java example

 

Tuesday, 28 October 2014 Posted in Development