Visitor Application API Documentation
accounts
api > adduser > create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
nin required | |
email required |
api > blacklistninlist > list
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
search | A search term. |
api > companyregistration > create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
username | |
email required | |
password required | |
nin |
api > companysendotp > create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
identifier required | Enter your username or email |
api > companyverifyotp > create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
identifier required | Enter your username or email |
api > ninlist > list
Query Parameters
The following parameters should be included as part of a URL query string.
| Parameter | Description |
|---|---|
search | A search term. |
api > subusers > viewset > create
ViewSet for SubUser CRUD operations
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
user required | |
username required | |
email required | |
password required | |
department required | |
is_active |
api > subusersendotp > create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
identifier required | Enter your username or email |
api > subuserverifyotp > create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
identifier required | Enter your username or email |
company
api > adddepartments > create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
name required | |
number_of_visitors | |
opening_time | |
closing_time | |
saturday | |
sunday | |
user required |
api > addpurpose > create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
purpose required | |
department required |
api > alldepartments > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
api > company > appointments > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
company_id required |
api > company > dashboard > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
user_id required |
api > company > purposeofvisitors > list
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
company_id required |
api > companyprofile > read
Retrieve, update or delete the company profile for the authenticated user.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
user_id required |
api > companyprofile > update
Retrieve, update or delete the company profile for the authenticated user.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
user_id required |
api > companyprofile > partial_update
Retrieve, update or delete the company profile for the authenticated user.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
user_id required |
api > companyprofile > delete
Retrieve, update or delete the company profile for the authenticated user.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
user_id required |
api > departmentpurpose > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
department_id required |
api > departments > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
api > departments > update
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
api > departments > delete
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
api > visitorpurposecompany > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
company > allpublicholidays > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
company_id required |
user
api > createappointment > create
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
user_id required |
api > createappointment > user > create
Generic class-based view for creating appointments
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
user_id required |
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
expecting_date | |
expecting_time | |
barcode | |
ref_code | |
check_in | |
check_out | |
confirm | |
declined | |
reasonForDecline | |
completed |
api > userprofile > partial_update
Retrieve, update or delete the company profile for the authenticated user.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |
api > userprofile > delete
Retrieve, update or delete the company profile for the authenticated user.
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
id required |