C# Class PodioAPI.Services.QuestionService

Mostra file Open project: podio/podio-dotnet

Public Methods

Method Description
AnswerQuestion ( int questionId, int questionOptionId ) : Task

Answers the question for the given object. The object type can be either "status" or "comment".

Podio API Reference: https://developers.podio.com/doc/questions/answer-question-887232

CreateQuestion ( string refType, int refId, string questionText, List options ) : Task

Creates a new question on the given object. Supported object types are "status" and "comment".

Podio API Reference: https://developers.podio.com/doc/questions/create-question-887166

GetAnswers ( int questionId ) : Task>

Returns all the answers for the given question on the given object.

Podio API Reference: https://developers.podio.com/doc/questions/get-answers-945753

QuestionService ( Podio currentInstance ) : System.Collections.Generic

Method Details

AnswerQuestion() public method

Answers the question for the given object. The object type can be either "status" or "comment".

Podio API Reference: https://developers.podio.com/doc/questions/answer-question-887232

public AnswerQuestion ( int questionId, int questionOptionId ) : Task
questionId int
questionOptionId int
return Task

CreateQuestion() public method

Creates a new question on the given object. Supported object types are "status" and "comment".

Podio API Reference: https://developers.podio.com/doc/questions/create-question-887166

public CreateQuestion ( string refType, int refId, string questionText, List options ) : Task
refType string
refId int
questionText string The text of the question.
options List The list of text for the option
return Task

GetAnswers() public method

Returns all the answers for the given question on the given object.

Podio API Reference: https://developers.podio.com/doc/questions/get-answers-945753

public GetAnswers ( int questionId ) : Task>
questionId int
return Task>

QuestionService() public method

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