PATCH api/unit/{unitID}/tenant

Request Information

URI Parameters

NameDescriptionTypeAdditional information
unitID

integer

Required

Body Parameters

UnitTenant
NameDescriptionTypeAdditional information
FullName

string

None.

Email

string

None.

Phone

string

None.

Comments

string

None.

UserID

integer

None.

LeaseStart

date

None.

LeaseEnd

date

None.

Request Formats

application/json, text/json

Sample:
{
  "FullName": "sample string 1",
  "Email": "sample string 2",
  "Phone": "sample string 3",
  "Comments": "sample string 4",
  "UserID": 1,
  "LeaseStart": "2022-07-03T17:06:27.779837+00:00",
  "LeaseEnd": "2022-07-03T17:06:27.779837+00:00"
}

application/xml, text/xml

Sample:
<UnitTenant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WisspNetApi.Models">
  <Comments>sample string 4</Comments>
  <Email>sample string 2</Email>
  <FullName>sample string 1</FullName>
  <LeaseEnd>2022-07-03T17:06:27.779837+00:00</LeaseEnd>
  <LeaseStart>2022-07-03T17:06:27.779837+00:00</LeaseStart>
  <Phone>sample string 3</Phone>
  <UserID>1</UserID>
</UnitTenant>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UnitTenant'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.