C# Class PodioAPI.Services.BatchService

Mostra file Open project: podio/podio-dotnet

Public Methods

Method Description
BatchService ( Podio currentInstance ) : System.Collections.Generic
GetBatch ( int batchId ) : Task

Returns the batch with the given id.

Podio API Reference: https://developers.podio.com/doc/batch/get-batch-6144225

GetBatches ( ) : Task>

Returns the batches created by the user. The batches are sorted descending by date of creation.

Podio API Reference: https://developers.podio.com/doc/batch/get-batches-6078877

GetRunningBatches ( string refType, int refId, string plugin ) : Task>

Returns the currently running batches on the given reference.

Podio API Reference: https://developers.podio.com/doc/batch/get-running-batches-15856178

Method Details

BatchService() public method

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

GetBatch() public method

Returns the batch with the given id.

Podio API Reference: https://developers.podio.com/doc/batch/get-batch-6144225

public GetBatch ( int batchId ) : Task
batchId int
return Task

GetBatches() public method

Returns the batches created by the user. The batches are sorted descending by date of creation.

Podio API Reference: https://developers.podio.com/doc/batch/get-batches-6078877

public GetBatches ( ) : Task>
return Task>

GetRunningBatches() public method

Returns the currently running batches on the given reference.

Podio API Reference: https://developers.podio.com/doc/batch/get-running-batches-15856178

public GetRunningBatches ( string refType, int refId, string plugin ) : Task>
refType string The reference can either be a space or an app.
refId int
plugin string The plugin can either be "app_import", "app_export", "space_contact_import" or "app_content".
return Task>