ConsumerApi

<back to all web services

EmailSendVerificationCodeRequest

ConsumerBusiness
Requires Authentication
Required role:Consumer
The following routes are available for this service:
PUT/signup/send-verification-email
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ConsumerApi

Namespace Global

    Namespace ConsumerApi

        Public Partial Class EmailSendVerificationCodeRequest
            Implements IPut
            <Validate(Validator:="NotEmpty")>
            <Validate(Validator:="Email")>
            Public Property Email As String
        End Class

        Public Partial Class EmailSendVerificationCodeResponse
            Public Property SentEmailWithRequestId As String
            Public Property EmailVerificationWithCodeToken As String
        End Class
    End Namespace
End Namespace

VB.NET EmailSendVerificationCodeRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /signup/send-verification-email HTTP/1.1 
Host: unstable-consumer-api.brovs.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	email: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	sentEmailWithRequestId: String,
	emailVerificationWithCodeToken: String
}