Login |
This API is used to authenticate against Process Platform instance.
Resource URI
/v1/login
Note: The supported output format is Plain text.
Request Type
HTTP POST
HTTP Header Parameters
Parameter | Descrption |
---|---|
user_id |
Process Platform user ID |
password |
Password of the user |
otdsticket | OTDS token generated after OTDS resource creation and activation |
Note :
SAML base authentication we need to provide user_id and password.
OTDS base authentication we need to provide otdsticket and user_id.
Response
Returns a SAML artifact
Sample Code for Invoking the Login API
var request = new XMLHttpRequest(); request.open("POST", "http://testbop.cordys.com:4142/BPMService/v1/login", false ); request.setRequestHeader("user_id","testew13"); request.setRequestHeader("password",""); request.setRequestHeader("Content-Type","text/plain"); request.send(null); //For OTDS base login and to obtain SAMLart associated with OTDS token: var request = new XMLHttpRequest(); request.open("POST", "http://testbop.cordys.com:4142/BPMService/v1/login", false ); request.setRequestHeader("user_id","testew13"); request.setRequestHeader("otdsticket","XXXXXOTDS-TOKEN"); request.setRequestHeader("Content-Type","text/plain"); request.send(null);