Skip to Content

Dear community,

as I am often getting the question how to build a simple example using the SAP Identity Management REST API, I am writing a small blog post about it.

  • Attached, you are able to find a text file. Download it do a directory of your choice and rename it to index.html.
  • Download the jQuery library from following location and save it to the same directory as jquery-1.9.1.min.js:

http://code.jquery.com/jquery-1.9.1.min.js

  • Edit the index.html file with a plain text editor (e.g. Sublime Text) and change the host definition, so that it fit’s your environment:

var baseUrl = ‘http://localhost:50000/idmrest/v1′;

  • After storing the file, open it with a browser (e.g. Goggle Chrome), and execute the “Search for Users” functionality. You will be prompted for username/password. As result, you should see a list of MX_PERSON entries.
  • Afterwards, execute the “Get Data from Display Task” functionality for a valid MSKEY, and you will see the attributes of this entry.

With the Google Chrome Developer Tools, you are easily able to look behind the scenes and which data is moved over the wire.

I recommend following  pages and tutorials for further information:

http://en.wikipedia.org/wiki/Ajax_(programming)

http://en.wikipedia.org/wiki/Representational_state_transfer

http://en.wikipedia.org/wiki/JSON

https://developer.mozilla.org/en-US/docs/AJAX/Getting_Started

https://developers.google.com/chrome-developer-tools/

In addition to following blog posts:

Write your own UIs using the ID Mgmt REST API

SAPUI5 and ID Mgmt – A Perfect Combination

Jannis

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. C Kumar

    Hello Jannis,
    Could you please attach the text file again. It seems after the migration, the attachment has been removed.

     

    Regards,

    C Kumar

    (0) 

Leave a Reply