PUT residentapi/visitors/{id}
Update a visitor
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
(Required) |
integer |
Required |
Body Parameters
VisitorUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| VisitorId |
Visitor Id |
integer |
Required |
| UnitId |
Connect Unit Id |
integer |
Required |
| PropertyId |
Connect Property Id |
integer |
Required |
| FirstName |
First Name |
string |
Required |
| LastName |
Last Name |
string |
Required |
| StartDate |
Start Date |
date |
Required |
| EndDate |
End Date |
date |
Required |
| Type |
Guest Type. Guest or Contractor |
string |
Required |
| AccessHoursKey |
Access Hours Key. AA, NA, BH, XH, WE |
string |
Required |
| Category |
Visitor category. Required for guests and must contain one of these (Permanent, Temporary, Overnight, OneTime, LongTerm). Contractors not required and can contain any value. |
string |
None. |
| VisitorOfResidentId |
Visitor Of Resident Id |
integer |
None. |
| CompanyName |
Company Name. Required if visitor type is contractor. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"visitorId": 1,
"unitId": 2,
"propertyId": 3,
"firstName": "sample string 4",
"lastName": "sample string 5",
"startDate": "2025-12-24T09:18:09.3221353-05:00",
"endDate": "2025-12-24T09:18:09.3221353-05:00",
"type": "sample string 6",
"accessHoursKey": "sample string 7",
"category": "sample string 8",
"visitorOfResidentId": 1,
"companyName": "sample string 9"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.