Table of Contents

TTMSMCPElicitResult Class

Answer returned by the client for an elicitation request.

API unit family: TMS.MCP.Elicitation Inherits from: TPersistent

Syntax

TTMSMCPElicitResult = class(TPersistent)

Remarks

Always check TTMSMCPElicitResult.Action before reading TTMSMCPElicitResult.Content: values are only supplied when the user accepted the request. Declining and cancelling are ordinary outcomes that the server is expected to handle, not failures.

Properties

Name Description
Action Outcome reported by the client: 'accept' when the user supplied the requested values, 'decline' when the user explicitly refused, and 'cancel' when the user dismissed the request without deciding.
Content Values supplied by the user, as one member per schema field name.

Methods

Name Description
FromJSON Creates a result from the payload the client sent back.