Tenant Server V1

<back to all web services

post_tenantInfo

The following routes are available for this service:
All Verbs/post_tenantInfo
post_tenantInfo Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
idtenant1querystringNo
post_tenantInfoResponse Parameters:
NameParameterData TypeRequiredDescription
infoformpost_tenant_business_infoNo
baseResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo
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

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/post_tenantInfo HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: application/json
Content-Length: length

{"token":"String","tokensecret":"String","email":"String","idtenant1":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"info":{"idnumber":0,"idtenant1":0,"business_name":"String","business_email":"String","business_phone":"String","website":"String","facebook":"String","instagram":"String","twitter":"String","modidate":"\/Date(-62135596800000-0000)\/","modiby":"String","workinghours":[{"idnumber":0,"idtenant1":0,"dayofweek":0,"openyn":false,"opentime":"String","closetime":"String"}]},"result":0,"message":"String"}