C# Class PodioAPI.Services.StatusService

Mostrar archivo Open project: podio/podio-dotnet

Public Methods

Method 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 method

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
return Task

DeleteStatusMessage() public method

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
return Task

GetStatusMessage() public method

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
return Task

StatusService() public method

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

UpdateStatusMessage() public method

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
return Task