POST | /api/v1/users/reset-password |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports efun.id.api.ServiceModel
Namespace Global
Namespace efun.id.api.ServiceModel
Public Partial Class ResetPasswordRequest
Public Overridable Property Token As String
Public Overridable Property NewPassword As String
Public Overridable Property ConfirmPassword As String
Public Overridable Property Session As String
Public Overridable Property Captcha As String
End Class
End Namespace
End Namespace
VB.NET ResetPasswordRequest 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/reset-password HTTP/1.1
Host: efun-id-api-sandbox.efun.vn
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"token":"String","newPassword":"String","confirmPassword":"String","session":"String","captcha":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {}