This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Rest API authenticated and then??

Hi I successfully authenticated with an ajax request on my AppServer, and I get this json response:

{  
   "claims":{  
      "schemas.dell.com/.../identifier":"CCCAdmin",
      "schemas.dell.com/.../useruid":"CCC-65E9B3D39FFE925C4D7747A69876C128",
      "schemas.dell.com/.../module":"DialogUser",
      "schemas.dell.com/.../product":""
   },
   "passwordBased":true,
   "moduleDisplay":"System user",
   "sessionId":"oC1Kjzkh3Z8EvEhWvyfz",
   "userName":"CCCAdmin",
   "responseStatus":{  

   }
}

and now how can I use this informations? I should use sessionId field? But how in an ajax request?

There is no example after successfully logged in.

Thanks Mik

 

On 7.1

Parents
  • Hi Mik,

    there are several samples in the documentation that explain what you can do with the methods of the REST API.

    As shown in the PowerShell samples, you need the pass the session variables / cookies created by your successful login.

    This is something that your browser or REST API tool does automatically for you, for example Postman.

    Please check the documentation for the programming environment you are using to check how to do that.
Reply
  • Hi Mik,

    there are several samples in the documentation that explain what you can do with the methods of the REST API.

    As shown in the PowerShell samples, you need the pass the session variables / cookies created by your successful login.

    This is something that your browser or REST API tool does automatically for you, for example Postman.

    Please check the documentation for the programming environment you are using to check how to do that.
Children
No Data