C# Class PodioAPI.Services.IntegrationService

Afficher le fichier Open project: podio/podio-dotnet

Méthodes publiques

Méthode Description
CreateIntegration ( int appId, string type, bool silent, dynamic config ) : Task

Creates a new integration on the app.

Podio API Reference: https://developers.podio.com/doc/integrations/create-integration-86839

DeleteIntegration ( int appId ) : Task

Deletes the integration from the given app.

Podio API Reference: https://developers.podio.com/doc/integrations/delete-integration-86876

GetAvailableFields ( int appId ) : Task>

Returns the fields available from the configuration.

Podio API Reference: https://developers.podio.com/doc/integrations/get-available-fields-86890

GetIntegration ( int appId ) : Task

Returns the integration with the given id.

Podio API Reference: https://developers.podio.com/doc/integrations/get-integration-86821

IntegrationService ( Podio currentInstance ) : System.Collections.Generic
RefreshIntegration ( int appId ) : Task

Refreshes the integration. This will update all items in the background.

Podio API Reference: https://developers.podio.com/doc/integrations/refresh-integration-86987

UpdateIntegration ( int appId, bool silent, dynamic config ) : Task

Updates the configuration of the integration. The configuration depends on the type of integration.

Podio API Reference: https://developers.podio.com/doc/integrations/update-integration-86843

UpdateIntegrationMapping ( int appId, string>.Dictionary fields ) : Task

Updates the mapping between the fields of the app and the fields available from the integration.

Podio API Reference: https://developers.podio.com/doc/integrations/update-integration-mapping-86865

Method Details

CreateIntegration() public méthode

Creates a new integration on the app.

Podio API Reference: https://developers.podio.com/doc/integrations/create-integration-86839

public CreateIntegration ( int appId, string type, bool silent, dynamic config ) : Task
appId int
type string The type of integration, see the area for available types
silent bool True if updates should be silent, false otherwise
config dynamic The configuration of the integration, which depends on the above type,
Résultat Task

DeleteIntegration() public méthode

Deletes the integration from the given app.

Podio API Reference: https://developers.podio.com/doc/integrations/delete-integration-86876

public DeleteIntegration ( int appId ) : Task
appId int
Résultat Task

GetAvailableFields() public méthode

Returns the fields available from the configuration.

Podio API Reference: https://developers.podio.com/doc/integrations/get-available-fields-86890

public GetAvailableFields ( int appId ) : Task>
appId int
Résultat Task>

GetIntegration() public méthode

Returns the integration with the given id.

Podio API Reference: https://developers.podio.com/doc/integrations/get-integration-86821

public GetIntegration ( int appId ) : Task
appId int
Résultat Task

IntegrationService() public méthode

public IntegrationService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
Résultat System.Collections.Generic

RefreshIntegration() public méthode

Refreshes the integration. This will update all items in the background.

Podio API Reference: https://developers.podio.com/doc/integrations/refresh-integration-86987

public RefreshIntegration ( int appId ) : Task
appId int
Résultat Task

UpdateIntegration() public méthode

Updates the configuration of the integration. The configuration depends on the type of integration.

Podio API Reference: https://developers.podio.com/doc/integrations/update-integration-86843

public UpdateIntegration ( int appId, bool silent, dynamic config ) : Task
appId int
silent bool
config dynamic
Résultat Task

UpdateIntegrationMapping() public méthode

Updates the mapping between the fields of the app and the fields available from the integration.

Podio API Reference: https://developers.podio.com/doc/integrations/update-integration-mapping-86865

public UpdateIntegrationMapping ( int appId, string>.Dictionary fields ) : Task
appId int
fields string>.Dictionary Field id and the external id for the given field id
Résultat Task