Perform Query in Siebel using SWE api and CURL -
i'm try perform query in oracle siebel using swe api. used this approach these steps:
- logging app
- navigate screen want query
- invoke newquery method
- perform query
all goes until step 4. documentation says
invoke executequery method , specify value indicate search criteria.
in following example, query record name called ip_webserver: http://localhost/smc_enu/start.swe?swecmd=invokemethod&sweapplet=smc+opportunity+list+applet&sweview=smc+opportunity+view&sweneedcontext=false&swereqrowid=0&swebid=-1&swemethod=executequery&swesetmarkup=xml&name=ip_webserver
so tried approach, building url , adding @ end field want query , value need. abstract of list want query
<list> <rs_header> <column required="false" id="501" name="contactnumber" text_based="true" html_type="text" read_only="false" list_editable="y" number_based="false" calculated="false" datatype="text" scale="0" type="text" text_length="64" field="contactnumber" hidden="false" total_required="false" display_name="codice contatto"/> <column required="true" id="502" name="calltype" text_based="true" html_type="text" read_only="false" list_editable="y" number_based="false" calculated="false" datatype="text" scale="0" type="text" text_length="30" field="calltype" hidden="false" total_required="false" display_name="tipologia"/> <column required="false" id="505" name="login" text_based="true" html_type="text" read_only="false" list_editable="y" number_based="false" calculated="false" datatype="text" scale="0" type="text" text_length="50" field="login" hidden="false" total_required="false" display_name="operatore"/> <!-- more columns --> </rs_header> <rs_data> <!-- data --> </rs_data> </list>
the field want query 3th (name="login") produced url
but i got results instead of ones requested for, did not provide search criteria @ all.
am missing request built? right way perform query siebel via swe api?
note: tried using post method too, in case output wont xml (like did empty request) note 2: not have admin access siebel application.
Comments
Post a Comment