Submit webapp form to inubit

This endpoint enables user to submit the web application form. The user is identified by the given authentication.This submits data from an independent portlet without a dedicated portal server or process user configuration in INUBIT.

Request

URL: /webapp/standalone/submit/{id}

Method: POST

Authorization: required

POST /ibis/rest/webapp/standalone/submit/123 HTTP/1.1
Accept: application/xml
Host: localhost:8080

Request Parameters

Name Description Required Allowed values

id

Unique Web Application Connector module uuid

yes

Alpha-numeric with special character(-)

includeCss

Default value is true. It sets default theme available with inubit. To use custom themes, value should be set to false.

no

true or false

includeScript

Default value is true. It includes default scripts available with inubit.

no

true or false

Request Headers

Name Description Required Allowed values

portletId

id of the portlet, which will be used to generate namespace.

yes

Alpha-numeric

portalUrl

The context path of the portal, which will used for further communication from front-end to the INUBIT server.

yes

Url String

actionUrl

The url that needs to be called for submit action

yes

Url string

user

Name of the portal user for processing in INUBIT.

yes

Alpha-numeric

webappIdentifier

webapplication form name similar to the filename in queue manager.

yes

Alpha-numeric

Body

Example


{"hiddenSubmitIS":["value"],"#sb_value":["Submit"],"TextField_191698769":[""],"submitId":["submitId"]}

Response

HTTP/1.1 200 OK
Content-Tye: application/xml
Content-Length: 1290

<div xmlns:xs="http://www.w3.org/2001/XMLSchema" id="i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_bodyIS">
    <div id="i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_innerIS" class="portlet-font">
        <link rel="stylesheet" type="text/css" href="http://localhost:8080/o/FormProxyServlet?url=inubitrepository:///Global/System/Widgets/resources/theme-classic-all_1.css">
        <link rel="stylesheet" type="text/css" href="http://localhost:8080/o/FormProxyServlet?url=inubitrepository:///Global/System/Widgets/resources/theme-classic-all_2.css">
        `<script type="text/javascript" src="http://localhost:8080/o/FormProxyServlet?url=inubitrepository:///Global/System/Widgets/resources/Script.js"></script><script type="text/javascript" src="http://localhost:8080/o/FormProxyServlet?url=inubitrepository:///Global/System/Widgets/resources/AjaxScript.js"></script><script type="text/javascript" src="http://localhost:8080/o/FormProxyServlet?url=inubitrepository:///Global/System/Widgets/resources/jquery-3.5.1.js"></script><script type="text/javascript" language="javascript">

        try {
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_vForms=new Array();
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_panels=new Array();
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_errorViewer=new Array();
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_validate=true;
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_warningColor='#ffcccc';
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_contextPath='http://localhost:8080/o';



        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_ajaxValidation=false;

        dataIS['ajaxLoad']='true';
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_form='2082ed32-7f00-0101-4530-9c08b2617e57';
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_done=false;
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_genericClient='false';
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_lang='en';
        dataIS.i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_webFormName='webform@@@LaunchWebApp/form_loginwebapp(62)_basicwebapp@@@200005.xml';

        } catch(e) { if("ReferenceError"!=e.name) alert(e); }

    </script><form action="http://localhost:8080/testconfig?p_p_id=LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql&amp;p_p_lifecycle=1&amp;p_p_state=normal&amp;p_p_mode=view&amp;p_auth=cSnljKm6" name="i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_" id="i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_formIS" method="post" accept-charset="UTF-8" enctype="multipart/form-data" onsubmit="return checkForExt((typeof event !=='undefined') ? event : null, 'i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_', '', getFormDataIS('i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_'),'')"><input type="hidden" name="submitId" id="i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_submitId" value="submitId"><input type="hidden" name="hiddenSubmitIS" id="i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_hiddenSubmitIS" value="_nothing"><div id="i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_main" style="display:block;">
        <div class="outerGroupIS" style="position: static;">
            <table cellpadding="0" cellspacing="0" border="0" id="i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_main.table" class="groupInvisibleIS" style="position: static;&#xA;            background-color: #ffffff; background-image: none;&#xA;            border-color: #ffffff;" width="100%">
                <tbody>
                    <tr>
                        <td style="vertical-align: top; text-align: left;"><input type="text" size="30" onkeydown="dataIS.key=event.keyCode" class="portlet-form-input-field" value="" id="i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_TextField_191698769" name="TextField_191698769" style="position: ;width: 300px; "></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: left;"><input class="portlet-form-button" name="#sb_value" value="Submit" onClick=";&#xA;javascript:setSubmitPropertyIS('value','false','i_LiferayMVCPortlet_INSTANCE_AfYrAMY2vHql_');&#xA;dataIS.submitter=this;&#xA;      " type="submit" style="position: ;"></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    </form><script type="text/javascript" language="javascript">;</script></div>
</div>

Errors

None