External Applications: AuthenticationLast Updated: 12/05/2015 Introduced in Verision: 2.0 |
Summary
Calls into Decisions may require being authentication by a sessionId . An example of such a call is calling a flow via REST service. This example shows how to get a session Id using a set of valid Decisions credentials.
Example
To get a session Id call the following URL: http://[AddressOfDecisionsServer]/[VirtualDirectoryOfDecisions]/LoginUserAndGetSessionId?userId=valid userid&password=valid password
On a local default Decisions installation, this URL would look like: http://localhost/decisions/LoginUserAndGetSessionId?userId=admin@decisions.com&password=admin
Browsing to this URL will return a session id that you can use for calls into Decisions.
For an example of how to use a session Id, please see External Applications: Calling Flows (REST)