---
title: "POST /attendance/logOn"
method: POST
path: "/attendance/logOn"
tags: ["attendance"]
---

# POST /attendance/logOn

`POST /attendance/logOn`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/attendance/logOn`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/attendance/logOn/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object

## Response `200`

logOn response

- object
  - `result` Attendance
    - `id` string
    - `version` string
    - `breaks` AttendanceBreak[]
      - `id` string
      - `version` string
      - `createdDate` integer
      - `endDate` integer
      - `lastModifiedDate` integer
      - `startDate` integer, required
    - `createdDate` integer
    - `employeeId` string, required
    - `endTime` integer
    - `lastModifiedDate` integer
    - `startTime` integer, required

## Other responses

- `default`: error response

## Changes

- **2022-12-03** `cc274ef79dfd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/attendance/logOn/post.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
