| POST | /passwordreset | ||
|---|---|---|---|
| All Verbs | /auth/passwordreset |
import java.math.*;
import java.util.*;
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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /passwordreset HTTP/1.1
Host: sfgboxapi.dev.scadsoftware.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
email: String,
id: String,
newPassword: String,
newPasswordConfirm: String,
url: String
}