GET
/
api
/
v3
/
userdates
curl --request GET \
  --url https://{account}-{sandboxName}.sandbox.{server}.luccasoftware.com/api/v3/userdates
{
  "data": {
    "items": [
      {
        "dtt": "07:00:00",
        "drt": "04:15:00",
        "draj": "03:30:00",
        "isHoliday": true,
        "isWeeklyRest": true,
        "items": [
          {
            "type": "ptt",
            "startsAt": "2023-11-07T05:31:56Z",
            "duration": "<string>",
            "timeline": "WorkCycle"
          }
        ],
        "am": {
          "dtt": "07:00:00",
          "drt": "04:15:00",
          "draj": "03:30:00",
          "isHoliday": true,
          "isWeeklyRest": true,
          "items": [
            {
              "type": "ptt",
              "startsAt": "2023-11-07T05:31:56Z",
              "duration": "<string>",
              "timeline": "WorkCycle"
            }
          ]
        },
        "pm": {
          "dtt": "07:00:00",
          "drt": "04:15:00",
          "draj": "03:30:00",
          "isHoliday": true,
          "isWeeklyRest": true,
          "items": [
            {
              "type": "ptt",
              "startsAt": "2023-11-07T05:31:56Z",
              "duration": "<string>",
              "timeline": "WorkCycle"
            }
          ]
        }
      }
    ]
  }
}

Query Parameters

ownerId
integer[]
required

User's identifiers.

date
string
required

The period over which working hours should be returned for given Users. Format: 'between,{start},{includedEnd}'.

fields
string[]

List of all fields to be returned by the server. Example: ?fields=ownerId,date,dtt,drt,draj, items[startsAt,duration,type,timeline

Response

200
application/json
OK
data
object