<?xml version="1.0" encoding="UTF-8"?>
<!--
Generated by: TIF XML Generator 2.5.1, using template cz/trask/tif/generator/velo/xml/v3/ApiDefinition.vm<br>
Created:      Fri May 20 18:15:02 CEST 2016<br>
Intended for: TIF Connector versions from 2.4 to 5.6.0 and possibly higher.<br>
-->
<tif xmlns="http://trask.cz/tif/definitions/api"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://trask.cz/tif/definitions/api ApiDefinition.xsd">
    <api>
        <application>HUB</application>
        <name>MWFAZ6</name>
        <version>001</version>
        <operation_type>active</operation_type>
        <documentation>hub API:MWFAZ6</documentation>
        <implementation />
        <message type="XML" version="1">
            <input_parameters>
                <parameter>
                    <name>APP_KEY</name>
                    <type name="long" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>DECISION_TYPE</name>
                    <type name="string" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>EMP_ROLE</name>
                    <type name="string" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>FILTER_VALID_ONLY_FLAG</name>
                    <type name="long" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>INST_CUST_ID</name>
                    <type name="long" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>INST_DOC_KEY</name>
                    <type name="long" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>INST_OBLGTN_KEY</name>
                    <type name="long" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>REASONS_FILTER</name>
                    <type name="string" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>REASON_ADD_ROLE</name>
                    <type name="string" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>REASON_TEXT_TYPE</name>
                    <type name="string" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>SCREEN_ID</name>
                    <type name="string" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
            </input_parameters>
            <output_parameters>
                <parameter>
                    <name>Data</name>
                    <type name="resultset">
                        <resultset_parameters>
                <parameter>
                    <name>RS_APPR_RSN_KEY</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_CODE</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_CODE_VALID</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_APPROVER_VALID_FLAG</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_DECISION_PRIORITY</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_ADD_USER</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_ADD_ROLE_OUT</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_ADD_TIME</name>
                        <type name="datetime" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_INVAL_USER</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_INVAL_ROLE</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_INVAL_TIME</name>
                        <type name="datetime" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_TEXT_INTERNAL</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_TEXT_EXTERNAL</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_TEXT_EXTERNAL_CZ</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_TEXT_EXTERNAL_SK</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_ADC_REASON_TEXT_EXTERNAL_CZ</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_ADC_REASON_TEXT_EXTERNAL_SK</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_TEXT_PARAMETER_1</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_TEXT_PARAMETER_2</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_PARAMETER_COUNT</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_RC_NUM</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_ADD_ROLE</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_FORM_TYPE_ID</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_FORM_ITEM_ASSIGNMENT_ID</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_NBSM_ERROR_CODE</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_INST_CUST_ID_OUT</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_DECISION_TYPE_OUT</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_MIN_EMP_ROLE_INVALIDATE</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_DECISION_CATEGORY</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_DECISION_SUBCATEGORY</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_DECISION_CATEGORY_PRIORITY</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_DECISION_SUBCATEGORY_PRIORITY</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_FIRST_NAME</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_FAMILY_NAME</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_CLIENT_APP_ROLE</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_CAN_BE_INVALIDATE</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_EMP_SSO_ID</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_EMP_ROLE_ID</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_EMP_POSITION_ID</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_APP_ID</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_APP_KEY_OUT</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_CORRECTION_TYPE</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_SCRENN_FORM_ITEM_ASSGN</name>
                        <type name="string" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                <parameter>
                    <name>RS_REASON_SHADOW_FLAG</name>
                        <type name="long" />
                        <required>false</required>
                        <documentation />
                        <implementation />
                </parameter>
                        </resultset_parameters>
                    </type>
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
                <parameter>
                    <name>Pocet</name>
                    <type name="long" />
                    <required>false</required>
                    <documentation />
                    <implementation />
                </parameter>
            </output_parameters>
        </message>
    </api>
</tif>