Back to TeamworkLatest activity (all projects)
Lists the latest activity across all projects ordered chronologically. When
you log into Teamwork you will see all the recent activity. This corresponds
to that view in Teamwork. There are parameters you can send in to filter your
results.
Input
type: object
properties:
parameters:
type: object
properties:
updatedAfter:
type: string
format: date-time
description: filter by updated after date
startDate:
type: string
format: date-time
description: filter by start datetime
sort:
type: string
description: sort by (deprecated, use orderBy)
projectStatus:
type: string
description: filter by project status
orderMode:
type: string
enum:
- asc
- desc
description: order mode
orderBy:
type: string
description: sort by
endDate:
type: string
format: date-time
description: filter by end datetime
projectId:
type: integer
description: filter by project id (deprecated, use projectIds)
pageSize:
type: integer
default: '50'
description: number of items in a page
page:
type: integer
default: '1'
description: page number
maxId:
type: integer
description: activity id offset
catchupFromId:
type: integer
description: limit results from previous id
showDeleted:
type: boolean
default: 'false'
description: include deleted items
onlyStarredProjects:
type: boolean
default: 'false'
description: filter by starred projects only
onlyProjectsWithExplicitMembership:
type: boolean
description: only projects with explicit membership
matchAllProjectTags:
type: boolean
description: enforce all tag ids must be matched
includeArchivedProjects:
type: boolean
description: include archived projects
groupCommentActivityType:
type: boolean
description: group all activities on comments
userIds:
type: array
items:
type: integer
description: filter by user ids
projectTagIds:
type: array
items:
type: integer
description: filter by project tag ids
projectStatuses:
type: array
items:
type: string
description: list of project status
projectOwnerIds:
type: array
items:
type: integer
description: filter by project owner ids
projectIds:
type: array
items:
type: integer
description: filter by project ids
projectHealths:
type: array
items:
type: integer
description: list of project health
projectCompanyIds:
type: array
items:
type: integer
description: filter by company ids
projectCategoryIds:
type: array
items:
type: integer
description: filter by project category ids
include:
type: array
items:
enum:
- projects
- users
- companies
type: string
description: include
fields[users]:
type: array
items:
enum:
- id
- firstName
- lastName
- title
- email
- companyId
- company
- isAdmin
- isClientUser
- isServiceAccount
- type
- deleted
- avatarUrl
- lengthOfDay
- workingHoursId
- workingHour
- userRate
- userCost
- canAddProjects
type: string
fields[projects]:
type: array
items:
enum:
- id
- name
type: string
fields[companies]:
type: array
items:
enum:
- id
- name
- logoUploadedToServer
- logoImage
type: string
fields[activities]:
type: array
items:
enum:
- id
- dateTime
- activityType
- latestActivityType
- itemId
- itemLink
- itemType
- itemDescription
- itemExtraDescription
- itemExtraLink
- itemPublicInfo
- forUserId
- forUserName
- dueDate
- isPrivate
- lockdownId
- projectId
- companyId
type: string
activityTypes:
type: array
items:
enum:
- task
- tasklist
- project
- message
- notebook
- milestone
- like
- file
- link
- billinginvoice
- task_comment
- milestone_comment
- file_comment
- link_comment
- comment
type: string
description: filter by activity types
title: Parameters
Output
type: object
title: ActivitiesResponse
properties:
activities:
type: array
items:
type: object
title: Activity
properties:
activityType:
type: string
company:
type: object
title: Relationship
properties:
id:
type: integer
meta:
type: object
type:
type: string
companyId:
type: integer
dateTime:
type: string
description:
type: string
dueDate:
type: string
extraDescription:
type: string
forUser:
type: object
title: Relationship
properties:
id:
type: integer
meta:
type: object
type:
type: string
forUserId:
type: integer
forUserName:
type: string
id:
type: integer
isPrivate:
type: integer
item:
type: object
title: Relationship
properties:
id:
type: integer
meta:
type: object
type:
type: string
itemId:
type: integer
itemLink:
type: string
latestActivityType:
type: string
link:
type: string
lockdown:
type: object
title: Relationship
properties:
id:
type: integer
meta:
type: object
type:
type: string
lockdownId:
type: integer
project:
type: object
title: Relationship
properties:
id:
type: integer
meta:
type: object
type:
type: string
projectId:
type: integer
publicInfo:
type: string
type:
type: string
user:
type: object
title: Relationship
properties:
id:
type: integer
meta:
type: object
type:
type: string
userId:
type: integer
included:
type: object
properties:
companies:
type: object
projects:
type: object
users:
type: object
meta:
type: object
title: Meta
properties:
averageSpend:
type: integer
limit:
type: integer
nextCursor:
type: string
page:
type: object
title: MetaPage
properties:
count:
type: integer
hasMore:
type: boolean
pageOffset:
type: integer
pageSize:
type: integer
prevCursor:
type: string
totalCapacity:
type: integer