PATCH api/unit/{unitID}/tenant
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| unitID | integer |
Required |
Body Parameters
UnitTenant| Name | Description | Type | Additional information |
|---|---|---|---|
| FullName | string |
None. |
|
| 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": "2025-12-06T04:11:22.6430845+00:00",
"LeaseEnd": "2025-12-06T04:11:22.6430845+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>2025-12-06T04:11:22.6430845+00:00</LeaseEnd> <LeaseStart>2025-12-06T04:11:22.6430845+00:00</LeaseStart> <Phone>sample string 3</Phone> <UserID>1</UserID> </UnitTenant>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.