Skip to main content
GET
Get an activity

Authorizations

Authorization
string
header
required

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

Path Parameters

activity_id
string
required

The unique identifier of the activity to retrieve

Example:

"2760_182"

Response

Activity details

id
string

The unique identifier for the activity

Example:

"2760_182"

costCentre
string

The cost centre associated with the activity. Empty string if not assigned.

Example:

""

isBreak
boolean

Whether this activity is classified as a break

Example:

false

isPaid
boolean

Whether this activity is paid

Example:

true

name
string

The display name of the activity

Example:

"Annual Leave"

payRollCodes
object[]

A list of payroll codes associated with this activity