Developer Documentation Library > Interviewer - Server > UNICOM Intelligence Interviewer architecture > Interview Service tier > Quota web service > Quota web service > /Quota/Logon URL
 
/Quota/Logon URL
A GET request to this URL establishes an application session ID. It requires the following header variables, using the data that is returned by a UserAuth Logon request.
Authorization: The string “Ticket” followed by the base64 encoded username and ticket in this format: username:ticket. This is the same as for /UserAuth/Logon URL.
UserSessionId: The UserSessionId that is returned by a UserAuth Logon request.
This request uses the /UserAuth/KeepAlive URL to validate the UserSessionId and to keep the user session alive; then it creates an internal application session; then it performs a DPM ticket logon to verify the username and ticket; and finally it creates an entry in the ApplicationSession table. The supplied header variables and the generated application session ID are returned in the response body. The ApplicationSessionId must be included as a header variable in all other requests to the Quota web service.
XML example
<Logon UserName="User1" Ticket="O2MxVGOuU2vPSsavmCPPzxiKYmg=" UserSessionId="111gp33mgsnw5gptz155niwv" ApplicationSessionId="09fe301f-8a70-4868-a8d5-47314b2ac34c" />
JSON example
{
  "UserName": "User1",
  "Ticket": "O2MxVGOuU2vPSsavmCPPzxiKYmg=",
  "UserSessionId": "111gp33mgsnw5gptz155niwv",
  "ApplicationSessionId": "09fe301f-8a70-4868-a8d5-47314b2ac34c"
}
See also
Application sessions