Tenant Server V1

<back to all web services

post_pm_tenant_assetsList

The following routes are available for this service:
All Verbs/post_pm_tenant_assetsList
post_pm_tenant_assetsList Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
post_pm_tenant_assetsListResponse Parameters:
NameParameterData TypeRequiredDescription
assetsformList<post_tenant_assets>No
baseResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo
post_tenant_assets Parameters:
NameParameterData TypeRequiredDescription
idnumberformlongNo
idtenant1formintNo
business_descriptionformstringNo
owner_biographyformstringNo
logo_urlformstringNo
menu_urlformstringNo
menufile_urlformstringNo
creadateformDateTimeNo
display_ynformboolNo
modidateformDateTimeNo
modibyformstringNo
notesformstringNo
photosformList<post_tenant_assets_photos>No
tenantNameformstringNo
post_tenant_assets_photos Parameters:
NameParameterData TypeRequiredDescription
idnumberformlongNo
idtenant1formintNo
idpost_tenant_assetsformlongNo
indexformintNo
image_urlformstringNo
descriptionformstringNo

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

HTTP + CSV

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

POST /csv/reply/post_pm_tenant_assetsList HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: text/csv
Content-Length: length

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

{"assets":[{"idnumber":0,"idtenant1":0,"business_description":"String","owner_biography":"String","logo_url":"String","menu_url":"String","menufile_url":"String","creadate":"\/Date(-62135596800000-0000)\/","display_yn":false,"modidate":"\/Date(-62135596800000-0000)\/","modiby":"String","notes":"String","photos":[{"idnumber":0,"idtenant1":0,"idpost_tenant_assets":0,"index":0,"image_url":"String","description":"String"}],"tenantName":"String"}],"result":0,"message":"String"}