| All Verbs | /auth/passwordreset | ||
|---|---|---|---|
| POST | /passwordreset |
import 'package:servicestack/servicestack.dart';
class PasswordResetRequest implements IConvertible
{
String? Email;
String? Id;
String? NewPassword;
String? NewPasswordConfirm;
String? URL;
PasswordResetRequest({this.Email,this.Id,this.NewPassword,this.NewPasswordConfirm,this.URL});
PasswordResetRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Email = json['Email'];
Id = json['Id'];
NewPassword = json['NewPassword'];
NewPasswordConfirm = json['NewPasswordConfirm'];
URL = json['URL'];
return this;
}
Map<String, dynamic> toJson() => {
'Email': Email,
'Id': Id,
'NewPassword': NewPassword,
'NewPasswordConfirm': NewPasswordConfirm,
'URL': URL
};
getTypeName() => "PasswordResetRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'PasswordResetRequest': TypeInfo(TypeOf.Class, create:() => PasswordResetRequest()),
});
Dart PasswordResetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /auth/passwordreset HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Email: String,
Id: String,
NewPassword: String,
NewPasswordConfirm: String,
URL: String
}