sfgboxapi

<back to all web services

PasswordResetPasswordRequest

The following routes are available for this service:
PUT/passwordreset/change
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class PasswordResetPasswordRequest
    {
        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 PasswordResetPasswordRequest setEmail(String value) { this.email = value; return this; }
        public String getId() { return id; }
        public PasswordResetPasswordRequest setId(String value) { this.id = value; return this; }
        public String getNewPassword() { return newPassword; }
        public PasswordResetPasswordRequest setNewPassword(String value) { this.newPassword = value; return this; }
        public String getNewPasswordConfirm() { return newPasswordConfirm; }
        public PasswordResetPasswordRequest setNewPasswordConfirm(String value) { this.newPasswordConfirm = value; return this; }
        public String getUrl() { return url; }
        public PasswordResetPasswordRequest setUrl(String value) { this.url = value; return this; }
    }

}

Java PasswordResetPasswordRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: sfgboxapi.dev.scadsoftware.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"email":"String","id":"String","newPassword":"String","newPasswordConfirm":"String","url":"String"}