1,147 bytes added,
13:20, 16 August 2015 = Overview =
This function is part of the bxp API App suite of functions. [[Bxp_API_-_APP_API]]
= Form Lookup Function =
Primary Function: Provide listing of records matching search criteria
You must post eight key pair values. (not including the semi colons)
* strFunction:formlookup
* strSystem:client_demo
* intClient_Id:123
* strClient_SessionField:asdfasdfasdf
* intCampaign_Id:1
* strSearch_Field:strCDA_1_field_0_1
* strSearch_Value:Name
* strReturn_Fields:strCDA_1_field_0_2,strCDA_1_field_0_3
intCampaign_Id is the form id of the form to be searched.
strSearch_Field is the field to be searched.
strSearch_Value is the value to be searched for.
strReturn_Fields are the fields to be returned.
The system will respond with XML.
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<strFunction>formlookup</strFunction>
<intErrorId>0</intErrorId>
<strError></strError>
<item>
<intId>1171</intId>
<strCDA_1_field_0_2>asdf</strCDA_1_field_0_2>
<strCDA_1_field_0_3>fdas</strCDA_1_field_0_3>
</item>
</data>
</syntaxhighlight>
[[Category:Topic:bxp_APP_API]]
[[Category:Topic:bxp_API]]