Table of Contents

Struct NextWorkflowRequest

Namespace
Vonage.VerifyV2.NextWorkflow
Assembly
Vonage.dll

Represents a request to advance a verification to its next workflow channel. Use this to skip the current delivery method and immediately try the next fallback channel.

public readonly struct NextWorkflowRequest : IVonageRequest
Implements
Inherited Members

Properties

RequestId

The unique identifier (UUID) of the verification request to advance.

public Guid RequestId { get; }

Property Value

Guid

Methods

BuildRequestMessage()

Converts the request to a HttpRequest.

public HttpRequestMessage BuildRequestMessage()

Returns

HttpRequestMessage

The Http request.

Parse(Guid)

Creates a new request to advance to the next workflow.

public static Result<NextWorkflowRequest> Parse(Guid requestId)

Parameters

requestId Guid

The UUID of the verification request to advance (obtained from RequestId).

Returns

Result<NextWorkflowRequest>

A Result<T> containing the request if successful, or validation errors if the ID is empty.

Examples

var request = NextWorkflowRequest.Parse(Guid.Parse("c11236f4-00bf-4b89-84ba-88b25df97315"));
var response = await client.NextWorkflowAsync(request);
See Also