C# Class PodioAPI.Services.StatusService

Afficher le fichier Open project: podio/podio-dotnet

Méthodes publiques

Méthode Description
AddNewStatusMessage ( int spaceId, string text, List fileIds = null, int embedId = null, string embedUrl = null, string questionText = null, List questionOptions = null ) : Task

Creates a new status message for a user on a specific space.

Podio API Reference: https://developers.podio.com/doc/status/add-new-status-message-22336

DeleteStatusMessage ( int statusId ) : Task

This is used to delete a status message

Podio API Reference: https://developers.podio.com/doc/status/delete-a-status-message-22339

GetStatusMessage ( int statusId ) : Task

Retrieves a status message by its id.

Podio API Reference: https://developers.podio.com/doc/status/get-status-message-22337

StatusService ( Podio currentInstance ) : System.Collections.Generic
UpdateStatusMessage ( int statusId, string text, List fileIds = null, int embedId = null, string embedUrl = null ) : Task

This will update an existing status message.

Podio API Reference: https://developers.podio.com/doc/status/update-a-status-message-22338

Method Details

AddNewStatusMessage() public méthode

Creates a new status message for a user on a specific space.

Podio API Reference: https://developers.podio.com/doc/status/add-new-status-message-22336

public AddNewStatusMessage ( int spaceId, string text, List fileIds = null, int embedId = null, string embedUrl = null, string questionText = null, List questionOptions = null ) : Task
spaceId int
text string The actual status message
fileIds List Temporary files that have been uploaded and should be attached to this item
embedId int /// The id of an embedded link that has been created with the Add an mebed operation in the Embed /// area ///
embedUrl string The url to be attached
questionText string The text of the question if any
questionOptions List The list of answer options as strings
Résultat Task

DeleteStatusMessage() public méthode

This is used to delete a status message

Podio API Reference: https://developers.podio.com/doc/status/delete-a-status-message-22339

public DeleteStatusMessage ( int statusId ) : Task
statusId int
Résultat Task

GetStatusMessage() public méthode

Retrieves a status message by its id.

Podio API Reference: https://developers.podio.com/doc/status/get-status-message-22337

public GetStatusMessage ( int statusId ) : Task
statusId int
Résultat Task

StatusService() public méthode

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

UpdateStatusMessage() public méthode

This will update an existing status message.

Podio API Reference: https://developers.podio.com/doc/status/update-a-status-message-22338

public UpdateStatusMessage ( int statusId, string text, List fileIds = null, int embedId = null, string embedUrl = null ) : Task
statusId int
text string The actual status message
fileIds List Temporary files that have been uploaded and should be attached to this item
embedId int /// The id of an embedded link that has been created with the Add an mebed operation in the Embed /// area ///
embedUrl string The url to be attached
Résultat Task