PUT residentapi/occupants/{id}
Update Occupant
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ConnectResidentId |
integer |
Required |
Body Parameters
OccupantUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| OccupantId |
OccupantId |
integer |
None. |
| FirstName |
First Name. Required only if a 'Renter' or 'Resident' |
string |
Required |
| MiddleInitial |
Middle Initial. |
string |
None. |
| LastName |
Last Name. |
string |
Required |
|
|
string |
None. |
|
| UnitPhone |
UnitPhone |
string |
None. |
| Cellphone |
CellPhone |
string |
None. |
| WorkPhone |
WorkPhone |
string |
None. |
| OtherPhone |
OtherPhone |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"occupantId": 1,
"firstName": "sample string 2",
"middleInitial": "sample string 3",
"lastName": "sample string 4",
"email": "sample string 5",
"unitPhone": "sample string 6",
"cellphone": "sample string 7",
"workPhone": "sample string 8",
"otherPhone": "sample string 9"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
This method has no specific response - It returns an empty success response if it completes without error.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.