Tenant Server V1

<back to all web services

post_pm_login

The following routes are available for this service:
All Verbs/post_pm_login
post_pm_login Parameters:
NameParameterData TypeRequiredDescription
emailquerystringYes
passwordquerystringYes
webynquerystringYes
iosynquerystringYes
devicetokenquerystringYes
appversionquerystringNo
versioncodequerystringNo
appynqueryboolNo
post_pm_loginResponse Parameters:
NameParameterData TypeRequiredDescription
useridformstringNo
activeynformboolNo
messageformstringNo
tokenformstringNo
tokensecretformstringNo
serverdateformstringNo
foundformstringNo
cAddressformList<cAddressDat>No
usernameformstringNo
nameformstringNo
levelformstringNo
adminynformstringNo
idciaformstringNo
idprojectformstringNo
mastercompanyformstringNo
access_xaformstringNo
access_xvformstringNo
access_xfvformstringNo
access_xdformstringNo
tenantrequestformstringNo
cAddressDat Parameters:
NameParameterData TypeRequiredDescription
idciaformstringNo
idprojectformstringNo
addressformstringNo
idcityformstringNo
namecityformstringNo
closedformstringNo
ownernameformstringNo
verifiedformstringNo
besttimeformstringNo

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

{
	email: String,
	password: String,
	webyn: String,
	iosyn: String,
	devicetoken: String,
	appversion: String,
	versioncode: String,
	appyn: False
}
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,
	access_xd: String,
	tenantrequest: String
}