| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<PasswordResetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/digitaluapi.ServiceInterface">
<Email>String</Email>
<Id>String</Id>
<NewPassword>String</NewPassword>
<NewPasswordConfirm>String</NewPasswordConfirm>
<URL>String</URL>
</PasswordResetRequest>