Studebaker Submetering API Services

<back to all web services

UpdateTenant

The following routes are available for this service:
All Verbs/updateTenantChange a tenant's detailsNOTE: This is a remote call and so may fail

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

{
	tenantId: 0,
	title: String,
	firstName: String,
	lastName: String,
	suffix: String,
	occupancy: 0,
	phone: String,
	phoneExtension: String,
	mobile: String,
	emailAddress: String,
	address1: String,
	address2: String,
	address3: String,
	city: String,
	state: String,
	zipCode: String,
	allowEmail: False,
	allowSms: False,
	allowVoice: False,
	pmsAccount: String,
	newPassword: String,
	isExempt: False,
	requestIpAddress: String,
	token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	tenantId: 0,
	title: String,
	firstName: String,
	lastName: String,
	suffix: String,
	occupancy: 0,
	phone: String,
	phoneExtension: String,
	mobile: String,
	email: String,
	address1: String,
	address2: String,
	address3: String,
	city: String,
	state: String,
	zipCode: String,
	allowEmail: False,
	allowSms: False,
	allowVoice: False,
	pmsAccount: String,
	isExempt: False
}