Studebaker Submetering API Services

<back to all web services

FindTenants

The following routes are available for this service:
All Verbs/findTenantsFind tenants at a property given a keyword
Parameters:
NameParameterData TypeRequiredDescription
PropertyIdpathstringYesThe id of the property to search
BuildingCodepathstringNoThe building code of the building the tenant is in
UnitNumberpathstringNoThe number of the unit the tenant is in. Note that if you omit buildingCode, then similarly numbered units in multiple buildings will be searched
KeywordpathstringNoThe keyword to search for. First name, last name, account # and property account # are all searched
IncludeMovedOutTenantspathstringNoWhether to include moved out tenants in the results
MaxCountpathstringNoThe maximum number of hits to return

To override the Content-type in your clients 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/FindTenants HTTP/1.1 
Host: gallifrey.studebakersubmetering.com 
Content-Type: text/csv
Content-Length: length

PropertyId,BuildingCode,UnitNumber,Keyword,IncludeMovedOutTenants,MaxCount,RequestIpAddress,Token
0,String,String,String,False,0,String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

FoundTenants