LovettCommercialService V1

<back to all web services

Login

The following routes are available for this service:
All Verbs/Login
Login Parameters:
NameParameterData TypeRequiredDescription
emailquerystringYes
passwordquerystringYes
webynquerystringYes
iosynquerystringYes
devicetokenquerystringYes
appversionquerystringNo
versioncodequerystringNo

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

{
	email: String,
	password: String,
	webyn: String,
	iosyn: String,
	devicetoken: String,
	appversion: String,
	versioncode: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	userid: String,
	activeyn: False,
	message: String,
	token: String,
	tokensecret: String,
	serverdate: String,
	found: String,
	cAddress: 
	[
		{
			idcia: String,
			idproject: String,
			address: String,
			idcity: String,
			namecity: String,
			closed: String,
			ownername: String,
			verified: String,
			besttime: String
		}
	],
	username: String,
	name: String,
	level: String,
	adminyn: String,
	idcia: String,
	idproject: String,
	mastercompany: String,
	access_xa: String,
	access_xv: String,
	access_xfv: String,
	tenantrequest: String
}