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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<EmailResendVerificationCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Dto" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EmailResendVerificationCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">
  <Email>String</Email>
  <EmailVerificationWithCodeToken>String</EmailVerificationWithCodeToken>
  <SentEmailWithRequestId>String</SentEmailWithRequestId>
</EmailResendVerificationCodeResponse>