Skip to main content
Version: 6.0.0

GetInquiryCodeForWebview

public BackndInquiryCodeReturnObject GetInquiryCodeForWebview();

BackndInquiryCodeReturnObject

GetAuthorizeByString

BackndInquiryCodeReturnObject bro = Backnd.Inquiry.GetInquiryCodeForWebview();
string questionAuthorize = bro.GetAuthorizeByString();

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

BackndInquiryCodeReturnObject bro = Backnd.Inquiry.GetInquiryCodeForWebview();
string questionAuthorize = bro.GetAuthorizeByString();

Asynchronous

Backnd.Inquiry.GetInquiryCodeForWebview((callback) =>
{
string questionAuthorize = callback.GetAuthorizeByString();
});

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