openapi: 3.0.0
info:
    title: 'AURA API'
    contact:
        email: pomoc@questy.pl
    version: '2.0'
paths:
    '/api/account_companies/{id}/gusUpdate':
        patch:
            description: 'Update an instance of account company with GUS data.'
            operationId: gusUpdate
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/account_companies/{companyId}/odbc_reports/{reportId}':
        get:
            description: 'Returns an odbc report related to account company.'
            operationId: getOdbcReport
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/account_companies/{companyId}/odbc_reports':
        get:
            description: 'Returns an odbc report related to account company.'
            operationId: getOdbcReports
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/account_companies/{companyId}/oemail_messages':
        get:
            description: 'Returns email messages related to account company.'
            operationId: getEmailMessages
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/account_companies/myCompany:
        get:
            description: 'Returns user company.'
            operationId: getUserCompany
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/additional_i18ns:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Create one or multiple new additional_i18ns'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/additional_i18ns/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single additional_i18ns object'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/additional_i18ns/import:
        post:
            description: 'Import additional_i18ns from a file'
            operationId: importDataFromFile
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPostFile'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/additional_i18ns/generate:
        post:
            description: 'Generates translations for custom names (attributes, series definitions, etc.) for every available language.'
            operationId: generateTranslations
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                204:
                    description: 'No content'
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/baskets:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Post data item/ collection'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch data collection'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/baskets/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single basket'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/baskets/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getDataCollectionAutoselect
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/baskets/{contextId}/basket_positions':
        get:
            description: 'Get data item for context, for example: commissionHistory for commission - commissions/1/commission_histories'
            operationId: getDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_currency_code'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_currency_code'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/baskets/basket_positions:
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContextWithoutBasket
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_currency_code'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/baskets/{contextId}/basket_positions/{id}':
        delete:
            description: 'Delete data item for context'
            operationId: deleteDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_currency_code'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch data item for context'
            operationId: patchDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_currency_code'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/baskets/{contextId}/import':
        post:
            description: 'Import basket positions from a file'
            operationId: importDataFromFile
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPostFile'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/basket_positions:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Post data item/ collection'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch data collection'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/basket_positions/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single basket position'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/basket_positions/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getDataCollectionAutoselect
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api:
        get:
            description: 'Get homepage, check if API works'
            operationId: getHome
            responses:
                200:
                    description: Success
                401:
                    description: 'Access denied'
    /api/me:
        get:
            description: 'Get user info'
            operationId: getMe
            responses:
                200:
                    description: Success
                401:
                    description: 'Access denied'
    /api/files/upload:
        post:
            description: 'Upload file/ files. You should send the file (or files) in the *data_files* parameter, e.g. as *form-data*'
            operationId: postDataFile
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyFilePost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
    /api/files/upload/urls:
        post:
            description: 'Upload file/ files from URL. You should send the URL (or URLs) in the *data_files_urls* parameter'
            operationId: postDataFileFromUrls
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyFileUrlPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
    /api/merged_modules:
        get:
            description: 'Get data collection from merged modules'
            operationId: getDataCollectionBasicModules
            parameters:
                -
                    $ref: '#/components/parameters/modules'
                -
                    $ref: '#/components/parameters/modules_params'
            responses:
                200:
                    description: Success
    /api/merged_modules/autoselect:
        get:
            description: 'Get data collection from merged modules for autoselect'
            operationId: getDataCollectionBasicModulesAutoselect
            parameters:
                -
                    $ref: '#/components/parameters/modules'
                -
                    $ref: '#/components/parameters/modules_params'
            responses:
                200:
                    description: Success
    '/api/{contextModule}/{contextId}/{module}':
        get:
            description: 'Get data item for context, for example: commissionHistory for commission - commissions/1/commission_histories'
            operationId: getDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/{module}/{id}/attributes/{attributeId}/downloadAll':
        get:
            description: 'Download all files from attribute.'
            operationId: downloadAllDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/attributeId'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/delivery_types/{contextId}/calculateCost':
        post:
            description: 'Generate delivery cost '
            operationId: postCalculateCostForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
            requestBody:
                description: 'The payload containing either the basket or the currency and positions.'
                required: true
                content:
                    application/json:
                        schema:
                            required:
                                - data
                            example:
                                -
                                    data:
                                        basket: 12345
                                -
                                    data:
                                        currencyCode: EUR
                                        company: 12345
                                        positions:
                                            -
                                                quantity: 2
                                                priceRabat: 99.99
                            oneOf:
                                -
                                    properties:
                                        data:
                                            properties:
                                                basket:
                                                    description: 'The ID of the basket'
                                                    type: integer
                                            type: object
                                    type: object
                                -
                                    properties:
                                        data:
                                            properties:
                                                currencyCode:
                                                    description: 'The currency code (PLN, EUR etc.)'
                                                    type: string
                                                company:
                                                    description: 'The ID of the company'
                                                    type: integer
                                                positions:
                                                    type: array
                                                    items:
                                                        properties:
                                                            quantity:
                                                                description: 'Quantity of the product'
                                                                type: integer
                                                            priceRabat:
                                                                description: 'Price after discounts'
                                                                type: number
                                                                format: float
                                                        type: object
                                            type: object
                                    type: object
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/discount_codes/generateCode:
        get:
            description: 'Generate discount code'
            operationId: generateCode
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyGet'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/document_orders/prepare:
        post:
            description: 'Prepare and return the document order to confirmation view. Do not save any changes to the database.'
            operationId: postPrepareDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/email_messages:
        get:
            operationId: 'App\Controller\Api\EmailMessageController::getDataCollection'
            parameters:
                -
                    $ref: '#/components/parameters/setting_email_messages_mark_seen'
                -
                    $ref: '#/components/parameters/setting_email_messages_save_in_db'
                -
                    $ref: '#/components/parameters/setting_email_messages_check_in_db'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/email_messages/{id}':
        get:
            operationId: 'App\Controller\Api\EmailMessageController::getDataItem'
            parameters:
                -
                    $ref: '#/components/parameters/setting_email_messages_mark_seen'
                -
                    $ref: '#/components/parameters/setting_email_messages_save_in_db'
                -
                    $ref: '#/components/parameters/setting_email_messages_check_in_db'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/exchanges/{currencyCodeFrom}/{currencyCodeTo}':
        get:
            description: 'Get exchangeRate'
            operationId: getExchangeRate
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/message_threads:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Create one or multiple new message_threads'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch multiple message threads'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/message_threads/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single thread'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/message_threads/{contextId}/{module}':
        get:
            description: 'Get data item for context, for example: commissionHistory for commission - commissions/1/commission_histories'
            operationId: getDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/{contextModule}/{contextId}/{module}/{id}':
        delete:
            description: 'Delete data item for context'
            operationId: deleteDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_currency_code'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch data item for context'
            operationId: patchDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_currency_code'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/products:
        get:
            description: 'Get data collection<br />**Example:** <br />Get account companies with relations, where primary relationship manager = 2, name contains ''e'' or ''E'' and ID is greater than 20. Returned fields are limited to id and name. Extra fields are: address and primary relationship manager''s full name. Results are order by company''s name.<br />**Query:** /api/account_companies?setting[with_relations]=1&filter[ph.id]=2&filter[name][hasText]=e&filter[id][gt]=20&extra_fields=address,ph.fullName&fields=name&order[name]=asc'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_storehouse.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/products/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_storehouse.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/products/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getDataCollectionAutoselect
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/profile_settings:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Create one or multiple new profile_settings'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch multiple profile_settings'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/profile_settings/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single profile setting'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/profile_settings/{profileId}/{settingName}':
        get:
            description: 'Get data item with name for profile'
            operationId: getDataItemForProfile
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/profileId'
                -
                    $ref: '#/components/parameters/settingName'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/settings:
        get:
            description: 'Get settings'
            operationId: getSettings
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_parse_setting_value'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/settings/{id}':
        get:
            description: 'Get single setting by Id'
            operationId: getSetting
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_parse_setting_value'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/settings/{name}':
        get:
            description: 'Get setting by name'
            operationId: getSettingByName
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/name'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_parse_setting_value'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        delete:
            description: 'Delete setting by name'
            operationId: deleteSettingByName
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/name'
                -
                    $ref: '#/components/parameters/filter'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch setting by name'
            operationId: patchSettingByName
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/name'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/settings/{name}/setting_histories':
        get:
            description: 'Get setting history by name'
            operationId: getSettingHistoryByName
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/name'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_parse_setting_value'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/tasks/{recurrenceUuid}':
        get:
            description: 'Get task collection with recurrence UUID'
            operationId: getDataCollectionByRecurrenceUuid
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/tasks/{recurrenceUuid}/{occurrenceDate}':
        get:
            description: 'Get an occurrence of a recurring task'
            operationId: getDataItemByRecurrenceOccurrence
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/occurrenceDate'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        delete:
            description: 'Delete an occurrence of a recurring task'
            operationId: deleteDataItemByRecurrenceOccurrence
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/occurrenceDate'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_debug_mode'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_task_scope'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch an occurrence of a recurring task'
            operationId: patchDataItemByRecurrenceOccurrence
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/occurrenceDate'
                -
                    $ref: '#/components/parameters/setting_task_scope'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/tasks{recurrenceUuid}':
        delete:
            description: 'Delete tasks by recurrence UUID'
            operationId: deleteDataCollectionByRecurrenceUuid
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/serviced_products:
        get:
            description: 'Get data collection<br />**Example:** <br />Get account companies with relations, where primary relationship manager = 2, name contains ''e'' or ''E'' and ID is greater than 20. Returned fields are limited to id and name. Extra fields are: address and primary relationship manager''s full name. Results are order by company''s name.<br />**Query:** /api/account_companies?setting[with_relations]=1&filter[ph.id]=2&filter[name][hasText]=e&filter[id][gt]=20&extra_fields=address,ph.fullName&fields=name&order[name]=asc'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/serviced_products/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/serviced_products/{contextId}/serviced_product_histories':
        get:
            description: 'Get data item for context, for example: commissionHistory for commission - commissions/1/commission_histories'
            operationId: getDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/custom_serviced_products/meta:
        get:
            description: '**Credential levels for modules:**<br />0: none<br />1: show<br />2: edit<br />3: create<br />4: delete<br /><br />**Credential levels for fields and extra_fields:**<br />0: none<br />1: show<br />2: edit<br />'
            operationId: getMetaCustomServicedProduct
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CustomServicedProductGETFields'
                -
                    $ref: '#/components/parameters/CustomServicedProductGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CustomServicedProduct
    '/api/custom_serviced_products/{id}':
        get:
            description: 'Get data item'
            operationId: getCustomServicedProduct
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/CustomServicedProductGETFields'
                -
                    $ref: '#/components/parameters/CustomServicedProductGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CustomServicedProduct
        delete:
            description: 'Delete data item'
            operationId: deleteCustomServicedProduct
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CustomServicedProduct
        patch:
            description: 'Patch data item'
            operationId: patchCustomServicedProduct
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CustomServicedProductPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CustomServicedProduct
    /api/custom_serviced_products:
        get:
            description: 'Get data collection<br />**Example:** <br />Get account companies with relations, where primary relationship manager = 2, name contains ''e'' or ''E'' and ID is greater than 20. Returned fields are limited to id and name. Extra fields are: address and primary relationship manager''s full name. Results are order by company''s name.<br />**Query:** /api/account_companies?setting[with_relations]=1&filter[ph.id]=2&filter[name][hasText]=e&filter[id][gt]=20&extra_fields=address,ph.fullName&fields=name&order[name]=asc'
            operationId: getCustomServicedProducts
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/CustomServicedProductGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CustomServicedProductGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CustomServicedProduct
        post:
            description: 'Post data item/ collection'
            operationId: postCustomServicedProducts
            requestBody:
                $ref: '#/components/requestBodies/CustomServicedProductPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CustomServicedProduct
        delete:
            description: 'Delete data collection'
            operationId: deleteCustomServicedProducts
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CustomServicedProduct
        patch:
            description: 'Patch data collection'
            operationId: patchCustomServicedProducts
            requestBody:
                $ref: '#/components/requestBodies/CustomServicedProductPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CustomServicedProduct
    /api/custom_serviced_products/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectCustomServicedProducts
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CustomServicedProductGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CustomServicedProductGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CustomServicedProduct
    '/api/custom_serviced_products/{id}/generate/pdf':
        post:
            description: 'Generate data item pdf'
            operationId: generatePdfCustomServicedProduct
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CustomServicedProduct
    /api/custom_serviced_product_histories/meta:
        get:
            description: '**Credential levels for modules:**<br />0: none<br />1: show<br />2: edit<br />3: create<br />4: delete<br /><br />**Credential levels for fields and extra_fields:**<br />0: none<br />1: show<br />2: edit<br />'
            operationId: getMetaCustomServicedProductHistory
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CustomServicedProductHistoryGETFields'
                -
                    $ref: '#/components/parameters/CustomServicedProductHistoryGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CustomServicedProductHistory
    '/api/custom_serviced_product_histories/{id}':
        get:
            description: 'Get data item'
            operationId: getCustomServicedProductHistory
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/CustomServicedProductHistoryGETFields'
                -
                    $ref: '#/components/parameters/CustomServicedProductHistoryGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CustomServicedProductHistory
        delete:
            description: 'Delete data item'
            operationId: deleteDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch data item'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/custom_serviced_product_histories:
        get:
            description: 'Get data collection<br />**Example:** <br />Get account companies with relations, where primary relationship manager = 2, name contains ''e'' or ''E'' and ID is greater than 20. Returned fields are limited to id and name. Extra fields are: address and primary relationship manager''s full name. Results are order by company''s name.<br />**Query:** /api/account_companies?setting[with_relations]=1&filter[ph.id]=2&filter[name][hasText]=e&filter[id][gt]=20&extra_fields=address,ph.fullName&fields=name&order[name]=asc'
            operationId: getCustomServicedProductHistories
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/CustomServicedProductHistoryGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CustomServicedProductHistoryGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CustomServicedProductHistory
        post:
            description: 'Post data item/ collection'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        delete:
            description: 'Delete data collection'
            operationId: deleteDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch data collection'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/custom_serviced_product_histories/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectCustomServicedProductHistories
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CustomServicedProductHistoryGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CustomServicedProductHistoryGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CustomServicedProductHistory
components:
    schemas:
        AccountCompanyAura:
            title: AccountCompanyAura
            description: 'AccountCompanyAura model'
            properties:
                name:
                    type: string
                    nullable: true
                shortName:
                    type: string
                    nullable: true
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            type: object
        AccountUserAura:
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/PersonBuilder'
        CampaignOpportunityAura:
            title: CampaignOpportunityAura
            description: 'CampaignOpportunityAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        CommissionAura:
            title: CommissionAura
            description: 'CommissionAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        CommissionToCommissionAura:
            title: CommissionToCommissionAura
            description: 'CommissionToCommissionAura model'
            properties:
                id:
                    description: 'Commission ID'
                    type: integer
                    format: integer
                    example: 1
                    nullable: true
                subtype:
                    description: 'subtype <parent, child, parallelStart, parallelEnd>'
                    type: string
                    format: string
                    nullable: true
                delay:
                    description: delay
                    type: integer
                    format: integer
                    example: 1
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
            type: object
        CommunicationAura:
            title: CommunicationAura
            description: 'CommunicationAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        CommunicationSenderAura:
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/PersonBuilder'
        CommunicationThreadsAura:
            title: CommunicationThreadsAura
            description: 'CommunicationThreadsAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentInvoiceAura:
            title: DocumentInvoiceAura
            description: 'DocumentInvoiceAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentOfferQuestionAura:
            title: DocumentOfferQuestionAura
            description: 'DocumentOfferQuestionAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentOrderAura:
            title: DocumentOrderAura
            description: 'DocumentOrderAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentPaymentAura:
            title: DocumentPaymentAura
            description: 'DocumentPaymentAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentStoreAura:
            title: DocumentStoreAura
            description: 'DocumentStoreAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        EmailMessageAura:
            title: EmailMessageAura
            description: 'EmailMessageAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        EstimatedQuantityAura:
            title: EstimatedQuantityAura
            description: 'EstimatedQuantityAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        FileAura:
            title: FileAura
            description: 'FileAura model'
            properties:
                extension:
                    type: string
                    nullable: true
                md5:
                    type: string
                    nullable: true
                dbName:
                    type: string
                    nullable: true
                fileName:
                    type: string
                    nullable: true
                mimeType:
                    type: string
                    nullable: true
                fileSize:
                    type: integer
                    nullable: true
                dateCreate:
                    type: string
                    format: date-time
                    nullable: true
                isTmp:
                    type: boolean
                uris: {  }
                isAttachment:
                    type: boolean
                fileToken:
                    type: string
                    nullable: true
                user:
                    nullable: true
                accountUser:
                    nullable: true
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            type: object
        FileToProductAura:
            properties:
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/FileAura'
                -
                    title: FileToProductAura
                    description: 'FileToProductAura model'
                    properties:
                        id:
                            description: 'File ID'
                            type: integer
                            format: integer
                            example: 1
                            nullable: true
                        position:
                            description: position
                            type: integer
                            format: integer
                            example: 1
                            nullable: true
                    type: object
        MessageThreadUserAura:
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/PersonBuilder'
        OdbcReportAura:
            title: OdbcReportAura
            description: 'OdbcReportAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        ProductAura:
            title: ProductAura
            description: 'ProductAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        ProductCategoryAura:
            title: ProductCategoryAura
            description: 'ProductCategoryAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        ProductCompleteAura:
            properties:
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/ProductAura'
                -
                    title: ProductCompleteAura
                    description: 'ProductCompleteAura model'
                    properties:
                        id:
                            description: 'Product ID'
                            type: integer
                            format: integer
                            example: 1
                            nullable: true
                        quantity:
                            description: quantity
                            type: number
                            format: number
                            example: 1
                            nullable: true
                        priceNetto:
                            description: priceNetto
                            type: number
                            format: number
                            example: 1
                            nullable: true
                    type: object
        ServicedProductAura:
            title: ServicedProductAura
            description: 'ServicedProductAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        SettingAura:
            title: SettingAura
            description: 'SettingAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TargetAura:
            title: TargetAura
            description: 'TargetAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TargetObjectiveAura:
            title: TargetObjectiveAura
            description: 'TargetObjectiveAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TaskAura:
            title: TaskAura
            description: 'TaskAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TaskTypeAura:
            title: TaskTypeAura
            description: 'TaskTypeAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TemplateAura:
            title: TemplateAura
            description: 'TemplateAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        UserUserAura:
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/PersonBuilder'
        PersonBuilder:
            title: PersonBuilder
            description: 'PersonBuilder model'
            properties:
                firstName:
                    type: string
                    nullable: true
                lastName:
                    type: string
                    nullable: true
                name:
                    type: string
                    nullable: true
                avatar:
                    type: string
                    nullable: true
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            type: object
        ApiAttributeDM:
            title: 'Attribute model'
            description: 'Attribute model'
            properties:
                id:
                    description: 'attribute id'
                    type: integer
                    format: integer
                    example: 1
            type: object
        ApiAttributeListPositionDM:
            title: listPosition
            description: 'Attribute list position model'
            properties:
                id:
                    description: 'attribute id'
                    type: integer
                    format: integer
                    example: 1
                value:
                    type: string
                    format: string
                ordering:
                    type: integer
                    format: integer
            type: object
            format: object
        ApiAttributeListPositionValueDM:
            title: listPositionValue
            description: 'Attribute list position value model'
            properties:
                id:
                    description: 'attribute id'
                    type: integer
                    format: integer
                    example: 1
                value:
                    type: string
                    format: string
                selected:
                    type: boolean
                    format: boolean
                ordering:
                    type: integer
                    format: integer
            type: object
            format: object
        ApiAttributeOptionDM:
            title: 'Attribute option model'
            description: 'Attribute option model'
            properties:
                displayPriority:
                    type: integer
                    format: integer
                    nullable: true
                forPosition:
                    type: boolean
                    format: boolean
                registerEventOnchange:
                    type: boolean
                    format: boolean
                asHTML:
                    type: boolean
                    format: boolean
            type: object
        ApiAttributeShowDM:
            title: 'Attribute model'
            description: 'Attribute model'
            properties:
                id:
                    description: 'attribute id'
                    type: integer
                    format: integer
                    example: 1
                uuid:
                    description: 'property for system attributes'
                    type: string
                    format: uuid
                    nullable: true
                name:
                    type: string
                    format: string
                type:
                    type: string
                    format: string
                options:
                    $ref: '#/components/schemas/ApiAttributeOptionDM'
            type: object
        ApiAttributeTypeAccountUserEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: 'account user'
                    description: 'Attribute type account user model'
                    properties:
                        value:
                            title: account_users
                            description: 'integer or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeBoolEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: bool
                    description: 'Attribute type bool model'
                    properties:
                        value:
                            type: boolean
                            format: bool
                    type: object
        ApiAttributeTypeCompanyEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: company
                    description: 'Attribute type company model'
                    properties:
                        value:
                            title: companies
                            description: 'integer or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeDateEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: date
                    description: 'Attribute type date model'
                    properties:
                        value:
                            type: string
                            format: date
                            nullable: true
                    type: object
        ApiAttributeTypeDateTimeEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: date-time
                    description: 'Attribute type date-time model'
                    properties:
                        value:
                            type: string
                            format: date-time
                            nullable: true
                    type: object
        ApiAttributeTypeEmailEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: email
                    description: 'Attribute type email model'
                    properties:
                        value:
                            title: 'list items'
                            description: 'string or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectStringDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectStringsDM'
                    type: object
        ApiAttributeTypeFileEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: file
                    description: 'Attribute type file model'
                    properties:
                        value:
                            title: files
                            description: 'integer or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeFloatEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: float
                    description: 'Attribute type float model'
                    properties:
                        value:
                            type: number
                            format: number
                            nullable: true
                    type: object
        ApiAttributeTypeListEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: list
                    description: 'Attribute type list model'
                    properties:
                        value:
                            title: 'list position values'
                            description: 'integer or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeListMultiEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: listMulti
                    description: 'Attribute type list multi model'
                    properties:
                        value:
                            title: 'list position values'
                            description: 'integer or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypePhoneEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: phone
                    description: 'Attribute type phone model'
                    properties:
                        value:
                            type: string
                            format: string
                    type: object
        ApiAttributeTypeSignatureEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: signature
                    description: 'Attribute type signature model'
                    properties:
                        value:
                            title: signatures
                            description: 'integer or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeTagsEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: tags
                    description: 'Attribute type tags model'
                    properties:
                        value:
                            title: 'list items'
                            description: 'string or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectStringDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectStringsDM'
                    type: object
        ApiAttributeTypeTextEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: text
                    description: 'Attribute type text model'
                    properties:
                        value:
                            type: string
                            format: string
                            nullable: true
                    type: object
        ApiAttributeTypeUserUserEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: 'user user'
                    description: 'Attribute type user user model'
                    properties:
                        value:
                            title: user_users
                            description: 'integer or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeAccountUserShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: 'account user'
                    description: 'Attribute type account user model'
                    properties:
                        value:
                            title: account_users
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/AccountUserAura'
                    type: object
        ApiAttributeTypeBoolShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: bool
                    description: 'Attribute type bool model'
                    properties:
                        value:
                            type: boolean
                            format: bool
                    type: object
        ApiAttributeTypeCompanyShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: company
                    description: 'Attribute type company model'
                    properties:
                        value:
                            title: companies
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/AccountCompanyAura'
                    type: object
        ApiAttributeTypeDateShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: date
                    description: 'Attribute type date model'
                    properties:
                        value:
                            type: string
                            format: date
                            nullable: true
                    type: object
        ApiAttributeTypeDateTimeShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: date-time
                    description: 'Attribute type date-time model'
                    properties:
                        value:
                            type: string
                            format: date-time
                            nullable: true
                    type: object
        ApiAttributeTypeEmailShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: email
                    description: 'Attribute type email model'
                    properties:
                        value:
                            title: 'list items'
                            description: 'string or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectStringDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectStringsDM'
                    type: object
        ApiAttributeTypeFileShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: file
                    description: 'Attribute type file model'
                    properties:
                        value:
                            title: files
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/FileAura'
                    type: object
        ApiAttributeTypeFloatShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: float
                    description: 'Attribute type float model'
                    properties:
                        value:
                            type: number
                            format: number
                            nullable: true
                    type: object
        ApiAttributeTypeListMultiShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: listMulti
                    description: 'Attribute type list multi model'
                    properties:
                        positions:
                            $ref: '#/components/schemas/ApiAttributeListPositionDM'
                        value:
                            $ref: '#/components/schemas/ApiAttributeListPositionValueDM'
                    type: object
        ApiAttributeTypeListShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: list
                    description: 'Attribute type list model'
                    properties:
                        positions:
                            $ref: '#/components/schemas/ApiAttributeListPositionDM'
                        value:
                            $ref: '#/components/schemas/ApiAttributeListPositionValueDM'
                    type: object
        ApiAttributeTypePhoneShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: phone
                    description: 'Attribute type phone model'
                    properties:
                        value:
                            type: string
                            format: string
                    type: object
        ApiAttributeTypeSignatureShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: signature
                    description: 'Attribute type signature model'
                    properties:
                        value:
                            title: signatures
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/FileAura'
                    type: object
        ApiAttributeTypeTagsShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: tags
                    description: 'Attribute type tags model'
                    properties:
                        value:
                            title: 'list items'
                            description: 'string or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectStringsDM'
                    type: object
        ApiAttributeTypeTextShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: text
                    description: 'Attribute type text model'
                    properties:
                        value:
                            type: string
                            format: string
                            nullable: true
                    type: object
        ApiAttributeTypeUserUserShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: 'user user'
                    description: 'Attribute type user user model'
                    properties:
                        value:
                            title: user_users
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/UserUserAura'
                    type: object
        ApiDataRequestDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data
            properties:
                data:
                    title: data
                    description: 'Data request, you can check the fields/ extra_fields and copy them from: /manual/api'
                    type: object
                    format: object
                setting:
                    $ref: '#/components/schemas/ApiSettingDM'
                fields:
                    title: fields
                    description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                    type: string
                    format: string
                    example: 'field1,field2,parentField1.field3'
                extra_fields:
                    title: extra_fields
                    description: '(default: none) Extra fields in returned data. Max depth is 1'
                    type: string
                    format: string
                    example: 'extra_field1,extra_field2,parentField1.extra_field3'
            type: object
        ApiDataRequestFileDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data_files
            properties:
                data_files:
                    title: data_files
                    description: 'Files array'
                    type: array
                    items:
                        type: string
                        format: binary
                mode:
                    title: mode
                    description: '(default: 0) 0: temporary file, 1: attachment, 2: file'
                    type: integer
            type: object
        ApiDataRequestFileUrlDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data_files_urls
            properties:
                data_files_urls:
                    title: data_files_urls
                    description: 'URL array'
                    type: array
                    items:
                        type: string
            type: object
        ApiDataRequestGeneratePdfDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiDataRequestSimpleDM'
                -
                    title: 'Data request model'
                    description: 'Data request model'
                    properties:
                        data:
                            $ref: '#/components/schemas/ApiDataRequestGeneratePdfDataDM'
                    type: object
        ApiDataRequestGeneratePdfDataDM:
            title: 'Data model'
            description: 'Data model'
            properties:
                templateId:
                    title: templateId
                    description: '(default: null) commissionTemplate''s or productTemplate''s ID'
                    type: integer
            type: object
        ApiDataRequestSimpleDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data
            properties:
                data:
                    title: data
                    description: 'Data request'
                    type: object
                    format: object
                setting:
                    $ref: '#/components/schemas/ApiSettingDM'
            type: object
        ApiImportFromFileDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data
            properties:
                data:
                    title: data
                    description: 'Data request, that you can copy from: /manual/api'
                    type: object
                    format: object
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectFileDM'
            type: object
        ApiObjectFileDM:
            title: ApiObjectFileDM
            description: 'ApiObjectFileDM schema'
            properties:
                file:
                    description: 'Id of a file to import from'
                    type: string
                    format: integer
                    example: 1
                    nullable: true
            type: object
        ApiObjectIdDM:
            title: objectId
            description: objectId
            type: integer
            format: integer
            writeOnly: true
        ApiObjectIdsDM:
            title: array<ids>
            description: array<ids>
            type: array
            format: array
            items:
                type: integer
            writeOnly: true
        ApiObjectStringDM:
            title: string
            description: string
            type: string
            format: string
            writeOnly: true
        ApiObjectStringsDM:
            title: array<strings>
            description: array<strings>
            type: array
            format: array
            items:
                type: string
            writeOnly: true
        ApiSettingDM:
            title: 'Setting model'
            description: 'Setting model'
            properties:
                mode_relations_add:
                    title: mode_relations_add
                    description: '(default: false) In this mode, unsubmitted relations will not be deleted. (only for ManyToMany, OneToMany)'
                    type: boolean
                    format: boolean
                    example: false
                mode_relations_remove:
                    title: mode_relations_remove
                    description: '(default: false) In this mode, sent relations will be removed. (only for ManyToMany, OneToMany)'
                    type: boolean
                    format: boolean
                    example: false
                with_debug_mode:
                    title: with_debug_mode
                    description: '(default: false) API debug mode. Indicates exception paths and adds additional information to the meta object'
                    type: boolean
                    format: boolean
                    example: false
                with_editable_settings_for_action:
                    title: with_editable_settings_for_action
                    description: '(default: null) Determines whether to return editable API settings: meta.editableSettingsForAction.'
                    type: string
                    format: string
                    example: GET
                with_get_data:
                    title: with_get_data
                    description: '(default: true) Determines whether to return the *data* parameter. Disable it for best performance.'
                    type: boolean
                    format: boolean
                    example: true
                lang:
                    title: lang
                    description: '(default: pl) Defines the language of the client'
                    type: string
                    format: string
                    example: pl
                extend_request_with_additional_changed:
                    title: extend_request_with_additional_changed
                    description: '(default: false) Determines whether to extend the request with additional changed objects.'
                    type: boolean
                    format: boolean
                    example: false
                limit_to_my_settings:
                    title: limit_to_my_settings
                    description: '(default: true) Determines whether to limit user_settings and profile_settings to user''s settings. Only available for admins.'
                    type: boolean
                    format: boolean
                    example: false
            type: object
        CustomServicedProductGETFieldsForCollection:
            title: custom_serviced_products
            type: object
            properties: {  }
        CustomServicedProductGETExtra_fieldsForCollection:
            title: custom_serviced_products
            type: object
            properties: {  }
        CustomServicedProductGETFields:
            title: custom_serviced_products
            type: object
            properties: {  }
        CustomServicedProductGETExtra_fields:
            title: custom_serviced_products
            type: object
            properties: {  }
        CustomServicedProductPATCHForCollection:
            title: custom_serviced_products
            type: array
            items:
                type: object
                properties: {  }
        CustomServicedProductPATCH:
            title: custom_serviced_products
            type: object
            properties: {  }
        CustomServicedProductPOSTForCollection:
            title: custom_serviced_products
            type: array
            items:
                type: object
                properties: {  }
        CustomServicedProductPOST:
            title: custom_serviced_products
            type: object
            properties: {  }
        CustomServicedProductHistoryGETFieldsForCollection:
            title: custom_serviced_product_histories
            type: object
            properties: {  }
        CustomServicedProductHistoryGETExtra_fieldsForCollection:
            title: custom_serviced_product_histories
            type: object
            properties: {  }
        CustomServicedProductHistoryGETFields:
            title: custom_serviced_product_histories
            type: object
            properties: {  }
        CustomServicedProductHistoryGETExtra_fields:
            title: custom_serviced_product_histories
            type: object
            properties: {  }
        CustomServicedProductHistoryPATCHForCollection:
            title: custom_serviced_product_histories
            type: array
            items:
                type: object
                properties: {  }
        CustomServicedProductHistoryPATCH:
            title: custom_serviced_product_histories
            type: object
            properties: {  }
        CustomServicedProductHistoryPOSTForCollection:
            title: custom_serviced_product_histories
            type: array
            items:
                type: object
                properties: {  }
        CustomServicedProductHistoryPOST:
            title: custom_serviced_product_histories
            type: object
            properties: {  }
    parameters:
        module:
            name: module
            in: path
            description: 'API module (account_companies, commissions, ...)'
            required: true
            schema:
                type: string
        id:
            name: id
            in: path
            description: 'PK (1, 2, 3...)'
            required: true
            schema:
                type: integer
        name:
            name: name
            in: path
            description: 'Value of the name column'
            required: true
            schema:
                type: string
        fields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                type: array
                items:
                    type: string
        extra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                type: array
                items:
                    type: string
        filter:
            name: filter
            in: query
            description: 'Data filtering for the case: A and B and C and D. <br />Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
            style: deepObject
            schema:
                type: array
                items:
                    type: object
        filterOr:
            name: filterOr
            in: query
            description: 'Data filtering for the case: (A or B) and (C or D).<br />Parameter template: filterOr[index][filter]<br /> * index - integer, defines a group of filters between which an OR will be applied. You can ignore this if you only want one OR group in the query.<br /> * filter - filter array<br /><br />AND will be used between defined groups.<br /><br />**Simple example:** We want to return products whose name is equal to ''others'' or the code contains ''c'' so we can query endpoint /products with the following parameters:<br />filterOr[name]=others<br />&filterOr[code][hasText]=c<br /><br />**Example:** We want to return products whose name is equal to ''service'' or the code contains ''c'' AND the name is equal to ''service'' or the code contains ''s'' or the id is equal to 1, 2 or 3 so we can query endpoint /products with the following parameters:<br />filterOr[0][name]=service<br />&filterOr[0][code][hasText]=c<br />&filterOr[1][name]=service<br />&filterOr[1][code][hasText]=s<br />&filterOr[1][id][in]=1,2,3'
            style: deepObject
            schema:
                type: array
                items:
                    type: object
        filterAnd:
            name: filterAnd
            in: query
            description: 'Data filtering for the case: (A and B) or (C and D).<br />Parameter template: filterAnd[index][filter]<br /> * index - integer, defines a group of filters between which an AND will be applied. If you only want one AND group in the query - you should use parameter filter instead.<br /> * filter - filter array<br /><br />OR will be used between defined groups.<br /><br />**Example:** We want to return products whose name is equal to ''service'' and the code is equal to ''ser01'' OR the name is equal to ''others'' and the code is equal to ''oth02'' so we can query endpoint /products with the following parameters:<br />filterAnd[0][name]=service<br />&filterAnd[0][code]=ser01<br />&filterAnd[1][name]=others<br />&filterAnd[1][code]=oth02'
            style: deepObject
            schema:
                type: array
                items:
                    type: object
        order:
            name: order
            in: query
            description: '(default: sort by PK) Data sorting. Sort types: <ul><li>asc,</li><li>desc.</li></ul>**Query example:** order[name]=asc&order[shortName]=desc'
            style: deepObject
            schema:
                type: array
                items:
                    type: string
        modules:
            name: modules
            in: query
            description: 'Module list. <br />**Query example:** modules[id1]=account_users&modules[id2]=user_users'
            required: true
            style: deepObject
            schema:
                type: array
                items:
                    type: string
        modules_params:
            name: modules_params
            in: query
            description: 'Module params. <br />**Query example:** modules_params[id1][filter][id][eq]=1&modules_params[id2][order][id]=desc'
            style: deepObject
            schema:
                type: array
                items:
                    type: object
        contextModule:
            name: contextModule
            in: path
            description: 'Context API module (account_companies, commissions, ...)'
            required: true
            schema:
                type: string
        contextId:
            name: contextId
            in: path
            description: 'Context PK (1, 2, 3, ...)'
            required: true
            schema:
                type: integer
        recurrenceUuid:
            name: recurrenceUuid
            in: path
            description: 'Unique recurrence identifier'
            required: true
            schema:
                oneOf:
                    -
                        type: uuid
                    -
                        type: string
                        pattern: '/[0-9a-a]{32}/i'
            examples:
                -
                    example: uuid
                    summary: 'An UUID value without separators.'
                    value: 0006faf67a61426c9034579f2cfcfa83
                -
                    example: uuid
                    summary: 'An UUID value.'
                    value: 0006faf6-7a61-426c-9034-579f2cfcfa83
        occurrenceDate:
            name: occurrenceDate
            in: path
            description: 'Recurring task occurrence date'
            required: true
            schema:
                oneOf:
                    -
                        type: string
                    -
                        type: datetime
            examples:
                -
                    example: string
                    summary: 'RFC 3389 timestamp without separators (GMT).'
                    value: 20211208T120000Z
                -
                    example: string
                    summary: 'RFC 3389 timestamp without separators.'
                    value: 20211208T130000+0100
                -
                    example: datetime
                    summary: 'ISO 8601 timestamp (GMT)'
                    value: '2021-12-08T12:00:00Z'
                -
                    example: datetime
                    summary: 'ISO 8601 timestamp'
                    value: '2021-12-08T13:00:00+01:00'
        profileId:
            name: profileId
            in: path
            description: 'Unique identifier for user profile'
            required: true
            schema:
                type: integer
        settingName:
            name: settingName
            in: path
            description: 'Determines which setting configuration should be returned'
            required: true
            schema:
                type: string
        attributeId:
            name: attributeId
            in: path
            description: 'Attribute ID'
            required: true
            schema:
                type: integer
        setting_with_relations:
            name: 'setting[with_relations]'
            in: query
            description: '(default: false) Determines whether the query (GET) should contain joins to related tables'
            schema:
                type: boolean
                default: 'false'
        setting_with_debug_mode:
            name: 'setting[with_debug_mode]'
            in: query
            description: '(default: false) API debug mode. Indicates exception paths and adds additional information to the meta object'
            schema:
                type: boolean
                default: 'false'
        setting_with_editable_settings_for_action:
            name: 'setting[with_editable_settings_for_action]'
            in: query
            description: '(default: null) Determines whether to return editable API settings in: meta.editableSettingsForAction.'
            schema:
                type: string
                default: 'null'
        setting_lang:
            name: 'setting[lang]'
            in: query
            description: '(default: pl) Defines the language of the client'
            schema:
                type: string
        setting_email_messages_mark_seen:
            name: 'setting[email_messages_mark_seen]'
            in: query
            description: '(default: false) Determines whether to mark the email messages as seen'
            schema:
                type: boolean
        setting_with_cache:
            name: 'setting[with_cache]'
            in: query
            description: '(default: false) Determines whether load email messages from the database (cache) if its is up-to-date.'
            deprecated: true
            schema:
                type: boolean
        setting_email_messages_save_in_db:
            name: 'setting[email_messages_save_in_db]'
            in: query
            description: '(default: false) Determines whether to create or update the email messages in the database (cache).'
            schema:
                type: boolean
        setting_email_messages_check_in_db:
            name: 'setting[email_messages_check_in_db]'
            in: query
            description: '(default: false) Determines whether to update email messages in the database (cache). If the email message does not exist the API will return an empty identifier.'
            schema:
                type: boolean
        setting_limit_to_my_settings:
            name: 'setting[limit_to_my_settings]'
            in: query
            description: '(default: true) Determines whether to limit user_settings and profile_settings to user''s settings. Only available for admins.'
            schema:
                type: boolean
        setting_force_update_user_settings:
            name: 'setting[force_update_user_settings]'
            in: query
            description: '(default: true) Determines whether to update user_settings of every user with given profile. Only available for admins.'
            schema:
                type: boolean
        setting_task_scope:
            name: 'setting[task_scope]'
            in: query
            description: '(default: CURRENT) Recurring task change scope'
            required: false
            schema:
                type: string
                default: CURRENT
                enum:
                    - CURRENT
                    - CURRENT_AND_NEXT
                    - ALL
        setting_parse_setting_value:
            name: 'setting[parse_setting_value]'
            in: query
            description: '(default: false) Determines whether to parse setting value and return it.'
            required: false
            schema:
                type: boolean
                default: false
        setting_currency_code:
            name: 'setting[currency_code]'
            in: query
            description: 'Defines request currency'
            required: false
            schema:
                type: string
                default: null
        page_limit:
            name: 'page[limit]'
            in: query
            description: '(default: 20) LIMIT - data limit.'
            schema:
                type: integer
        page_offset:
            name: 'page[offset]'
            in: query
            description: 'OFFSET - data offset'
            schema:
                type: integer
        page_number:
            name: 'page[number]'
            in: query
            description: '(default: 1) Page number (starts from 1)'
            schema:
                type: integer
        for_fieldName:
            name: 'for[fieldName]'
            in: query
            description: 'Determines for which field values the meta data will be returned. <br />The for [id] parameter will cause the metadata to be returned for a specific object. It is possible to simulate an object change. <br />Some modules or extra_fields require specific keys to be sent. Information about these fields will be returned from the API. <br />**Query example:** for[id]=1&for[commissionPhase]=1'
            schema:
                type: integer
        for_company.id:
            name: 'for[company.id]'
            in: query
            description: 'Determines for what company (ID) to generate price list.'
            schema:
                type: integer
        for_storehouse.id:
            name: 'for[storehouse.id]'
            in: query
            description: 'Determines for which storehouse (ID) the product availability is returned.'
            schema:
                type: integer
        CustomServicedProductGETFieldsForCollection:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/CustomServicedProductGETFieldsForCollection'
        CustomServicedProductGETExtra_fieldsForCollection:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/CustomServicedProductGETExtra_fieldsForCollection'
        CustomServicedProductGETFields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/CustomServicedProductGETFields'
        CustomServicedProductGETExtra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/CustomServicedProductGETExtra_fields'
        CustomServicedProductHistoryGETFieldsForCollection:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/CustomServicedProductHistoryGETFieldsForCollection'
        CustomServicedProductHistoryGETExtra_fieldsForCollection:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/CustomServicedProductHistoryGETExtra_fieldsForCollection'
        CustomServicedProductHistoryGETFields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/CustomServicedProductHistoryGETFields'
        CustomServicedProductHistoryGETExtra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/CustomServicedProductHistoryGETExtra_fields'
    requestBodies:
        RequestBodyPost:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        $ref: '#/components/schemas/ApiDataRequestDM'
        RequestBodyFilePost:
            description: ''
            required: true
            content:
                multipart/form-data:
                    schema:
                        allOf:
                            -
                                $ref: '#/components/schemas/ApiDataRequestFileDM'
        RequestBodyFileUrlPost:
            description: ''
            required: true
            content:
                multipart/form-data:
                    schema:
                        allOf:
                            -
                                $ref: '#/components/schemas/ApiDataRequestFileUrlDM'
        RequestGeneratePdf:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        $ref: '#/components/schemas/ApiDataRequestGeneratePdfDM'
        RequestBodySimplePost:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        $ref: '#/components/schemas/ApiDataRequestSimpleDM'
        RequestBodyPostFile:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        $ref: '#/components/schemas/ApiImportFromFileDM'
        CustomServicedProductPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CustomServicedProductPATCHForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductGETExtra_fieldsForCollection'
                        type: object
        CustomServicedProductPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CustomServicedProductPATCH'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductGETExtra_fields'
                        type: object
        CustomServicedProductPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CustomServicedProductPOSTForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductGETExtra_fieldsForCollection'
                        type: object
        CustomServicedProductPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CustomServicedProductPOST'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductGETExtra_fields'
                        type: object
        CustomServicedProductHistoryPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CustomServicedProductHistoryPATCHForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductHistoryGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductHistoryGETExtra_fieldsForCollection'
                        type: object
        CustomServicedProductHistoryPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CustomServicedProductHistoryPATCH'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductHistoryGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductHistoryGETExtra_fields'
                        type: object
        CustomServicedProductHistoryPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CustomServicedProductHistoryPOSTForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductHistoryGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductHistoryGETExtra_fieldsForCollection'
                        type: object
        CustomServicedProductHistoryPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CustomServicedProductHistoryPOST'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductHistoryGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CustomServicedProductHistoryGETExtra_fields'
                        type: object
    securitySchemes:
        bearerAuth:
            type: apiKey
            description: 'Get JWT token from: /security/login (GET request for get form)<br />Include in header -> Authorization: Bearer aaa.bbb.ccc'
            name: Authorization
            in: header
tags:
    -
        name: CustomServicedProduct
    -
        name: CustomServicedProductHistory
