POST v1/facilities/{facilityId}/tenant/{tenantPmsId}

Updates the PMS tenant.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
facilityId

The facility identifier.

globally unique identifier

Required

tenantPmsId

The tenant PMS identifier.

string

Required

Body Parameters

The content.

UpdateTenantContent
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

MiddleName

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

StateOrProv

string

None.

PostalCode

string

None.

HomePhone

string

None.

CellPhone

string

None.

WorkPhone

string

None.

Email

string

None.

PinOrGateCode

string

None.

UnitId

string

None.

UnitName

string

None.

BillingPeriod

string

None.

UnitPaidThruDate

date

None.

UnitBalanceDue

decimal number

None.

Source

string

None.

UnitTypeDescription

string

None.

NextRentAssesment

date

None.

LastPayment

date

None.

OverLocked

boolean

None.

GateLocked

boolean

None.

MovedInDate

date

None.

ExpectedVacate

date

None.

UnitRentalRate

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "MiddleName": "sample string 3",
  "Address1": "sample string 4",
  "Address2": "sample string 5",
  "City": "sample string 6",
  "StateOrProv": "sample string 7",
  "PostalCode": "sample string 8",
  "HomePhone": "sample string 9",
  "CellPhone": "sample string 10",
  "WorkPhone": "sample string 11",
  "Email": "sample string 12",
  "PinOrGateCode": "sample string 13",
  "UnitId": "sample string 14",
  "UnitName": "sample string 15",
  "BillingPeriod": "sample string 16",
  "UnitPaidThruDate": "2021-07-31T05:36:44.5364119-07:00",
  "UnitBalanceDue": 1.1,
  "Source": "sample string 17",
  "UnitTypeDescription": "sample string 18",
  "NextRentAssesment": "2021-07-31T05:36:44.5364119-07:00",
  "LastPayment": "2021-07-31T05:36:44.5364119-07:00",
  "OverLocked": true,
  "GateLocked": true,
  "MovedInDate": "2021-07-31T05:36:44.5364119-07:00",
  "ExpectedVacate": "2021-07-31T05:36:44.5373885-07:00",
  "UnitRentalRate": 1.1
}

application/xml, text/xml

Sample:
<UpdateTenantContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.ViewModels">
  <Address1>sample string 4</Address1>
  <Address2>sample string 5</Address2>
  <BillingPeriod>sample string 16</BillingPeriod>
  <CellPhone>sample string 10</CellPhone>
  <City>sample string 6</City>
  <Email>sample string 12</Email>
  <ExpectedVacate>2021-07-31T05:36:44.5373885-07:00</ExpectedVacate>
  <FirstName>sample string 1</FirstName>
  <GateLocked>true</GateLocked>
  <HomePhone>sample string 9</HomePhone>
  <LastName>sample string 2</LastName>
  <LastPayment>2021-07-31T05:36:44.5364119-07:00</LastPayment>
  <MiddleName>sample string 3</MiddleName>
  <MovedInDate>2021-07-31T05:36:44.5364119-07:00</MovedInDate>
  <NextRentAssesment>2021-07-31T05:36:44.5364119-07:00</NextRentAssesment>
  <OverLocked>true</OverLocked>
  <PinOrGateCode>sample string 13</PinOrGateCode>
  <PostalCode>sample string 8</PostalCode>
  <Source>sample string 17</Source>
  <StateOrProv>sample string 7</StateOrProv>
  <UnitBalanceDue>1.1</UnitBalanceDue>
  <UnitId>sample string 14</UnitId>
  <UnitName>sample string 15</UnitName>
  <UnitPaidThruDate>2021-07-31T05:36:44.5364119-07:00</UnitPaidThruDate>
  <UnitRentalRate>1.1</UnitRentalRate>
  <UnitTypeDescription>sample string 18</UnitTypeDescription>
  <WorkPhone>sample string 11</WorkPhone>
</UpdateTenantContent>

Response Information

Resource Description

UpdatePmsTenantResult
NameDescriptionTypeAdditional information
Errors

Collection of Exception

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "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:
<UpdatePmsTenantResult 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>
</UpdatePmsTenantResult>