Tenant Server V1

<back to all web services

post_login

The following routes are available for this service:
All Verbs/post_login
post_login Parameters:
NameParameterData TypeRequiredDescription
emailquerystringYes
passwordquerystringYes
post_loginResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo
idnumberformstringNo
tokenformstringNo
tokensecretformstringNo
emailformstringNo
nameformstringNo
phoneformstringNo
homePhoneformstringNo
addressformstringNo
firstnameformstringNo
lastnameformstringNo
sms_activeynformboolNo
sms_mobileformstringNo
sms_verifiedformboolNo

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 /jsv/reply/post_login HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: text/jsv
Content-Length: length

{
	email: String,
	password: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	result: 0,
	message: String,
	idnumber: String,
	token: String,
	tokensecret: String,
	email: String,
	name: String,
	phone: String,
	homePhone: String,
	address: String,
	firstname: String,
	lastname: String,
	sms_activeyn: False,
	sms_mobile: String,
	sms_verified: False
}