Task activity

Read-only. Auto-logged change history. Written by the application, never by a caller.

The object#

FieldTypeDescription
idread-onlyintegerNolaPro id.
teamprojecttaskidintegerTeamprojecttaskid. Id only - teamprojecttask is read-only or has no code key.
teamprojectidintegerReference to teamprojects, by id. Write either this or teamproject.
teamprojectstring(30)Code for the referenced teamproject, instead of the id.
genuseridintegerGenuserid. Id only - genuser is read-only or has no code key.
actionstring(50)The code this resource is keyed by. Matching is case insensitive.
sourcestring(20)Where the change came from (screen or process that made it).
fieldnamestring(50)Field that changed.
oldvaluestring(255)Value before the change.
newvaluestring(255)Value after the change.
detailtextDetail. Stored as text, no practical length limit.
entrydatestringWhen the record was created.
cancelbooleanCancelled. NolaPro cancels rather than deletes, so a cancelled row is still readable.

Endpoints#

GET/teamprojectactivity 200403

List task activity.

Requires scope projects:read.

Parameters
NameInTypeNotes
genuseridquerystringRestrict to one genuserid.
cancelquerystringDefaults to false. Pass true or any.
teamprojectidquerystringFilter to one .
teamprojecttaskidquerystringFilter to one task.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
403insufficient_scopeToken lacks read scope.
curl \
  'https://acme.nolapro.com/!/api/v2/teamprojectactivity' \
  -H 'Authorization: Bearer $NP_TOKEN'
GET/teamprojectactivity/{id} 200404

Retrieve one record.

Requires scope projects:read.

Parameters
NameInTypeNotes
idrequiredpathintegerThe record id.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
404not_foundNo record with that id.
curl \
  'https://acme.nolapro.com/!/api/v2/teamprojectactivity/104' \
  -H 'Authorization: Bearer $NP_TOKEN'
Response 200
{
    "teamprojecttaskid": 104,
    "teamprojectid": 104,
    "teamproject": "Example teamproject",
    "action": "Example action",
    "source": "Example source",
    "fieldname": "Example fieldname"
}