Skip to Content

Convert .Net logon token to REST logon token?

Is there a way to convert (or generate) a logon token that was generated using the BI Platform .Net SDK to a format that I can be used by the BI Platform RESTful SDK?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 22 at 07:38 PM

    Hi Craig,

    Yes, you can do this. You create a REST token by logging in to REST web services with the SDK token.

    One thing to be aware of is that as soon as the SDK token is invalidated (logged off, timed out etc) the REST token is invalidated as well.

    https://help.sap.com/viewer/db6a17c0d1214fd6971de66ea0122378/4.2.5/en-US/45f5abf06e041014910aba7db0e91070.html

    Dan

    Add comment
    10|10000 characters needed characters exceeded

    • Changing the Url from <code>host:port/biprws/logon/long</code> to <code>host:port/biprws/logon/token</code> eliminated the error for the BI Platform 4.2 Support Pack 4 (14.2.4.2410).

  • Mar 23 at 04:26 AM

    If BOE version is 4.2 SP03 + , use version 1 APIs (http://host:port/biprws/v1/logon/token).

    Add comment
    10|10000 characters needed characters exceeded

    • is it happening only with version 1 APIs ?

      check this tag value:

      <attr name="tokentype" type="string" possibilities="token, serializedSession">serializedSession</attr>