Create desktop login log

POST /data/user/desktop-login-logs

Create a desktop login log entry for the current user.

application/json

Body Required

  • date string(date)

    Login date

Responses

  • 201 application/json

    Desktop login log created successfully

    Hide response attributes Show response attributes object
    • id string(uuid)

      Login log unique identifier

    • person_id string(uuid)

      Person identifier

    • date string(date)

      Login date

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Last update timestamp

  • 400

    Bad request

POST /data/user/desktop-login-logs
curl \
 --request POST 'http://api.example.com/data/user/desktop-login-logs' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"date":"2023-01-01"}'
Request examples
{
  "date": "2023-01-01"
}
Response examples (201)
{
  "id": "a24a6ea4-ce75-4665-a070-57453082c25",
  "person_id": "b35b7fb5-df86-5776-b181-68564193d36",
  "date": "2023-01-01",
  "created_at": "2023-01-01T12:00:00Z",
  "updated_at": "2023-01-01T12:30:00Z"
}