v1

latestOpenAPI 3.0.22026-07-24154101.1 MB
Time Punches

Retrieve Time Punch

get/v2/company/{company_id}/time_punches/{time_punch_id}

Path parameters

company_idinteger required

Company ID

time_punch_idinteger required

Time punch ID

Headers

x-api-versionstring

An API version

Example:2022-05-01

7shifts API version

x-company-guidstring uuid

Company GUID

Response

OK

object'time_punch' required

Example response

{
  "data": {
    "clocked_in": "2020-01-20T12:00:00.000Z",
    "clocked_out": "2020-01-20T12:00:00.000Z",
    "pos_type": "web",
    "breaks": [
      {
        "in": "2020-01-20T12:00:00-0400",
        "out": "2020-01-20T12:00:00-0400"
      }
    ],
    "created": "2020-01-20T12:00:00.000Z",
    "modified": "2020-01-20T12:00:00.000Z"
  }
}