Studebaker Submetering API Services

<back to all web services

UpdateTenant

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

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: gallifrey.studebakersubmetering.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<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>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<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>

    </soap12:Body>
</soap12:Envelope>