Create desktop login log

POST /data/persons/{person_id}/desktop-login-logs

Add a new log entry for desktop logins for a person.

Path parameters

  • person_id string(uuid) Required

    Person unique identifier

application/json

Body Required

  • date string(date) Required

    Login date

Responses

  • 201 application/json

    Desktop login log entry created

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

      Log entry unique identifier

    • person_id string(uuid)

      Person unique identifier

    • date string(date-time)

      Login date and time

  • 400

    Invalid date format

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