GET v2/facilities/{facilityId}/tenants/{tenantId}/units?TenantPin={TenantPin}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
facilityId

globally unique identifier

Required

tenantId

string

Required

TenantPin

string

None.

Body Parameters

None.

Response Information

Resource Description

FacilityTenantUnits
NameDescriptionTypeAdditional information
FacilityTenantUnitsList

Collection of FacilityTenantUnitsItem

None.

Errors

Collection of Exception

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "FacilityTenantUnitsList": [
    {
      "ReserveType": "sample string 1",
      "UnitId": "sample string 2",
      "UnitName": "sample string 3",
      "IssnUnitTypeId": "fc0cf2b0-87dc-4cfe-86d4-4f958331723d",
      "UnitTypeDescription": "sample string 5",
      "StartDate": "2021-10-18T09:28:21.5882388-07:00",
      "EndDate": "2021-10-18T09:28:21.5882388-07:00",
      "LockedOut": true,
      "PaidThruDate": "2021-10-18T09:28:21.5882388-07:00",
      "PaymentAllowed": true
    },
    {
      "ReserveType": "sample string 1",
      "UnitId": "sample string 2",
      "UnitName": "sample string 3",
      "IssnUnitTypeId": "fc0cf2b0-87dc-4cfe-86d4-4f958331723d",
      "UnitTypeDescription": "sample string 5",
      "StartDate": "2021-10-18T09:28:21.5882388-07:00",
      "EndDate": "2021-10-18T09:28:21.5882388-07:00",
      "LockedOut": true,
      "PaidThruDate": "2021-10-18T09:28:21.5882388-07:00",
      "PaymentAllowed": true
    }
  ],
  "Errors": [
    {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    },
    {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    }
  ],
  "IsSuccess": true
}

application/xml, text/xml

Sample:
<FacilityTenantUnits xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.BindingModels">
  <Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:Exception>
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </d2p1:Exception>
    <d2p1:Exception>
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </d2p1:Exception>
  </Errors>
  <IsSuccess>true</IsSuccess>
  <FacilityTenantUnitsList>
    <FacilityTenantUnitsItem>
      <EndDate>2021-10-18T09:28:21.5882388-07:00</EndDate>
      <IssnUnitTypeId>fc0cf2b0-87dc-4cfe-86d4-4f958331723d</IssnUnitTypeId>
      <LockedOut>true</LockedOut>
      <PaidThruDate>2021-10-18T09:28:21.5882388-07:00</PaidThruDate>
      <PaymentAllowed>true</PaymentAllowed>
      <ReserveType>sample string 1</ReserveType>
      <StartDate>2021-10-18T09:28:21.5882388-07:00</StartDate>
      <UnitId>sample string 2</UnitId>
      <UnitName>sample string 3</UnitName>
      <UnitTypeDescription>sample string 5</UnitTypeDescription>
    </FacilityTenantUnitsItem>
    <FacilityTenantUnitsItem>
      <EndDate>2021-10-18T09:28:21.5882388-07:00</EndDate>
      <IssnUnitTypeId>fc0cf2b0-87dc-4cfe-86d4-4f958331723d</IssnUnitTypeId>
      <LockedOut>true</LockedOut>
      <PaidThruDate>2021-10-18T09:28:21.5882388-07:00</PaidThruDate>
      <PaymentAllowed>true</PaymentAllowed>
      <ReserveType>sample string 1</ReserveType>
      <StartDate>2021-10-18T09:28:21.5882388-07:00</StartDate>
      <UnitId>sample string 2</UnitId>
      <UnitName>sample string 3</UnitName>
      <UnitTypeDescription>sample string 5</UnitTypeDescription>
    </FacilityTenantUnitsItem>
  </FacilityTenantUnitsList>
</FacilityTenantUnits>