| Required role: | Consumer | 
| PUT | /signup/send-verification-email | 
|---|
library ConsumerApi;
import 'package:servicestack/servicestack.dart';
class EmailSendVerificationCodeResponse implements IConvertible
{
    String? sentEmailWithRequestId;
    String? emailVerificationWithCodeToken;
    EmailSendVerificationCodeResponse({this.sentEmailWithRequestId,this.emailVerificationWithCodeToken});
    EmailSendVerificationCodeResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        sentEmailWithRequestId = json['sentEmailWithRequestId'];
        emailVerificationWithCodeToken = json['emailVerificationWithCodeToken'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'sentEmailWithRequestId': sentEmailWithRequestId,
        'emailVerificationWithCodeToken': emailVerificationWithCodeToken
    };
    getTypeName() => "EmailSendVerificationCodeResponse";
    TypeContext? context = _ctx;
}
class EmailSendVerificationCodeRequest implements IPut, IConvertible
{
    // @Validate(Validator="NotEmpty")
    // @Validate(Validator="Email")
    String? email;
    EmailSendVerificationCodeRequest({this.email});
    EmailSendVerificationCodeRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        email = json['email'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'email': email
    };
    getTypeName() => "EmailSendVerificationCodeRequest";
    TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: <String, TypeInfo> {
    'EmailSendVerificationCodeResponse': TypeInfo(TypeOf.Class, create:() => EmailSendVerificationCodeResponse()),
    'EmailSendVerificationCodeRequest': TypeInfo(TypeOf.Class, create:() => EmailSendVerificationCodeRequest()),
});
Dart EmailSendVerificationCodeRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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: consumer-api.brovs.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<EmailSendVerificationCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">
  <Email>String</Email>
</EmailSendVerificationCodeRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <EmailSendVerificationCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Dto"> <EmailVerificationWithCodeToken>String</EmailVerificationWithCodeToken> <SentEmailWithRequestId>String</SentEmailWithRequestId> </EmailSendVerificationCodeResponse>