GET v1/facilities/{facilityId}/tenants/getreservationbyphone?phoneNumber={phoneNumber}&lastName={lastName}

Gets the tenant reservation by phone number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
facilityId

The facility identifier.

globally unique identifier

Required

phoneNumber

The phone number.

string

Required

lastName

The last name.

string

None.

Body Parameters

None.

Response Information

Resource Description

FacilityTenantReservationByPhoneNumber
NameDescriptionTypeAdditional information
Id

string

None.

FirstName

string

None.

LastName

string

None.

ReservedUnits

Collection of ReservedUnit

None.

TenantInfo

FacilityTenantInfo

None.

IsSuccess

boolean

None.

Errors

Collection of Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "ReservedUnits": [
    {
      "ReservationType": "sample string 1",
      "UnitId": "sample string 2",
      "DoorNumber": "sample string 3",
      "TypeId": "sample string 4",
      "UnitDescription": "sample string 5",
      "StdRate": 6.1,
      "QuotedRate": 7.1,
      "PromoId": "sample string 8",
      "IssnFacilityUnitTypeId": "029ce9e0-d3a8-4413-a712-8883f1ffc843",
      "UnitStillAvailable": true
    },
    {
      "ReservationType": "sample string 1",
      "UnitId": "sample string 2",
      "DoorNumber": "sample string 3",
      "TypeId": "sample string 4",
      "UnitDescription": "sample string 5",
      "StdRate": 6.1,
      "QuotedRate": 7.1,
      "PromoId": "sample string 8",
      "IssnFacilityUnitTypeId": "029ce9e0-d3a8-4413-a712-8883f1ffc843",
      "UnitStillAvailable": true
    }
  ],
  "TenantInfo": {
    "Id": "sample string 1",
    "GateAccessCode": "sample string 2",
    "CompanyName": "sample string 3",
    "FirstName": "sample string 4",
    "MiddleName": "sample string 5",
    "LastName": "sample string 6",
    "Street1": "sample string 7",
    "Street2": "sample string 8",
    "City": "sample string 9",
    "StateOrProv": "sample string 10",
    "PostalCode": "sample string 11",
    "Country": "sample string 12",
    "HomePhone": "sample string 13",
    "WorkPhone": "sample string 14",
    "CellPhone": "sample string 15",
    "EmailAddress": "sample string 16",
    "VehicleType": "sample string 17",
    "VehiclePlate": "sample string 18",
    "PayType": "sample string 19",
    "CreditCardType": "sample string 20",
    "CreditCardNameOnIt": "sample string 21",
    "CreditCardNumber": "sample string 22",
    "CreditCardExpMo": "sample string 23",
    "CreditCardExpYear": "sample string 24",
    "DriversLicenseNumber": "sample string 25",
    "DriversLicenseState": "sample string 26",
    "BillingStreet1": "sample string 27",
    "BillingStreet2": "sample string 28",
    "BillingCity": "sample string 29",
    "BillingStateOrProv": "sample string 30",
    "BillingPostalCode": "sample string 31",
    "BillingCountry": "sample string 32",
    "AlternateContactFirstName": "sample string 33",
    "AlternateContactLastName": "sample string 34",
    "AlternateContactStreet1": "sample string 35",
    "AlternateContactStreet2": "sample string 36",
    "AlternateContactCity": "sample string 37",
    "AlternateContactStateOrProv": "sample string 38",
    "AlternateContactPostalCode": "sample string 39",
    "AlternateContactCountry": "sample string 40",
    "AlternateContactPhone": "sample string 41",
    "MilitaryFlag": true,
    "MilitaryBase": "sample string 43",
    "MilitaryContactName": "sample string 44",
    "MilitaryContactPhone": "sample string 45",
    "SocialSecurityNumber": "sample string 46",
    "Status": "sample string 47",
    "NoCheckAllowed": true,
    "WebPassword": "sample string 49",
    "DateOfBirth": "2021-07-31T05:03:17.0940947-07:00",
    "BillingPeriod": "sample string 50",
    "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
  },
  "IsSuccess": 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
    }
  ]
}

application/xml, text/xml

Sample:
<FacilityTenantReservationByPhoneNumber 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" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.PmsInterface.Models.BindingModels">
    <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 xmlns="http://schemas.datacontract.org/2004/07/OpenTech.PmsInterface.Models.BindingModels">true</IsSuccess>
  <FirstName>sample string 2</FirstName>
  <Id>sample string 1</Id>
  <LastName>sample string 3</LastName>
  <ReservedUnits>
    <ReservedUnit>
      <DoorNumber>sample string 3</DoorNumber>
      <IssnFacilityUnitTypeId>029ce9e0-d3a8-4413-a712-8883f1ffc843</IssnFacilityUnitTypeId>
      <PromoId>sample string 8</PromoId>
      <QuotedRate>7.1</QuotedRate>
      <ReservationType>sample string 1</ReservationType>
      <StdRate>6.1</StdRate>
      <TypeId>sample string 4</TypeId>
      <UnitDescription>sample string 5</UnitDescription>
      <UnitId>sample string 2</UnitId>
      <UnitStillAvailable>true</UnitStillAvailable>
    </ReservedUnit>
    <ReservedUnit>
      <DoorNumber>sample string 3</DoorNumber>
      <IssnFacilityUnitTypeId>029ce9e0-d3a8-4413-a712-8883f1ffc843</IssnFacilityUnitTypeId>
      <PromoId>sample string 8</PromoId>
      <QuotedRate>7.1</QuotedRate>
      <ReservationType>sample string 1</ReservationType>
      <StdRate>6.1</StdRate>
      <TypeId>sample string 4</TypeId>
      <UnitDescription>sample string 5</UnitDescription>
      <UnitId>sample string 2</UnitId>
      <UnitStillAvailable>true</UnitStillAvailable>
    </ReservedUnit>
  </ReservedUnits>
  <TenantInfo>
    <Errors xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:Exception>
        <ClassName xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">System.Exception</ClassName>
        <Message i:nil="true" xmlns="" />
        <Data i:nil="true" xmlns="" />
        <InnerException i:nil="true" xmlns="" />
        <HelpURL xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 1</HelpURL>
        <StackTraceString i:nil="true" xmlns="" />
        <RemoteStackTraceString i:nil="true" xmlns="" />
        <RemoteStackIndex xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">0</RemoteStackIndex>
        <ExceptionMethod i:nil="true" xmlns="" />
        <HResult xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">3</HResult>
        <Source xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 2</Source>
        <WatsonBuckets i:nil="true" xmlns="" />
      </d3p1:Exception>
      <d3p1:Exception>
        <ClassName xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">System.Exception</ClassName>
        <Message i:nil="true" xmlns="" />
        <Data i:nil="true" xmlns="" />
        <InnerException i:nil="true" xmlns="" />
        <HelpURL xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 1</HelpURL>
        <StackTraceString i:nil="true" xmlns="" />
        <RemoteStackTraceString i:nil="true" xmlns="" />
        <RemoteStackIndex xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">0</RemoteStackIndex>
        <ExceptionMethod i:nil="true" xmlns="" />
        <HResult xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:int" xmlns="">3</HResult>
        <Source xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string" xmlns="">sample string 2</Source>
        <WatsonBuckets i:nil="true" xmlns="" />
      </d3p1:Exception>
    </Errors>
    <IsSuccess>true</IsSuccess>
    <AlternateContactCity>sample string 37</AlternateContactCity>
    <AlternateContactCountry>sample string 40</AlternateContactCountry>
    <AlternateContactFirstName>sample string 33</AlternateContactFirstName>
    <AlternateContactLastName>sample string 34</AlternateContactLastName>
    <AlternateContactPhone>sample string 41</AlternateContactPhone>
    <AlternateContactPostalCode>sample string 39</AlternateContactPostalCode>
    <AlternateContactStateOrProv>sample string 38</AlternateContactStateOrProv>
    <AlternateContactStreet1>sample string 35</AlternateContactStreet1>
    <AlternateContactStreet2>sample string 36</AlternateContactStreet2>
    <BillingCity>sample string 29</BillingCity>
    <BillingCountry>sample string 32</BillingCountry>
    <BillingPeriod>sample string 50</BillingPeriod>
    <BillingPostalCode>sample string 31</BillingPostalCode>
    <BillingStateOrProv>sample string 30</BillingStateOrProv>
    <BillingStreet1>sample string 27</BillingStreet1>
    <BillingStreet2>sample string 28</BillingStreet2>
    <CellPhone>sample string 15</CellPhone>
    <City>sample string 9</City>
    <CompanyName>sample string 3</CompanyName>
    <Country>sample string 12</Country>
    <CreditCardExpMo>sample string 23</CreditCardExpMo>
    <CreditCardExpYear>sample string 24</CreditCardExpYear>
    <CreditCardNameOnIt>sample string 21</CreditCardNameOnIt>
    <CreditCardNumber>sample string 22</CreditCardNumber>
    <CreditCardType>sample string 20</CreditCardType>
    <DateOfBirth>2021-07-31T05:03:17.0940947-07:00</DateOfBirth>
    <DriversLicenseNumber>sample string 25</DriversLicenseNumber>
    <DriversLicenseState>sample string 26</DriversLicenseState>
    <EmailAddress>sample string 16</EmailAddress>
    <FirstName>sample string 4</FirstName>
    <GateAccessCode>sample string 2</GateAccessCode>
    <HomePhone>sample string 13</HomePhone>
    <Id>sample string 1</Id>
    <LastName>sample string 6</LastName>
    <MiddleName>sample string 5</MiddleName>
    <MilitaryBase>sample string 43</MilitaryBase>
    <MilitaryContactName>sample string 44</MilitaryContactName>
    <MilitaryContactPhone>sample string 45</MilitaryContactPhone>
    <MilitaryFlag>true</MilitaryFlag>
    <NoCheckAllowed>true</NoCheckAllowed>
    <PayType>sample string 19</PayType>
    <PostalCode>sample string 11</PostalCode>
    <SocialSecurityNumber>sample string 46</SocialSecurityNumber>
    <StateOrProv>sample string 10</StateOrProv>
    <Status>sample string 47</Status>
    <Street1>sample string 7</Street1>
    <Street2>sample string 8</Street2>
    <VehiclePlate>sample string 18</VehiclePlate>
    <VehicleType>sample string 17</VehicleType>
    <WebPassword>sample string 49</WebPassword>
    <WorkPhone>sample string 14</WorkPhone>
  </TenantInfo>
</FacilityTenantReservationByPhoneNumber>