Required role: | Consumer |
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 .other suffix or ?format=other
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: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"email":"String","sentEmailWithRequestId":"String","emailVerificationWithCodeToken":"String"}