C# Класс PodioAPI.Services.QuestionService

Показать файл Открыть проект

Открытые методы

Метод Описание
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