Tenant Server V1

<back to all web services

post_tenantContacts

The following routes are available for this service:
All Verbs/post_tenantContacts
post_tenantContacts Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
idtenant1querystringNo
post_tenantContactsResponse Parameters:
NameParameterData TypeRequiredDescription
contactformpost_tenant_contactsNo
baseResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo
post_tenant_contacts Parameters:
NameParameterData TypeRequiredDescription
idnumberformlongNo
idtenant1formintNo
firstname1formstringNo
lastname1formstringNo
email1formstringNo
phone1formstringNo
firstname2formstringNo
lastname2formstringNo
email2formstringNo
phone2formstringNo
firstname3formstringNo
lastname3formstringNo
email3formstringNo
phone3formstringNo
modidateformDateTimeNo
modibyformstringNo

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

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

{
	contact: 
	{
		idnumber: 0,
		idtenant1: 0,
		firstname1: String,
		lastname1: String,
		email1: String,
		phone1: String,
		firstname2: String,
		lastname2: String,
		email2: String,
		phone2: String,
		firstname3: String,
		lastname3: String,
		email3: String,
		phone3: String,
		modidate: 0001-01-01,
		modiby: String
	},
	result: 0,
	message: String
}