cloudmersive_convert_api_client/api/edit_document_api.py
def edit_document_docx_replace_multi_edit_session_with_http_info(self, req_config, **kwargs):  # noqa: E501
        """Replace multiple strings in Word DOCX document, return edit session  # noqa: E501

        Replace all instances of multiple strings in an Office Word Document (docx).  Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times.  Call the Finish Editing API to retrieve the final document once editing is complete.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.edit_document_docx_replace_multi_edit_session_with_http_info(req_config, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param MultiReplaceStringRequest req_config: Document string replacement configuration input (required)
        :return: DocumentEditingEditSession
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['req_config']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method edit_document_docx_replace_multi_edit_session" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'req_config' is set
        if ('req_config' not in params or
                params['req_config'] is None):
            raise ValueError("Missing the required parameter `req_config` when calling `edit_document_docx_replace_multi_edit_session`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'req_config' in params:
            body_params = params['req_config']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json', 'text/json', 'application/xml', 'text/xml'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])  # noqa: E501

        # Authentication setting
        auth_settings = ['Apikey']  # noqa: E501

        return self.api_client.call_api(
            '/convert/edit/docx/replace-all/multi/edit-session', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='DocumentEditingEditSession',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)
Replace multiple strings in Word DOCX document, return edit session  # noqa: E501

        Replace all instances of multiple strings in an Office Word Document (docx).  Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times.  Call the Finish Editing API to retrieve the final document once editing is complete.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.edit_document_docx_replace_multi_edit_session_with_http_info(req_config, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param MultiReplaceStringRequest req_config: Document string replacement configuration input (required)
        :return: DocumentEditingEditSession
                 If the method is called asynchronously,
                 returns the request thread.
        
Replace multiple strings in Word DOCX document, return edit session  # noqa: E501
Replace all instances of multiple strings in an Office Word Document (docx).  Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times.  Call the Finish Editing API to retrieve the final document once editing is complete.  # noqa: E501
This method makes a synchronous HTTP request by default.


Replace multiple strings in Word DOCX document return edit session # noqa : E501 Replace all instances of multiple strings in an Office Word Document ( docx ) . Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times . Call the Finish Editing API to retrieve the final document once editing is complete . # noqa : E501 This method makes a synchronous HTTP request by default .
def edit_document_docx_replace_multi_edit_session_with_http_info(self, req_config, **kwargs):  
        """Replace multiple strings in Word DOCX document, return edit session  
        Replace all instances of multiple strings in an Office Word Document (docx).  Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times.  Call the Finish Editing API to retrieve the final document once editing is complete.  
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.edit_document_docx_replace_multi_edit_session_with_http_info(req_config, async_req=True)
        >>> result = thread.get()
        :param async_req bool
        :param MultiReplaceStringRequest req_config: Document string replacement configuration input (required)
        :return: DocumentEditingEditSession
                 If the method is called asynchronously,
                 returns the request thread.
        """
        all_params = ['req_config']  
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')
        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method edit_document_docx_replace_multi_edit_session" % key
                )
            params[key] = val
        del params['kwargs']
        if ('req_config' not in params or
                params['req_config'] is None):
            raise ValueError("Missing the required parameter `req_config` when calling `edit_document_docx_replace_multi_edit_session`")  
        collection_formats = {}
        path_params = {}
        query_params = []
        header_params = {}
        form_params = []
        local_var_files = {}
        body_params = None
        if 'req_config' in params:
            body_params = params['req_config']
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json', 'text/json', 'application/xml', 'text/xml'])  
        header_params['Content-Type'] = self.api_client.select_header_content_type(  
            ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])  
        auth_settings = ['Apikey']  
        return self.api_client.call_api(
            '/convert/edit/docx/replace-all/multi/edit-session', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='DocumentEditingEditSession',  
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)
def edit_document_docx_replace_multi_edit_session_with_http_info ( self , req_config , ** kwargs ) : all_params = [ 'req_config' ] all_params . append ( 'async_req' ) all_params . append ( '_return_http_data_only' ) all_params . append ( '_preload_content' ) all_params . append ( '_request_timeout' ) params = locals ( ) for key , val in six . iteritems ( params [ 'kwargs' ] ) : if key not in all_params : raise TypeError ( "Got an unexpected keyword argument '%s'" " to method edit_document_docx_replace_multi_edit_session" % key ) params [ key ] = val del params [ 'kwargs' ] if ( 'req_config' not in params or params [ 'req_config' ] is None ) : raise ValueError ( "Missing the required parameter `req_config` when calling `edit_document_docx_replace_multi_edit_session`" ) collection_formats = { } path_params = { } query_params = [ ] header_params = { } form_params = [ ] local_var_files = { } body_params = None if 'req_config' in params : body_params = params [ 'req_config' ] header_params [ 'Accept' ] = self . api_client . select_header_accept ( [ 'application/json' , 'text/json' , 'application/xml' , 'text/xml' ] ) header_params [ 'Content-Type' ] = self . api_client . select_header_content_type ( [ 'application/json' , 'text/json' , 'application/xml' , 'text/xml' , 'application/x-www-form-urlencoded' ] ) auth_settings = [ 'Apikey' ] return self . api_client . call_api ( '/convert/edit/docx/replace-all/multi/edit-session' , 'POST' , path_params , query_params , header_params , body = body_params , post_params = form_params , files = local_var_files , response_type = 'DocumentEditingEditSession' , auth_settings = auth_settings , async_req = params . get ( 'async_req' ) , _return_http_data_only = params . get ( '_return_http_data_only' ) , _preload_content = params . get ( '_preload_content' , True ) , _request_timeout = params . get ( '_request_timeout' ) , collection_formats = collection_formats )
Replace multiple strings in Word DOCX document, return edit session  # noqa: E501
Replace all instances of multiple strings in an Office Word Document (docx).
Replace multiple strings in Word DOCX document return edit session # noqa : E501 Replace all instances of multiple strings in an Office Word Document ( docx ) .
# noqa: E501 """Replace multiple strings in Word DOCX document, return edit session  # noqa: E501

        Replace all instances of multiple strings in an Office Word Document (docx).  Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times.  Call the Finish Editing API to retrieve the final document once editing is complete.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.edit_document_docx_replace_multi_edit_session_with_http_info(req_config, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param MultiReplaceStringRequest req_config: Document string replacement configuration input (required)
        :return: DocumentEditingEditSession
                 If the method is called asynchronously,
                 returns the request thread.
        """ # noqa: E501 # verify the required parameter 'req_config' is set # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501
self
req_config