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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<PasswordResetPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sfgboxapi.ServiceInterface">
  <Email>String</Email>
  <Id>String</Id>
  <NewPassword>String</NewPassword>
  <NewPasswordConfirm>String</NewPasswordConfirm>
  <URL>String</URL>
</PasswordResetPasswordRequest>