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 .xml suffix or ?format=xml

HTTP + XML

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

POST /xml/reply/UpdateTenant HTTP/1.1 
Host: gallifrey.studebakersubmetering.com 
Content-Type: application/xml
Content-Length: length

<UpdateTenant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSIAccountServices.Api.Tenants.Requests">
  <RequestIpAddress xmlns="http://schemas.datacontract.org/2004/07/SSIAccountServices.Api.Common.Requests">String</RequestIpAddress>
  <Token xmlns="http://schemas.datacontract.org/2004/07/SSIAccountServices.Api.Common.Requests">String</Token>
  <Address1>String</Address1>
  <Address2>String</Address2>
  <Address3>String</Address3>
  <AllowEmail>false</AllowEmail>
  <AllowSms>false</AllowSms>
  <AllowVoice>false</AllowVoice>
  <City>String</City>
  <EmailAddress>String</EmailAddress>
  <FirstName>String</FirstName>
  <IsExempt>false</IsExempt>
  <LastName>String</LastName>
  <Mobile>String</Mobile>
  <NewPassword>String</NewPassword>
  <Occupancy>0</Occupancy>
  <Phone>String</Phone>
  <PhoneExtension>String</PhoneExtension>
  <PmsAccount>String</PmsAccount>
  <State>String</State>
  <Suffix>String</Suffix>
  <TenantId>0</TenantId>
  <Title>String</Title>
  <ZipCode>String</ZipCode>
</UpdateTenant>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UpdateTenantResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSIAccountServices.Api.Tenants.Responses">
  <Address1>String</Address1>
  <Address2>String</Address2>
  <Address3>String</Address3>
  <AllowEmail>false</AllowEmail>
  <AllowSms>false</AllowSms>
  <AllowVoice>false</AllowVoice>
  <City>String</City>
  <Email>String</Email>
  <FirstName>String</FirstName>
  <IsExempt>false</IsExempt>
  <LastName>String</LastName>
  <Mobile>String</Mobile>
  <Occupancy>0</Occupancy>
  <Phone>String</Phone>
  <PhoneExtension>String</PhoneExtension>
  <PmsAccount>String</PmsAccount>
  <State>String</State>
  <Suffix>String</Suffix>
  <TenantId>0</TenantId>
  <Title>String</Title>
  <ZipCode>String</ZipCode>
</UpdateTenantResponse>