Tenant Server V1

<back to all web services

post_vendor_login

The following routes are available for this service:
All Verbs/post_vendor_login
post_vendor_login Parameters:
NameParameterData TypeRequiredDescription
emailquerystringYes
passwordquerystringYes
post_vendor_loginResponse Parameters:
NameParameterData TypeRequiredDescription
activeynformboolNo
tokenformstringNo
tokensecretformstringNo
serverdateformstringNo
foundformstringNo
cAddressformList<cAddressDat>No
vendorsformList<ba_VendorsDat>No
usernameformstringNo
levelformstringNo
adminynformstringNo
vtokenformstringNo
vtokensecretformstringNo
ptokenformstringNo
ptokensecretformstringNo
emailformstringNo
baseResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo
cAddressDat Parameters:
NameParameterData TypeRequiredDescription
idciaformstringNo
idprojectformstringNo
addressformstringNo
idcityformstringNo
namecityformstringNo
closedformstringNo
ownernameformstringNo
verifiedformstringNo
besttimeformstringNo
ba_VendorsDat Parameters:
NameParameterData TypeRequiredDescription
idvendorformstringNo
nvendorformstringNo
cianameformstringNo
idciaformstringNo
billtoformstringNo
firstnameformstringNo
lastnameformstringNo
masteridciaformstringNo
vendorcontactformstringNo
webaccessformstringNo
idvendorachformstringNo
invoiceynformboolNo
achstatusformstringNo

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_vendor_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

{
	activeyn: False,
	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
		}
	],
	vendors: 
	[
		{
			idvendor: String,
			nvendor: String,
			cianame: String,
			idcia: String,
			billto: String,
			firstname: String,
			lastname: String,
			masteridcia: String,
			vendorcontact: String,
			webaccess: String,
			idvendorach: String,
			invoiceyn: False,
			achstatus: String
		}
	],
	username: String,
	level: String,
	adminyn: String,
	vtoken: String,
	vtokensecret: String,
	ptoken: String,
	ptokensecret: String,
	email: String,
	result: 0,
	message: String
}