The login actor-chain is used to log the agent into the site and verify the appropriate login and password credentials.

Parameter

Description

login

The login of the agent.

password

The agent’s password.

doWarnings

If set to true, will display warnings when changes occur.

doTicketDispositionPrompt

If set to true, will display prompts when changes occur.

dispositionOption

Provides the ticket disposition option to use.

reasonCode

The reason code for the ticket.

ticketNote

Creates a note stored in the ticket.

publicNote

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"}]}

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices