Skip to content

Fetch Visitor

GET
/api/v1/developer/visitors/{id}

Authorizations

bearerAuth
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required
Example"550e8400-e29b-41d4-a716-446655440000"

Responses

Visitor retrieved successfully

application/json
JSON
{
  
"code": "string",
  
"msg": "string",
  
"data": {
  
  
"id": "string",
  
  
"first_name": "string",
  
  
"last_name": "string",
  
  
"status": "string",
  
  
"inviter_id": "string",
  
  
"inviter_name": "string",
  
  
"mobile_phone": "string",
  
  
"remarks": "string",
  
  
"email": "string",
  
  
"visitor_company": "string",
  
  
"visit_reason": "string",
  
  
"start_time": 0,
  
  
"end_time": 0,
  
  
"nfc_cards": [
  
  
  
{
  
  
  
  
"id": "string",
  
  
  
  
"token": "string",
  
  
  
  
"type": "string"
  
  
  
}
  
  
],
  
  
"pin_code": {
  
  
  
"token": "string"
  
  
},
  
  
"schedule_id": "string",
  
  
"schedule": {
  
  
  
"name": "string",
  
  
  
"type": "string",
  
  
  
"week_schedule": {
  
  
  
  
"sunday": [
  
  
  
  
  
{
  
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
  
}
  
  
  
  
],
  
  
  
  
"monday": [
  
  
  
  
  
{
  
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
  
}
  
  
  
  
],
  
  
  
  
"tuesday": [
  
  
  
  
  
{
  
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
  
}
  
  
  
  
],
  
  
  
  
"wednesday": [
  
  
  
  
  
{
  
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
  
}
  
  
  
  
],
  
  
  
  
"thursday": [
  
  
  
  
  
{
  
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
  
}
  
  
  
  
],
  
  
  
  
"friday": [
  
  
  
  
  
{
  
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
  
}
  
  
  
  
],
  
  
  
  
"saturday": [
  
  
  
  
  
{
  
  
  
  
  
  
"start_time": "00:00:00",
  
  
  
  
  
  
"end_time": "23:59:59"
  
  
  
  
  
}
  
  
  
  
]
  
  
  
}
  
  
},
  
  
"resources": [
  
  
  
{
  
  
  
  
"id": "string",
  
  
  
  
"name": "string",
  
  
  
  
"type": "string"
  
  
  
}
  
  
],
  
  
"license_plates": [
  
  
  
{
  
  
  
  
"id": "string",
  
  
  
  
"credential": "string",
  
  
  
  
"credential_type": "license",
  
  
  
  
"credential_status": "string"
  
  
  
}
  
  
]
  
}
}

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI