> ## Documentation Index
> Fetch the complete documentation index at: https://openapi-docs.yidianting.cc/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Hotel & Office Visitors

> Automate guest parking privileges from hotel PMS check-in/check-out events and corporate visitor kiosks.

Hotels, serviced apartments, and Grade-A office towers can issue timed complimentary parking directly when a guest checks in or registers at reception.

## Lifecycle Flow

```mermaid theme={null}
sequenceDiagram
  autonumber
  participant PMS as "Hotel PMS / Visitor Kiosk"
  participant AKE as "AKE Parking API"

  PMS->>AKE: "POST /v1/visitors/create (credential, validFrom..validUntil)"
  AKE-->>PMS: "visitorId, status: SCHEDULED | ACTIVE, remainingEntries"
  Note over PMS,AKE: Guest enters and exits freely within validity window
  PMS->>AKE: "POST /v1/visitors/cancel (if booking cancelled or early check-out)"
  AKE-->>PMS: "status: CANCELLED"
```

## Best Practices

* **Pass normalized `credential` objects**: Pass `{ "type": "PLATE", "value": "WXY1234" }` (uppercase ASCII without spaces/hyphens) alongside `hostUnit` (room/suite identifier) so front-desk staff can filter via `POST /v1/visitors/list` using `hostUnit`.
* **Set `maxEntries` intentionally**: Pass `maxEntries: 1` for single-visit guests, or `maxEntries: null` for unlimited hotel stay re-entries during check-in through check-out.
* **Update on check-out**: Call `POST /v1/visitors/cancel` when a booking is cancelled or a guest checks out early so parking privileges end promptly.
* **Verify plate accuracy**: Reception staff can inspect active vehicles with `POST /v1/sessions/listActive` or correct OCR typos via `POST /v1/sessions/correctPlate`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.