POST | /api/v1/users/forgot-password |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ForgotPasswordRequest
{
public String userName = null;
public String email = null;
public String session = null;
public String captcha = null;
public String getUserName() { return userName; }
public ForgotPasswordRequest setUserName(String value) { this.userName = value; return this; }
public String getEmail() { return email; }
public ForgotPasswordRequest setEmail(String value) { this.email = value; return this; }
public String getSession() { return session; }
public ForgotPasswordRequest setSession(String value) { this.session = value; return this; }
public String getCaptcha() { return captcha; }
public ForgotPasswordRequest setCaptcha(String value) { this.captcha = value; return this; }
}
}
Java ForgotPasswordRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/v1/users/forgot-password HTTP/1.1
Host: efun-id-api-sandbox.efun.vn
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"userName":"String","email":"String","session":"String","captcha":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {}