Skip to main content
Version: 5.11.8

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.

The console reads the user's language information and loads the registered default template that matches the country.

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();
});

ReturnCase

Success cases

When loading succeeds
statusCode : 200

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!"
}