C# Class PodioAPI.Services.ImporterService

Mostra file Open project: podio/podio-dotnet

Public Methods

Method Description
GetInfo ( int fileId ) : Task

Returns the import information about the given file.

Podio API Reference: https://developers.podio.com/doc/importer/get-info-5929504

GetPreview ( int fileId, string row, List mappings ) : Task

Imports the file into the given app. The mapping value for a field depends on the type of field

Podio API Reference: https://developers.podio.com/doc/importer/import-app-items-212899

ImportAppItems ( int fileId, int appId, List mappings, string tagsColumnId = null, string appItemIdColumnId = null ) : Task

Imports the file into the given app. The mapping value for a field depends on the type of field. See the area for datails.

Podio API Reference: https://developers.podio.com/doc/importer/import-app-items-212899

ImportSpaceContacts ( int fileId, int spaceId, List mappings ) : Task

Imports the given file into the space contacts on the given space.

Podio API Reference: https://developers.podio.com/doc/importer/import-space-contacts-4261072

ImporterService ( Podio currentInstance ) : System.Collections.Generic

Method Details

GetInfo() public method

Returns the import information about the given file.

Podio API Reference: https://developers.podio.com/doc/importer/get-info-5929504

public GetInfo ( int fileId ) : Task
fileId int
return Task

GetPreview() public method

Imports the file into the given app. The mapping value for a field depends on the type of field

Podio API Reference: https://developers.podio.com/doc/importer/import-app-items-212899

public GetPreview ( int fileId, string row, List mappings ) : Task
fileId int
row string
mappings List
return Task

ImportAppItems() public method

Imports the file into the given app. The mapping value for a field depends on the type of field. See the area for datails.

Podio API Reference: https://developers.podio.com/doc/importer/import-app-items-212899

public ImportAppItems ( int fileId, int appId, List mappings, string tagsColumnId = null, string appItemIdColumnId = null ) : Task
fileId int
appId int The id of the app the values should be imported into
mappings List The mappings between fields and columns
tagsColumnId string The id of the column to read tags from, if any
appItemIdColumnId string The id of the column to read the app item id from, if any
return Task

ImportSpaceContacts() public method

Imports the given file into the space contacts on the given space.

Podio API Reference: https://developers.podio.com/doc/importer/import-space-contacts-4261072

public ImportSpaceContacts ( int fileId, int spaceId, List mappings ) : Task
fileId int
spaceId int
mappings List The mappings of the fields on the contact
return Task

ImporterService() public method

public ImporterService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
return System.Collections.Generic