Tenant Server V1

<back to all web services

post_tenantInfoModify

The following routes are available for this service:
All Verbs/post_tenantInfoModify
post_tenantInfoModify Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
infoquerypost_tenant_business_infoNo
post_tenant_business_info Parameters:
NameParameterData TypeRequiredDescription
idnumberformlongNo
idtenant1formintNo
business_nameformstringNo
business_emailformstringNo
business_phoneformstringNo
websiteformstringNo
facebookformstringNo
instagramformstringNo
twitterformstringNo
modidateformDateTimeNo
modibyformstringNo
workinghoursformList<post_tenant_workinghours>No
post_tenant_workinghours Parameters:
NameParameterData TypeRequiredDescription
idnumberformlongNo
idtenant1formintNo
dayofweekformintNo
openynformboolNo
opentimeformstringNo
closetimeformstringNo
post_tenantInfoModifyResponse Parameters:
NameParameterData TypeRequiredDescription
idnumberformlongNo
baseResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo

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

{
	token: String,
	tokensecret: String,
	email: String,
	info: 
	{
		idnumber: 0,
		idtenant1: 0,
		business_name: String,
		business_email: String,
		business_phone: String,
		website: String,
		facebook: String,
		instagram: String,
		twitter: String,
		modidate: 0001-01-01,
		modiby: String,
		workinghours: 
		[
			{
				idnumber: 0,
				idtenant1: 0,
				dayofweek: 0,
				openyn: False,
				opentime: String,
				closetime: String
			}
		]
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	idnumber: 0,
	result: 0,
	message: String
}