Difference between revisions of "Advertiser API"

From Ad4Game Developers
Jump to: navigation, search
(Blanked the page)
Line 1: Line 1:
<div method="vm.method" has-api-builder="" class="ng-isolate-scope">
 
<dt>API Builder:</dt>
 
<dd>
 
    <div ng-show="method.target.api.access === 'brand'" class="input-prepend network-token ng-hide">
 
        <span class="add-on">
 
            <abbr title="Is Required">NetworkToken</abbr>
 
        </span>
 
        <input type="text" ng-model="apiCallArgs.networkToken" class="input-large ng-pristine ng-untouched ng-valid">
 
    </div>
 
  
    <div ng-show="method.target.api.access === 'affiliate'" class="input-prepend affiliate-key">
 
        <span class="add-on">
 
            <abbr title="Is Required">Affiliate API V3 Key</abbr>
 
        </span>
 
        <input type="text" ng-model="apiCallArgs.affiliateKey" class="input-large ng-pristine ng-valid ng-touched">
 
    </div>
 
 
    <div class="input-prepend network-id">
 
        <span class="add-on">
 
            <abbr title="Is Required">NetworkId</abbr>
 
        </span>
 
        <input type="text" ng-model="apiCallArgs.networkId" class="input-large ng-pristine ng-untouched ng-valid">
 
    </div>
 
 
    <table ng-show="apiCallArgs.methodSpecificArgs.length &gt; 0" class="table table-bordered api-builder-inputs">
 
        <thead>
 
            <tr>
 
                <th>Parameter</th>
 
                <th>Value</th>
 
            </tr>
 
        </thead>
 
        <tbody>
 
            <!-- ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> fields</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Array of Model Fields</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ --><div ng-switch-when="@fields@" class="ng-scope">
 
                            <div arg="arg" has-fields-arg="" class="ng-isolate-scope"><ul class="unstyled">
 
 
    <!-- ngRepeat: field in arg.value --><li ng-repeat="field in arg.value" class="ng-scope">
 
        <button ng-click="arg.value.splice($index, 1)"><i class="icon-trash close-image" ng-show="arg.value[$index] != null"></i></button>
 
        <span class="model-field-name"><strong class="ng-binding">ConversionsMobile.google_aid</strong> <a tooltip-append-to-body="true" tooltip-html-unsafe="(Mobile) Google AID.  This field is allowed only if the Network has the &quot;show_mobile_tracking_params&quot; Preference enabled." ng-show="arg.value != null" tooltip-trigger="focus" onclick="jQuery(this).focus();" href="javascript:void(0);" class="ng-scope"><i class="icon-question-sign"></i></a></span>
 
    </li><!-- end ngRepeat: field in arg.value -->
 
 
    <li class="add-next-input">
 
        <div ng-hide="getUnselectedModelFields(arg).length == 0">
 
            <select ng-options="field.name for field in getUnselectedModelFields(arg) | orderBy:'name'" ng-change="addNewField()" ng-model="newField" class="input-large ng-valid ng-dirty ng-touched"><option value="" class="">-- Choose a Field --</option><option value="0">Browser.display_name</option><option value="1">Browser.id</option><option value="2">ConversionMeta.note</option><option value="3">ConversionsMobile.android_id</option><option value="4">ConversionsMobile.android_id_md5</option><option value="5">ConversionsMobile.android_id_sha1</option><option value="6">ConversionsMobile.device_brand</option><option value="7">ConversionsMobile.device_id</option><option value="8">ConversionsMobile.device_id_md5</option><option value="9">ConversionsMobile.device_id_sha1</option><option value="10">ConversionsMobile.device_model</option><option value="11">ConversionsMobile.device_os</option><option value="12">ConversionsMobile.device_os_version</option><option value="13">ConversionsMobile.google_aid_md5</option><option value="14">ConversionsMobile.google_aid_sha1</option><option value="15">ConversionsMobile.ios_ifa</option><option value="16">ConversionsMobile.ios_ifa_md5</option><option value="17">ConversionsMobile.ios_ifa_sha1</option><option value="18">ConversionsMobile.ios_ifv</option><option value="19">ConversionsMobile.mac_address</option><option value="20">ConversionsMobile.mac_address_md5</option><option value="21">ConversionsMobile.mac_address_sha1</option><option value="22">ConversionsMobile.odin</option><option value="23">ConversionsMobile.unknown_id</option><option value="24">ConversionsMobile.user_id</option><option value="25">ConversionsMobile.windows_aid</option><option value="26">ConversionsMobile.windows_aid_md5</option><option value="27">ConversionsMobile.windows_aid_sha1</option><option value="28">Country.name</option><option value="29">Goal.name</option><option value="30">Offer.name</option><option value="31">OfferUrl.id</option><option value="32">OfferUrl.name</option><option value="33">OfferUrl.preview_url</option><option value="34">PayoutGroup.id</option><option value="35">PayoutGroup.name</option><option value="36">Stat.ad_id</option><option value="37">Stat.affiliate_info1</option><option value="38">Stat.affiliate_info2</option><option value="39">Stat.affiliate_info3</option><option value="40">Stat.affiliate_info4</option><option value="41">Stat.affiliate_info5</option><option value="42">Stat.approved_payout</option><option value="43">Stat.conversion_status</option><option value="44">Stat.count_approved</option><option value="45">Stat.currency</option><option value="46">Stat.date</option><option value="47">Stat.datetime</option><option value="48">Stat.goal_id</option><option value="49">Stat.hour</option><option value="50">Stat.id</option><option value="51">Stat.ip</option><option value="52">Stat.is_adjustment</option><option value="53">Stat.month</option><option value="54">Stat.offer_id</option><option value="55">Stat.offer_url_id</option><option value="56">Stat.pixel_refer</option><option value="57">Stat.refer</option><option value="58">Stat.sale_amount</option><option value="59">Stat.session_ip</option><option value="60">Stat.source</option><option value="61">Stat.user_agent</option><option value="62">Stat.week</option><option value="63">Stat.year</option></select>
 
        </div>
 
    </li>
 
</ul>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> groups</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Array of string</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array --><div ng-switch-when="array" class="ng-scope">
 
                            <div arg="arg" has-primitive-array-arg="" class="ng-isolate-scope"><ul class="unstyled">
 
<!-- ngRepeat: value in arg.value track by $index --><li ng-repeat="value in arg.value track by $index" class="ng-scope">
 
<button class="btn" type="button" ng-click="destroyValue($index)"><i class="icon-trash"></i> </button>
 
<span ng-show="arg.selectedDataType.allowedValues == null" class="ng-hide">
 
<input type="text" placeholder="string" ng-model="arg.value[$index]" class="input-medium ng-pristine ng-untouched ng-valid">
 
</span>
 
 
<span ng-show="arg.selectedDataType.allowedValues != null">
 
<span><strong class="ng-binding">Stat.affiliate_info3</strong></span>
 
</span>
 
</li><!-- end ngRepeat: value in arg.value track by $index -->
 
 
<li class="add-next-input">
 
<!-- If allowed values are not declared, initialize new value to empty string -->
 
<div ng-show="arg.selectedDataType.allowedValues == null" class="ng-hide">
 
<button class="btn" type="button" ng-click="addNewValue('')"><i class="icon-plus"></i> Add</button>
 
</div>
 
 
<!-- If allowed values are declared, populate drop-down with unused ones and add on selection -->
 
<div ng-show="arg.selectedDataType.allowedValues != null">
 
<div ng-hide="getUnusedAllowedValues().length == 0">
 
<select ng-options="val for val in getUnusedAllowedValues()" ng-change="addNewValue(newVal);newVal=null;" ng-model="newVal" class="input-large ng-valid ng-dirty ng-touched"><option value="? string:Stat.affiliate_info3 ?"></option><option value="" class="">-- Choose One --</option><option value="0">Browser.display_name</option><option value="1">Country.name</option><option value="2">Goal.name</option><option value="3">Offer.name</option><option value="4">OfferUrl.id</option><option value="5">OfferUrl.name</option><option value="6">Stat.affiliate_info1</option><option value="7">Stat.affiliate_info2</option><option value="8">Stat.affiliate_info4</option><option value="9">Stat.affiliate_info5</option><option value="10">Stat.currency</option><option value="11">Stat.date</option><option value="12">Stat.goal_id</option><option value="13">Stat.hour</option><option value="14">Stat.month</option><option value="15">Stat.offer_id</option><option value="16">Stat.offer_url_id</option><option value="17">Stat.source</option><option value="18">Stat.week</option><option value="19">Stat.year</option></select>
 
</div>
 
</div>
 
</li>
 
</ul>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> filters</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Report Filter</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ --><div ng-switch-when="@report_filter@" class="ng-scope">
 
<div arg="arg" has-report-filter-arg="" class="ng-isolate-scope"><!-- ngRepeat: fieldFilter in arg.value --><div ng-repeat="fieldFilter in arg.value" class="ng-scope">
 
 
<div style="white-space: nowrap;">
 
<div style="clear: both;" ng-show="$index &gt; 0" class="ng-hide"><strong> -- AND --</strong></div>
 
 
<span class="filter-labels-container">
 
<button ng-click="arg.value.splice($index, 1)"><i class="icon-trash close-image"></i></button> <span class="model-field-name"><strong class="ng-binding">ConversionsMobile.device_os_version</strong> <a tooltip-append-to-body="true" tooltip-html-unsafe="(Mobile) Device OS Version.  This field is allowed only if the Network has the &quot;show_mobile_tracking_params&quot; Preference enabled." tooltip-trigger="focus" onclick="jQuery(this).focus();" href="javascript:void(0);" class="ng-scope"><i class="icon-question-sign"></i></a></span>
 
 
<select ng-options="relationalOperator.label for relationalOperator in fieldFilter.getAllowedRelationalFilterOperators()" ng-change="fieldFilter.initializeDefaultValues()" ng-model="fieldFilter.relationalOperator" class="input-small ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">=</option><option value="1">!=</option><option value="2">Like</option><option value="3">Not Like</option><option value="4">Null</option><option value="5">Not Null</option></select>
 
</span>
 
 
<!-- if [null/not null] is selected, no need to collect an additional value -->
 
<!-- ngIf: ['NULL','NOT_NULL'].indexOf(fieldFilter.relationalOperator.value) == -1 --><div ng-if="['NULL','NOT_NULL'].indexOf(fieldFilter.relationalOperator.value) == -1" class="filter-value-container ng-scope">
 
<!-- ngRepeat: filterVal in fieldFilter.value track by $index --><span ng-repeat="filterVal in fieldFilter.value track by $index" class="ng-scope">
 
<span ng-show="$index &gt; 0" class="ng-hide">
 
<!-- ngIf: fieldFilter.relationalOperator.value !== 'BETWEEN' --><span ng-if="fieldFilter.relationalOperator.value !== 'BETWEEN'" class="ng-scope">OR</span><!-- end ngIf: fieldFilter.relationalOperator.value !== 'BETWEEN' -->
 
<!-- ngIf: fieldFilter.relationalOperator.value === 'BETWEEN' -->
 
<br>
 
</span>
 
<span class="filter-value-input-group">
 
<!-- drop-down if allowed values are defined on field, else regular text input -->
 
<!-- ngIf: fieldFilter.field.allowedValues != null -->
 
 
<!-- ngIf: fieldFilter.field.allowedValues == null --><span ng-if="fieldFilter.field.allowedValues == null" class="ng-scope">
 
<input type="text" placeholder="string" ng-model="fieldFilter.value[$index]" class="input-medium ng-pristine ng-untouched ng-valid">
 
</span><!-- end ngIf: fieldFilter.field.allowedValues == null -->
 
 
<!-- ngIf: fieldFilter.relationalOperator.value == 'EQUAL_TO' --><span ng-if="fieldFilter.relationalOperator.value == 'EQUAL_TO'" class="ng-scope">
 
<button ng-click="fieldFilter.value.splice($index, 1)" ng-show="fieldFilter.value.length &gt; 1" class="ng-hide"><i class="icon-trash close-image"></i></button>
 
 
<button ng-click="fieldFilter.appendNewDefaultFilterValue()" class="filter-add-button" ng-show="$index == (fieldFilter.value.length - 1) &amp;&amp; (fieldFilter.field.allowedValues == NULL || fieldFilter.getAllowedFieldValues().length &gt; 0)"><i class="icon-plus"></i></button>
 
</span><!-- end ngIf: fieldFilter.relationalOperator.value == 'EQUAL_TO' -->
 
</span>
 
<br ng-show="$index &lt; (fieldFilter.value.length - 1)" class="ng-hide">
 
</span><!-- end ngRepeat: filterVal in fieldFilter.value track by $index -->
 
</div><!-- end ngIf: ['NULL','NOT_NULL'].indexOf(fieldFilter.relationalOperator.value) == -1 -->
 
</div>
 
</div><!-- end ngRepeat: fieldFilter in arg.value -->
 
 
<div style="clear: both;" ng-show="getFilterableFields().length &gt; 0">
 
<select ng-options="field.name for field in getFilterableFields() | orderBy:'name'" ng-change="addNewFieldFilter()" ng-model="newField" class="input-large ng-valid ng-dirty ng-touched"><option value="" class="">-- Choose a Field --</option><option value="0">Browser.display_name</option><option value="1">Browser.id</option><option value="2">ConversionMeta.note</option><option value="3">ConversionsMobile.android_id</option><option value="4">ConversionsMobile.android_id_md5</option><option value="5">ConversionsMobile.android_id_sha1</option><option value="6">ConversionsMobile.device_brand</option><option value="7">ConversionsMobile.device_id</option><option value="8">ConversionsMobile.device_id_md5</option><option value="9">ConversionsMobile.device_id_sha1</option><option value="10">ConversionsMobile.device_model</option><option value="11">ConversionsMobile.device_os</option><option value="12">ConversionsMobile.google_aid</option><option value="13">ConversionsMobile.google_aid_md5</option><option value="14">ConversionsMobile.google_aid_sha1</option><option value="15">ConversionsMobile.ios_ifa</option><option value="16">ConversionsMobile.ios_ifa_md5</option><option value="17">ConversionsMobile.ios_ifa_sha1</option><option value="18">ConversionsMobile.ios_ifv</option><option value="19">ConversionsMobile.mac_address</option><option value="20">ConversionsMobile.mac_address_md5</option><option value="21">ConversionsMobile.mac_address_sha1</option><option value="22">ConversionsMobile.odin</option><option value="23">ConversionsMobile.unknown_id</option><option value="24">ConversionsMobile.user_id</option><option value="25">ConversionsMobile.windows_aid</option><option value="26">ConversionsMobile.windows_aid_md5</option><option value="27">ConversionsMobile.windows_aid_sha1</option><option value="28">Country.name</option><option value="29">Goal.name</option><option value="30">Offer.name</option><option value="31">OfferUrl.id</option><option value="32">OfferUrl.name</option><option value="33">OfferUrl.preview_url</option><option value="34">PayoutGroup.id</option><option value="35">PayoutGroup.name</option><option value="36">Stat.ad_id</option><option value="37">Stat.affiliate_info1</option><option value="38">Stat.affiliate_info2</option><option value="39">Stat.affiliate_info3</option><option value="40">Stat.affiliate_info4</option><option value="41">Stat.affiliate_info5</option><option value="42">Stat.approved_payout</option><option value="43">Stat.conversion_status</option><option value="44">Stat.count_approved</option><option value="45">Stat.currency</option><option value="46">Stat.date</option><option value="47">Stat.datetime</option><option value="48">Stat.goal_id</option><option value="49">Stat.hour</option><option value="50">Stat.id</option><option value="51">Stat.ip</option><option value="52">Stat.is_adjustment</option><option value="53">Stat.month</option><option value="54">Stat.offer_id</option><option value="55">Stat.offer_url_id</option><option value="56">Stat.pixel_refer</option><option value="57">Stat.refer</option><option value="58">Stat.sale_amount</option><option value="59">Stat.session_ip</option><option value="60">Stat.source</option><option value="61">Stat.user_agent</option><option value="62">Stat.week</option><option value="63">Stat.year</option></select>
 
</div>
 
</div>
 
</div><!-- end ngSwitchWhen: -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> sort</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Sort</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ --><div ng-switch-when="@sort@" class="ng-scope">
 
                            <div arg="arg" has-sort-arg="" class="ng-isolate-scope"><ul class="unstyled">
 
 
    <!-- ngRepeat: sortCombo in arg.value --><li>
 
 
    <div ng-hide="getUnusedSortFields().length == 0">
 
        <select ng-options="field.name for field in getUnusedSortFields() | orderBy:'name'" ng-change="addNewSortField()" ng-model="newSortField" class="input-large ng-pristine ng-untouched ng-valid"><option value="" class="">-- Choose a Field --</option><option value="0">Browser.display_name</option><option value="1">Browser.id</option><option value="2">ConversionMeta.note</option><option value="3">ConversionsMobile.android_id</option><option value="4">ConversionsMobile.android_id_md5</option><option value="5">ConversionsMobile.android_id_sha1</option><option value="6">ConversionsMobile.device_brand</option><option value="7">ConversionsMobile.device_id</option><option value="8">ConversionsMobile.device_id_md5</option><option value="9">ConversionsMobile.device_id_sha1</option><option value="10">ConversionsMobile.device_model</option><option value="11">ConversionsMobile.device_os</option><option value="12">ConversionsMobile.device_os_version</option><option value="13">ConversionsMobile.google_aid</option><option value="14">ConversionsMobile.google_aid_md5</option><option value="15">ConversionsMobile.google_aid_sha1</option><option value="16">ConversionsMobile.ios_ifa</option><option value="17">ConversionsMobile.ios_ifa_md5</option><option value="18">ConversionsMobile.ios_ifa_sha1</option><option value="19">ConversionsMobile.ios_ifv</option><option value="20">ConversionsMobile.mac_address</option><option value="21">ConversionsMobile.mac_address_md5</option><option value="22">ConversionsMobile.mac_address_sha1</option><option value="23">ConversionsMobile.odin</option><option value="24">ConversionsMobile.unknown_id</option><option value="25">ConversionsMobile.user_id</option><option value="26">ConversionsMobile.windows_aid</option><option value="27">ConversionsMobile.windows_aid_md5</option><option value="28">ConversionsMobile.windows_aid_sha1</option><option value="29">Country.name</option><option value="30">Goal.name</option><option value="31">Offer.name</option><option value="32">OfferUrl.id</option><option value="33">OfferUrl.name</option><option value="34">OfferUrl.preview_url</option><option value="35">PayoutGroup.id</option><option value="36">PayoutGroup.name</option><option value="37">Stat.ad_id</option><option value="38">Stat.affiliate_info1</option><option value="39">Stat.affiliate_info2</option><option value="40">Stat.affiliate_info3</option><option value="41">Stat.affiliate_info4</option><option value="42">Stat.affiliate_info5</option><option value="43">Stat.approved_payout</option><option value="44">Stat.conversion_status</option><option value="45">Stat.count_approved</option><option value="46">Stat.currency</option><option value="47">Stat.date</option><option value="48">Stat.datetime</option><option value="49">Stat.goal_id</option><option value="50">Stat.hour</option><option value="51">Stat.id</option><option value="52">Stat.ip</option><option value="53">Stat.is_adjustment</option><option value="54">Stat.month</option><option value="55">Stat.offer_id</option><option value="56">Stat.offer_url_id</option><option value="57">Stat.pixel_refer</option><option value="58">Stat.refer</option><option value="59">Stat.sale_amount</option><option value="60">Stat.session_ip</option><option value="61">Stat.source</option><option value="62">Stat.user_agent</option><option value="63">Stat.week</option><option value="64">Stat.year</option></select>
 
    </div>
 
 
</li></ul>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> limit</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">integer</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer --><div ng-switch-when="integer" class="ng-scope">
 
                            <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
 
<button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
 
<!-- ngIf: arg.selectedDataType.name =='boolean' -->
 
<!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
 
<!-- if allowed values are declared, constrain values in dropdown -->
 
<!-- ngIf: arg.selectedDataType.allowedValues != null -->
 
 
<!-- If values are unrestricted, put editable free-form input box -->
 
<!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
 
<input type="text" placeholder="integer" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid">
 
</span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
 
</span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
 
</div>
 
 
<div ng-show="arg.value == null">
 
<button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
 
</div>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> page</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">integer</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer --><div ng-switch-when="integer" class="ng-scope">
 
                            <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
 
<button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
 
<!-- ngIf: arg.selectedDataType.name =='boolean' -->
 
<!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
 
<!-- if allowed values are declared, constrain values in dropdown -->
 
<!-- ngIf: arg.selectedDataType.allowedValues != null -->
 
 
<!-- If values are unrestricted, put editable free-form input box -->
 
<!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
 
<input type="text" placeholder="integer" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid">
 
</span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
 
</span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
 
</div>
 
 
<div ng-show="arg.value == null">
 
<button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
 
</div>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> totals</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">boolean</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer -->
 
                        <!-- ngSwitchWhen: boolean --><div ng-switch-when="boolean" class="ng-scope">
 
                            <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
 
<button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
 
<!-- ngIf: arg.selectedDataType.name =='boolean' --><span ng-if="arg.selectedDataType.name =='boolean'" class="ng-scope">
 
<select ng-options="boolToStr(opt) for opt in [true, false]" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid"><option value="" selected="selected"></option><option value="0">True</option><option value="1">False</option></select>
 
</span><!-- end ngIf: arg.selectedDataType.name =='boolean' -->
 
<!-- ngIf: arg.selectedDataType.name !='boolean' -->
 
</div>
 
 
<div ng-show="arg.value == null">
 
<button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
 
</div>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> data_start</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">string</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string --><div ng-switch-when="string" class="ng-scope">
 
                            <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
 
<button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
 
<!-- ngIf: arg.selectedDataType.name =='boolean' -->
 
<!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
 
<!-- if allowed values are declared, constrain values in dropdown -->
 
<!-- ngIf: arg.selectedDataType.allowedValues != null -->
 
 
<!-- If values are unrestricted, put editable free-form input box -->
 
<!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
 
<input type="text" placeholder="string" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid">
 
</span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
 
</span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
 
</div>
 
 
<div ng-show="arg.value == null">
 
<button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
 
</div>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> data_end</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">string</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string --><div ng-switch-when="string" class="ng-scope">
 
                            <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
 
<button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
 
<!-- ngIf: arg.selectedDataType.name =='boolean' -->
 
<!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
 
<!-- if allowed values are declared, constrain values in dropdown -->
 
<!-- ngIf: arg.selectedDataType.allowedValues != null -->
 
 
<!-- If values are unrestricted, put editable free-form input box -->
 
<!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
 
<input type="text" placeholder="string" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid">
 
</span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
 
</span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
 
</div>
 
 
<div ng-show="arg.value == null">
 
<button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
 
</div>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> count</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">boolean</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer -->
 
                        <!-- ngSwitchWhen: boolean --><div ng-switch-when="boolean" class="ng-scope">
 
                            <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
 
<button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
 
<!-- ngIf: arg.selectedDataType.name =='boolean' --><span ng-if="arg.selectedDataType.name =='boolean'" class="ng-scope">
 
<select ng-options="boolToStr(opt) for opt in [true, false]" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid"><option value="" selected="selected"></option><option value="0">True</option><option value="1">False</option></select>
 
</span><!-- end ngIf: arg.selectedDataType.name =='boolean' -->
 
<!-- ngIf: arg.selectedDataType.name !='boolean' -->
 
</div>
 
 
<div ng-show="arg.value == null">
 
<button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
 
</div>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> hour_offset</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">integer</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer --><div ng-switch-when="integer" class="ng-scope">
 
                            <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
 
<button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
 
<!-- ngIf: arg.selectedDataType.name =='boolean' -->
 
<!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
 
<!-- if allowed values are declared, constrain values in dropdown -->
 
<!-- ngIf: arg.selectedDataType.allowedValues != null -->
 
 
<!-- If values are unrestricted, put editable free-form input box -->
 
<!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
 
<input type="text" placeholder="integer" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid">
 
</span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
 
</span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
 
</div>
 
 
<div ng-show="arg.value == null">
 
<button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
 
</div>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
 
                <td>
 
                    <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> status_update_fields</strong>
 
                    <div ng-show="arg.param.allowedDataTypes.length &gt; 1" class="ng-hide">
 
                        Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Array of mixed</option></select>
 
                    </div>
 
                </td>
 
 
                <td>
 
                    <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
 
                        <!-- ngSwitchWhen: @contain@ -->
 
                        <!-- ngSwitchWhen: @data@ -->
 
                        <!-- ngSwitchWhen: @field@ -->
 
                        <!-- ngSwitchWhen: @fields@ -->
 
                        <!-- ngSwitchWhen: @filter@ -->
 
<!-- ngSwitchWhen: @report_filter@ -->
 
                        <!-- ngSwitchWhen: @sort@ -->
 
<!-- ngSwitchWhen: @structured_object@ -->
 
<!-- ngSwitchWhen: @structured_object_array@ -->
 
<!-- ngSwitchWhen: @unstructured_object@ -->
 
                        <!-- ngSwitchWhen: integer -->
 
                        <!-- ngSwitchWhen: boolean -->
 
                        <!-- ngSwitchWhen: string -->
 
                        <!-- ngSwitchWhen: mixed -->
 
                        <!-- ngSwitchWhen: array --><div ng-switch-when="array" class="ng-scope">
 
                            <div arg="arg" has-primitive-array-arg="" class="ng-isolate-scope"><ul class="unstyled">
 
<!-- ngRepeat: value in arg.value track by $index -->
 
 
<li class="add-next-input">
 
<!-- If allowed values are not declared, initialize new value to empty string -->
 
<div ng-show="arg.selectedDataType.allowedValues == null">
 
<button class="btn" type="button" ng-click="addNewValue('')"><i class="icon-plus"></i> Add</button>
 
</div>
 
 
<!-- If allowed values are declared, populate drop-down with unused ones and add on selection -->
 
<div ng-show="arg.selectedDataType.allowedValues != null" class="ng-hide">
 
<div ng-hide="getUnusedAllowedValues().length == 0" class="ng-hide">
 
<select ng-options="val for val in getUnusedAllowedValues()" ng-change="addNewValue(newVal);newVal=null;" ng-model="newVal" class="input-large ng-pristine ng-untouched ng-valid"><option value="" class="">-- Choose One --</option></select>
 
</div>
 
</div>
 
</li>
 
</ul>
 
</div>
 
                        </div><!-- end ngSwitchWhen: -->
 
                    </div>
 
                </td>
 
            </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs -->
 
        </tbody>
 
    </table>
 
</dd>
 
 
<dd>
 
    <button ng-click="runApiCall()" type="button" class="btn btn-primary" ng-hide="method.nonstandard != null">Run API Call</button>
 
 
<span code-language="codeExampleLanguage" api-call-arg-set="apiCallArgs" button-label="'Get Code'" has-get-api-code-button="" class="ng-isolate-scope"><button ng-click="displayModal()" type="button" class="btn ng-binding">Get Code</button></span>
 
<label class="radio inline">
 
<input type="radio" value="url" ng-model="codeExampleLanguage" class="ng-pristine ng-untouched ng-valid" name="1501">HTTP URL
 
</label>
 
<label class="radio inline">
 
<input type="radio" value="php" ng-model="codeExampleLanguage" class="ng-pristine ng-untouched ng-valid" name="1502">PHP
 
</label>
 
<label class="radio inline">
 
<input type="radio" value="curl" ng-model="codeExampleLanguage" class="ng-pristine ng-untouched ng-valid" name="1503">cURL
 
</label>
 
 
</dd>
 
 
<dl ng-hide="apiResponse == null" class="ng-hide">
 
    <dt>API Response</dt>
 
    <dd>
 
        <pre ng-class="{'alert error': apiError, 'loading' : responseLoading}" class="ng-binding"></pre>
 
    </dd>
 
</dl>
 
</div>
 

Revision as of 09:28, 10 July 2015

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox