C# Class PodioAPI.Services.SubscriptionService

Afficher le fichier Open project: podio/podio-dotnet

Méthodes publiques

Méthode Description
GetSubscriptionById ( int subscriptionId ) : Task

Returns the subscription with the given id.

Podio API Reference: https://developers.podio.com/doc/subscriptions/get-subscription-by-id-22446

GetSubscriptionByReference ( string refType, int refId ) : Task

Get the subscription for the given object.

Podio API Reference: https://developers.podio.com/doc/subscriptions/get-subscription-by-reference-22408

Subscribe ( string refType, int refId ) : Task

Subscribes the user to the given object. Based on the object type, the user will receive notifications when actions are performed on the object. See the area for more details.

Podio API Reference: https://developers.podio.com/doc/subscriptions/subscribe-22409

SubscriptionService ( Podio currentInstance ) : PodioAPI.Models
UnsubscribeById ( int subscriptionId ) : Task

Stops the subscription with the given id

Podio API Reference: https://developers.podio.com/doc/subscriptions/unsubscribe-by-id-22445

UnsubscribeByReference ( string refType, int refId ) : Task

Unsubscribe from getting notifications on actions on the given object.

Podio API Reference: https://developers.podio.com/doc/subscriptions/unsubscribe-by-reference-22410

Method Details

GetSubscriptionById() public méthode

Returns the subscription with the given id.

Podio API Reference: https://developers.podio.com/doc/subscriptions/get-subscription-by-id-22446

public GetSubscriptionById ( int subscriptionId ) : Task
subscriptionId int
Résultat Task

GetSubscriptionByReference() public méthode

Get the subscription for the given object.

Podio API Reference: https://developers.podio.com/doc/subscriptions/get-subscription-by-reference-22408

public GetSubscriptionByReference ( string refType, int refId ) : Task
refType string
refId int
Résultat Task

Subscribe() public méthode

Subscribes the user to the given object. Based on the object type, the user will receive notifications when actions are performed on the object. See the area for more details.

Podio API Reference: https://developers.podio.com/doc/subscriptions/subscribe-22409

public Subscribe ( string refType, int refId ) : Task
refType string
refId int
Résultat Task

SubscriptionService() public méthode

public SubscriptionService ( Podio currentInstance ) : PodioAPI.Models
currentInstance Podio
Résultat PodioAPI.Models

UnsubscribeById() public méthode

Stops the subscription with the given id

Podio API Reference: https://developers.podio.com/doc/subscriptions/unsubscribe-by-id-22445

public UnsubscribeById ( int subscriptionId ) : Task
subscriptionId int
Résultat Task

UnsubscribeByReference() public méthode

Unsubscribe from getting notifications on actions on the given object.

Podio API Reference: https://developers.podio.com/doc/subscriptions/unsubscribe-by-reference-22410

public UnsubscribeByReference ( string refType, int refId ) : Task
refType string
refId int
Résultat Task