C# 클래스 PodioAPI.Services.QuestionService

파일 보기 프로젝트 열기: podio/podio-dotnet

공개 메소드들

메소드 설명
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

메소드 상세

AnswerQuestion() 공개 메소드

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
리턴 Task

CreateQuestion() 공개 메소드

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
리턴 Task

GetAnswers() 공개 메소드

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
리턴 Task>

QuestionService() 공개 메소드

public QuestionService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
리턴 System.Collections.Generic