Package python :: Module ReportClient :: Class ImportResult
[hide private]
[frames] | no frames]

Class ImportResult

source code

ImportResult contains the result of an import operation.

Instance Methods [hide private]
 
__init__(self, response) source code
Instance Variables [hide private]
string response
The unparsed complete response content as sent by the server.
integer totalColCount
The total columns that were present in the imported file.
integer selectedColCount
The number of columns that were imported.See ZOHO_SELECTED_COLUMNS parameter.
integer totalRowCount
The total row count in the imported file.
integer successRowCount
The number of rows that were imported successfully without errors.
integer warningCount
The number of rows that were imported with warnings.
string impErrors
The first 100 import errors.
string operation
The import operation.
dictionary dataTypeDict
Contains the mapping of column name to datatype.
dictionary impCols
Contains the list of columns that were imported.
Instance Variable Details [hide private]

warningCount

The number of rows that were imported with warnings. Applicable if ZOHO_ON_IMPORT_ERROR parameter has been set to SETCOLUMNEMPTY.

Type:
integer

impErrors

The first 100 import errors. Applicable if ZOHO_ON_IMPORT_ERROR parameter is either SKIPROW or SETCOLUMNEMPTY. In case of ABORT , ServerError is thrown.

Type:
string

operation

The import operation. Can be either

  1. created if the specified table has been created. For this ZOHO_CREATE_TABLE parameter should have been set to true
  2. updated if the specified table already exists.
Type:
string

impCols

Contains the list of columns that were imported. See also dataTypeDict.

Type:
dictionary