Skip to main content
Version: 5.11.4

GetQuestionAuthorize

public BackendReturnObject GetQuestionAuthorize();

Description

To send an inquiry via 1:1 inquiry, the authentication code must be entered as the parameter value when opening the inquiry window(when calling OpenQuestionView).
If you enter an invalid code, it will not work properly when loading or registering the inquiry.

Example

Synchronous

BackendReturnObject bro = Backend.Question.GetQuestionAuthorize();
string questionAuthorize = bro.GetReturnValuetoJSON()["authorize"].ToString();

Asynchronous

Backend.Question.GetQuestionAuthorize((callback) =>
{
string questionAuthorize = callback.GetReturnValuetoJSON()["authorize"].ToString();

});

SendQueue

SendQueue.Enqueue(Backend.Question.GetQuestionAuthorize, (callback) =>
{
string questionAuthorize = callback.GetReturnValuetoJSON()["authorize"].ToString();

});

Return cases

Success cases

When loaded successfully
statusCode : 200

returnValue : refer to GetReturnValuetoJSON

GetReturnValuetoJSON

In the case of success, the authentication code to be used in OpenQuestionView is displayed.

{"authorize":"1ea3f14d34e89584df69c55332657a2432821cec9b701eac55332657a243283f14d34e89584df69c55332657a2ec9b70"}