EBALiteServer

<back to all web services

WachtwoordResetRequest

The following routes are available for this service:
GET,POST,PUT/account/passwordreset
WachtwoordResetRequest Parameters:
NameParameterData TypeRequiredDescription
EmailbodystringNo
TokenbodystringNo
NewpasswordbodystringNo
WachtwoordResetResponse Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
PasswordChangedformboolNo
ValidformboolNo
ResponseStatusformResponseStatusNo

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

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /account/passwordreset HTTP/1.1 
Host: ebaliteapi.pieterbas.nl 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Email: String,
	Token: String,
	Newpassword: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Id: String,
	PasswordChanged: False,
	Valid: False,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}