POST api/Visitor/Update?client={client}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| client | string |
Required |
Body Parameters
VisitorModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Company | string |
None. |
|
| Phone | string |
None. |
|
| Car | string |
None. |
|
| IdNo | string |
None. |
|
| Image | string |
None. |
|
| IsInBlackList | boolean |
None. |
|
| BlacklistReason | string |
None. |
|
| QuizTime | date |
None. |
|
| LastVisitTime | date |
None. |
|
| DriverType | integer |
None. |
|
| VisitorTags | string |
None. |
|
| MaximumAppointmentDays | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Company": "sample string 3",
"Phone": "sample string 4",
"Car": "sample string 5",
"IdNo": "sample string 6",
"Image": "sample string 7",
"IsInBlackList": true,
"BlacklistReason": "sample string 8",
"QuizTime": "2025-12-16 12:24:42",
"LastVisitTime": "2025-12-16 12:24:42",
"DriverType": 1,
"VisitorTags": "sample string 9",
"MaximumAppointmentDays": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1