Studebaker Submetering API Services

<back to all web services

GetTenantsReport

Get the tenants report

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

HTTP + SOAP11

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

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

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

<GetTenantsReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSIAccountServices.Api.Reports.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>
  <PropertyId>0</PropertyId>
</GetTenantsReport>

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

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

<GetTenantsReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSIAccountServices.Api.Reports.Responses">
  <Units xmlns:d2p1="http://schemas.datacontract.org/2004/07/ABS.Interfaces">
    <d2p1:TenantsReportUnitData>
      <d2p1:BuildingCode>String</d2p1:BuildingCode>
      <d2p1:CurrentTenant>
        <d2p1:Balance>0</d2p1:Balance>
        <d2p1:IsPendingMoveOut>false</d2p1:IsPendingMoveOut>
        <d2p1:LastInvoiceUrl>String</d2p1:LastInvoiceUrl>
        <d2p1:MoveInDate>0001-01-01T00:00:00</d2p1:MoveInDate>
        <d2p1:MoveOutDate>0001-01-01T00:00:00</d2p1:MoveOutDate>
        <d2p1:Name>
          <d2p1:FirstName>String</d2p1:FirstName>
          <d2p1:LastName>String</d2p1:LastName>
          <d2p1:Prefix>String</d2p1:Prefix>
          <d2p1:Suffix>String</d2p1:Suffix>
        </d2p1:Name>
        <d2p1:PmsAccount>String</d2p1:PmsAccount>
        <d2p1:TenantId>0</d2p1:TenantId>
      </d2p1:CurrentTenant>
      <d2p1:PendingNewTenant>
        <d2p1:Balance>0</d2p1:Balance>
        <d2p1:IsPendingMoveOut>false</d2p1:IsPendingMoveOut>
        <d2p1:LastInvoiceUrl>String</d2p1:LastInvoiceUrl>
        <d2p1:MoveInDate>0001-01-01T00:00:00</d2p1:MoveInDate>
        <d2p1:MoveOutDate>0001-01-01T00:00:00</d2p1:MoveOutDate>
        <d2p1:Name>
          <d2p1:FirstName>String</d2p1:FirstName>
          <d2p1:LastName>String</d2p1:LastName>
          <d2p1:Prefix>String</d2p1:Prefix>
          <d2p1:Suffix>String</d2p1:Suffix>
        </d2p1:Name>
        <d2p1:PmsAccount>String</d2p1:PmsAccount>
        <d2p1:TenantId>0</d2p1:TenantId>
      </d2p1:PendingNewTenant>
      <d2p1:PreviousTenants>
        <d2p1:TenantsReportTenantData>
          <d2p1:Balance>0</d2p1:Balance>
          <d2p1:IsPendingMoveOut>false</d2p1:IsPendingMoveOut>
          <d2p1:LastInvoiceUrl>String</d2p1:LastInvoiceUrl>
          <d2p1:MoveInDate>0001-01-01T00:00:00</d2p1:MoveInDate>
          <d2p1:MoveOutDate>0001-01-01T00:00:00</d2p1:MoveOutDate>
          <d2p1:Name>
            <d2p1:FirstName>String</d2p1:FirstName>
            <d2p1:LastName>String</d2p1:LastName>
            <d2p1:Prefix>String</d2p1:Prefix>
            <d2p1:Suffix>String</d2p1:Suffix>
          </d2p1:Name>
          <d2p1:PmsAccount>String</d2p1:PmsAccount>
          <d2p1:TenantId>0</d2p1:TenantId>
        </d2p1:TenantsReportTenantData>
      </d2p1:PreviousTenants>
      <d2p1:UnitId>0</d2p1:UnitId>
      <d2p1:UnitNumber>String</d2p1:UnitNumber>
    </d2p1:TenantsReportUnitData>
  </Units>
</GetTenantsReportResponse>

    </soap:Body>
</soap:Envelope>