Dec 7, 2016, 1:29 PM
1 Posts

SmartCloud API access - auth

  • Category: Administration
  • Platform: Windows
  • Release: All releases
  • Role: Administrator,Developer
  • Tags: API access command list
  • Replies: 1

Hi,

I'm trying to create some scripts which will manage basic user functions like account creation, password change, locking account etc.

As I'm using the PowerShell in most of my scripts, I'm trying to use Invoke-webrequest command to push changes in database, but I'm having troubles with authentication part (for some reason basic auth is not working and I can't find any OAuth explanation which will work after modifications for SmartCloud.

Do you know if there is any manual in documentation, which is working with SmartCloud API and will let me access the environment properly, or maybe anyone can share part of code (even for different language) responsible for authentication?

Regards

Jakub

Jan 16, 2017, 9:20 AM
4 Posts
RE API into SCN
Hi Jakub,

It is not possible to provision via API into SCN for a hybrid user and what you are trying to achieve is possible via integration server (LLIS) and even for the service only user, its not possible to define the template.


To summarize:
         - using the SmartCloudNotes User Provisioning UI (provisioning new users with NEW/empty mailfiles)
         - MOM migration (provisioning users with mailfile migration)
         - Onboard Transitioning tools (provisioning users with mailfile migration)
         - Integration Server (for new users OR in conjection with Onboard Transitioning tools for migrating user data)

         RE Authentication;
         APIs can be used but the you need to be aware that SmartCloudNotes is hosted on top of BSS and as so, is reliant on BSS APIs.
         Specific SmartCloudNotes API capabilities are very limited.
         REF:
         https://www-10.lotus.com/ldd/appdevwiki.nsf/xpAPIViewer.xsp?lookupName=API+Reference#action=openDocument&content=catcontent&ct=api
       
         These are not what you were requesting but its worth highlighting, this is currently all that is at present.

         There are wider range of BSS API capabilities:
         https://www-10.lotus.com/ldd/appdevwiki.nsf/xpAPIViewer.xsp?lookupName=API+Reference#action=openDocument&res_title=Open_Authorization_sbt&content=apicontent

         To summarize:
         If you are looking to create users via API - this is not possible.
         If you are looking to change user's passwords via API, this too is not possible.

         You can use the integration server to Add users via Change Files (wherein you can SET users passwords).
         http://www.ibm.com/support/knowledgecenter/SSPS94/hybrid/topics/llis_using_the_integration_server.html