Skip to main content
Version: SDK-5.9.6

GetDefaultQuestionForm

public BackendReturnObject GetDefaultQuestionForm();

Description

The inquiry template set in BACKND Console's 1:1 Inquiry > Inquiry Settings is loaded.
If the template is not set, ""(string.Empty) is returned.

Example

Synchronous

var bro = Backend.Question.GetDefaultQuestionForm();

string defaultForm = bro.GetReturnValuetoJSON()["form"].ToString();

Asynchronous

Backend.Question.GetDefaultQuestionForm(callback => {
string defaultForm = callback.GetReturnValuetoJSON()["form"].ToString();
});

SendQueue

SendQueue.Enqueue(Backend.Question.GetDefaultQuestionForm, callback => {
string defaultForm = callback.GetReturnValuetoJSON()["form"].ToString();
});

Return cases

Success cases

When loaded successfully
statusCode : 200
message : Success
returnValue : refer to GetReturnValuetoJSON

GetReturnValuetoJSON

{
"type":["Account","Payment","Restore","Game Inquiry","Report","Install/Execute","Bugs","Events","Suggestions","Other"],
"form":"Please enter the time when the issue occurred!"
}