Extract method for session id generate
Generate json getToken request