Skip to main content
GET
/
timesheets
/
{timesheet_id}
Get a timesheet
curl --request GET \
  --url https://{base_url}/api/v1/timesheets/{timesheet_id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://{base_url}/api/v1/timesheets/{timesheet_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://{base_url}/api/v1/timesheets/{timesheet_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://{base_url}/api/v1/timesheets/{timesheet_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://{base_url}/api/v1/timesheets/{timesheet_id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://{base_url}/api/v1/timesheets/{timesheet_id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://{base_url}/api/v1/timesheets/{timesheet_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "__type": "SSJSON_API_PaginatedDataArray",
  "data": [
    {
      "__type": "SSJSON_API_Timesheet",
      "id": "2240_11417925",
      "approvedHours": null,
      "approvedPayroll": null,
      "casualJob": false,
      "clockIn": null,
      "clockOut": null,
      "contractedHoursId": "2924_294328",
      "date": "2026-04-21",
      "department": {
        "id": "2784_119",
        "name": "Deli"
      },
      "details": [
        {
          "id": "2759_52442232",
          "activity": "2760_183",
          "alternateDepartment": "",
          "alternateOrganisation": "",
          "finishTime": "2026-04-21T07:00:00.000Z",
          "hours": 6,
          "mealBreak": false,
          "restBreak": false,
          "startTime": "2026-04-21T01:00:00.000Z"
        }
      ],
      "employeeId": "2095_1144974",
      "finishTime": "2026-04-21T07:00:00.000Z",
      "hoursToPay": 6,
      "includesLeave": false,
      "organisationPayRollId": "2089_9531",
      "organisationWorkedId": "2089_9531",
      "overnight": false,
      "processed": null,
      "role": {
        "id": "2213_6559",
        "name": "Retail Assistant"
      },
      "shift": null,
      "startTime": "2026-04-21T01:00:00.000Z"
    }
  ],
  "pagination": {
    "nextPage": "",
    "page": 1,
    "pageSize": 1,
    "previousPage": "",
    "totalPages": 1,
    "totalRecords": 1
  }
}

Authorizations

Authorization
string
header
required

Access token obtained from /oauth/token. Pass as Authorization: Bearer {token}

Path Parameters

timesheet_id
string
required

The unique identifier of the timesheet to retrieve

Example:

"2240_11417925"

Response

A paginated envelope containing the single requested timesheet

__type
string

Internal type identifier

Example:

"SSJSON_API_PaginatedDataArray"

data
object[]

Array containing the single requested timesheet

pagination
object