The login actor-chain is used to log the agent into the site and verify the appropriate login and password credentials.
Parameter | Description |
|---|---|
| The login of the agent. |
| The agent’s password. |
| If set to |
| If set to |
| Provides the ticket disposition option to use. |
| The reason code for the ticket. |
| Creates a note stored in the ticket. |
| Makes the note available for public viewing. |
Agent Log In Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json"
-d "{ "login" : "ServiceAdmin" , "password" : "service123" }"
"http://localhost:8280/rest/model/atg/userprofiling/InternalProfileActor/
login"If the log in information proves to be correct, the following success server response occurs:
{"userId": "svcUserAdmin>}If the log in information proved to be incorrect, the following exception would occur:
{"formError": true, "formExceptions":[{"localizedMessage":"The password and login
combination is incorrect.","errorCode":"invalidPassword"}]}
