Table of Contents

TTMSMCPElicitRequest.ToJSON Method

Builds the payload of the elicitation request.

API unit family: TMS.MCP.Elicitation Declaring type: TTMSMCPElicitRequest

Syntax

function ToJSON: TJSONObject;

Returns

A new object holding the message and, depending on the mode, either the requested schema or the mode marker together with the address to open. The elicitation identifier and the related task identifier are added only when they have been set. The caller owns the returned object.