ConsumerApi

<back to all web services

EmailResendVerificationCodeRequest

ConsumerBusiness
Requires Authentication
Required role:Consumer
The following routes are available for this service:
POST/signup/resend-send-verification-email

library ConsumerApi;
import 'package:servicestack/servicestack.dart';

class EmailResendVerificationCodeResponse implements IConvertible
{
    String? email;
    String? sentEmailWithRequestId;
    String? emailVerificationWithCodeToken;

    EmailResendVerificationCodeResponse({this.email,this.sentEmailWithRequestId,this.emailVerificationWithCodeToken});
    EmailResendVerificationCodeResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        email = json['email'];
        sentEmailWithRequestId = json['sentEmailWithRequestId'];
        emailVerificationWithCodeToken = json['emailVerificationWithCodeToken'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'email': email,
        'sentEmailWithRequestId': sentEmailWithRequestId,
        'emailVerificationWithCodeToken': emailVerificationWithCodeToken
    };

    getTypeName() => "EmailResendVerificationCodeResponse";
    TypeContext? context = _ctx;
}

class EmailResendVerificationCodeRequest implements IPost, IConvertible
{
    EmailResendVerificationCodeRequest();
    EmailResendVerificationCodeRequest.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "EmailResendVerificationCodeRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: <String, TypeInfo> {
    'EmailResendVerificationCodeResponse': TypeInfo(TypeOf.Class, create:() => EmailResendVerificationCodeResponse()),
    'EmailResendVerificationCodeRequest': TypeInfo(TypeOf.Class, create:() => EmailResendVerificationCodeRequest()),
});

Dart EmailResendVerificationCodeRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /signup/resend-send-verification-email HTTP/1.1 
Host: unstable-consumer-api.brovs.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"email":"String","sentEmailWithRequestId":"String","emailVerificationWithCodeToken":"String"}