/visits/currentGet current visit in progress
Base URL https://api.vseepreview.com/api_v3 · operationId getCurrentVisit
Authentication: User Token — Requires a user access token from login or SSO.
Get the visit that is currently in progress for the authenticated user
| Name | In | Type | Required | Enum | Default | Description |
|---|---|---|---|---|---|---|
X-ApiToken | header | string | yes | API token (e.g. your_api_token) |
200 — Current visit retrieved successfullyCurrent visit — Active visit in progress
{
"data": {
"id": "1504",
"member_id": "508",
"provider_id": "509",
"account_code": "fruitstreet",
"code": "56e7b1d2b90c4d68953e3d02ac1f0144",
"start": "1459973100",
"end": "1459974000",
"type": "2",
"status": "40",
"completed_by": "508",
"created": 1458024914,
"modified": 1458024914,
"intake": {
"provider": "509",
"reason_for_visit": "Test intake functionalities",
"type": "1",
"id": "56e7b104-ded0-4096-979b-395bac1f0144"
},
"provider": {
"id": "509",
"first_name": "Ligeng",
"last_name": "Doctor"
},
"member": {
"id": "508",
"first_name": "Ligeng",
"last_name": "01"
}
}
}
401 — Unauthorized{
"error": "Unauthorized",
"message": "Invalid or missing API token"
}
Machine-readable: OpenAPI JSON (operationId: getCurrentVisit)