digitaluapi

<back to all web services

PasswordResetRequest

The following routes are available for this service:
All Verbs/auth/passwordreset
POST/passwordreset
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class PasswordResetRequest
    {
        public String Email = null;
        public String Id = null;
        public String NewPassword = null;
        public String NewPasswordConfirm = null;
        public String URL = null;
        
        public String getEmail() { return Email; }
        public PasswordResetRequest setEmail(String value) { this.Email = value; return this; }
        public String getId() { return Id; }
        public PasswordResetRequest setId(String value) { this.Id = value; return this; }
        public String getNewPassword() { return NewPassword; }
        public PasswordResetRequest setNewPassword(String value) { this.NewPassword = value; return this; }
        public String getNewPasswordConfirm() { return NewPasswordConfirm; }
        public PasswordResetRequest setNewPasswordConfirm(String value) { this.NewPasswordConfirm = value; return this; }
        public String getUrl() { return URL; }
        public PasswordResetRequest setUrl(String value) { this.URL = value; return this; }
    }

}

Java PasswordResetRequest 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.

POST /auth/passwordreset 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"}