digitaluapi

<back to all web services

PasswordResetPasswordRequest

The following routes are available for this service:
PUT/passwordreset/change
import 'package:servicestack/servicestack.dart';
import 'dart:collection';

class PasswordResetPasswordRequest implements IConvertible
{
    String? Email;
    String? Id;
    String? NewPassword;
    String? NewPasswordConfirm;
    String? URL;

    PasswordResetPasswordRequest({this.Email,this.Id,this.NewPassword,this.NewPasswordConfirm,this.URL});
    PasswordResetPasswordRequest.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() => "PasswordResetPasswordRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
    'PasswordResetPasswordRequest': TypeInfo(TypeOf.Class, create:() => PasswordResetPasswordRequest()),
});

Dart PasswordResetPasswordRequest DTOs

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

HTTP + OTHER

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

PUT /passwordreset/change HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Email":"String","Id":"String","NewPassword":"String","NewPasswordConfirm":"String","URL":"String"}