function authenticateUserSession(){ path = "bii_RestfulRib/service/IBCommonServices/authenticateUserSession"; var input = { method: 'post', returnedContentType: 'json', path: path, body: { contentType: 'application/json; charset=UTF-8', content: JSON.stringify({ "userId": "1391", "sessionId": "123123123123123", }) } }; return WL.Server.invokeHttp(input); }